Skip to content
reaatechREAATECH

reaatech/a2a-reference-ts

0Last commit: Jun 4, 2026GitHub →

These packages give you a complete TypeScript implementation of the Agent-to-Agent (A2A) protocol — server framework, client SDK, CLI scaffolding, and a bidirectional A2A ↔ MCP bridge — so you can build AI agents that discover each other, exchange messages, and manage task lifecycles. You would adopt them to avoid writing protocol boilerplate and to get production-ready infrastructure for authentication (OAuth2, JWT, API key, mTLS), persistence (in-memory, filesystem, Redis, PostgreSQL), push notifications, rate limiting, and OpenTelemetry observability out of the box. The most distinctive thing is that every package shares canonical Zod schemas from the core package, so types, validation, and error handling are consistent across server, client, auth, persistence, and the MCP bridge — and you can swap server adapters (Express 5 or Hono) and task stores without changing your agent logic.

Packages

8 packages

@reaatech/a2a-reference-auth

v0.2.0
Pluggable authentication and authorization strategies for A2A agents, providing `NoneStrategy`, `ApiKeyStrategy`, `JwtStrategy`, and `OAuth2Strategy` classes plus a `extractScopes` utility function. Designed for use with the A2A agent framework.
status
published
published
9 days ago

@reaatech/a2a-reference-cli

v0.2.0
Description pending.
status
published
published
9 days ago

@reaatech/a2a-reference-client

v0.1.1
A type-safe A2A client SDK that provides a class (`A2AClient`) for task submission, agent discovery, and SSE streaming against A2A-compatible servers. It handles agent card caching, retries with exponential backoff, and supports both synchronous task management and async event streaming via `sendSubscribe`.
status
published
published
9 days ago

@reaatech/a2a-reference-core

v0.2.0
Zod schemas, TypeScript types, error classes, and a signature verification function for the A2A (Agent-to-Agent) protocol, providing canonical validation and parsing for task lifecycle messages, agent cards, and security schemes.
status
published
published
9 days ago

@reaatech/a2a-reference-mcp-bridge

v0.1.2
A bidirectional protocol adapter that exposes MCP tools as A2A skills via `McpToolAdapter` (producing an enriched Agent Card), and wraps an A2A agent as an MCP server via `A2aAsMcpServer` (starting a stdio or SSE transport).
status
published
published
9 days ago

@reaatech/a2a-reference-observability

v0.2.0
Pino-based structured logging with correlation IDs and OpenTelemetry abstractions (tracers, meters, spans) for A2A agents, providing `createLogger`, `withCorrelationId`, `getTracer`, `getMeter`, and `withTaskSpan` functions with no-op defaults that can be replaced by a custom `TelemetryProvider`.
status
published
published
9 days ago

@reaatech/a2a-reference-persistence

v0.2.0
Provides in-memory, filesystem, Redis, and Postgres implementations of a `TaskStore` interface for persisting A2A (Agent-to-Agent) tasks, each exposed as a class constructor.
status
published
published
9 days ago

@reaatech/a2a-reference-server

v0.2.0
A server framework that implements the A2A (Agent-to-Agent) protocol, providing Express 5 and Hono adapters that expose JSON-RPC 2.0 endpoints, SSE streaming, health checks, rate limiting, and push notifications for agent communication.
status
published
published
9 days ago

Comments

Sign in with GitHub to comment and vote.

Loading comments…