Skip to content
reaatechREAATECH

reaatech/agent-handoff-protocol

0Last commit: May 11, 2026GitHub →

These packages provide a standardized lifecycle for transferring AI agent conversations, including context compression, intelligent routing, and transport delivery. You would adopt them to manage complex multi-agent workflows where sessions must move between specialized agents based on capability, load, and availability. The system is built as a modular, transport-agnostic protocol that allows you to swap compression strategies, routing logic, and transport layers like MCP or HTTP independently.

Packages

6 packages

@reaatech/agent-handoff

v0.1.0
Provides the core TypeScript definitions, error classes, and utility functions required to implement the Agent Handoff Protocol. It exports a set of interfaces, a typed event emitter, and retry logic to standardize data structures and communication across agent handoff systems.
status
published
published
7 days ago

@reaatech/agent-handoff-compression

v0.1.0
Reduces conversation history into a condensed format using sliding window, extractive summary, or hybrid strategies to fit within specific token budgets. It provides a set of compressor classes that implement the `ContextCompressor` interface from `@reaatech/agent-handoff` and supports custom token counting logic.
status
published
published
7 days ago

@reaatech/agent-handoff-protocol

v0.1.0
Orchestrates the transfer of conversation state between AI agents using a `HandoffManager` class that handles context compression, routing logic, and transport delivery. It provides a lifecycle event system and supports multiple transport protocols, including MCP and HTTP, to manage agent-to-agent handoffs.
status
published
published
7 days ago

@reaatech/agent-handoff-routing

v0.1.0
Selects the optimal agent for a handoff using a weighted scoring algorithm that evaluates skills, domain expertise, load, and language. It provides a `CapabilityBasedRouter` class and an `AgentRegistry` that implement the `HandoffRouter` interface from the `@reaatech/agent-handoff` package.
status
published
published
7 days ago

@reaatech/agent-handoff-transport

v0.1.0
Provides transport layer implementations for agent-to-agent handoffs via MCP tool calls or HTTP POST requests. It includes a factory class that performs health checks and auto-selects the highest-priority transport based on agent capabilities.
status
published
published
7 days ago

@reaatech/agent-handoff-validation

v0.1.0
Validates Agent Handoff Protocol payloads and agent compatibility using a `HandoffValidator` class or standalone manual functions. It optionally integrates with Zod for schema enforcement, falling back to manual validation if Zod is not installed.
status
published
published
7 days ago

Comments

Sign in with GitHub to comment and vote.

Loading comments…