Interoperable agents, testable by design

Full A2A protocol support for building interoperable multi-agent systems. JSON-RPC and REST bindings, Agent Cards, Tasks, Streaming, Multi-tenancy - all testable, all type-safe.

Highlights

icon

Complete
Protocol

Full A2A spec support with both JSON-RPC and REST protocol bindings. Agent Cards, Tasks, Messages, Artifacts, Streaming, Push Notifications, and multi-turn conversations - all from a single server definition.

icon

Agent
Connectivity

Type-safe A2A clients for both JSON-RPC and REST bindings. Plug your agent straight into Claude Desktop, Cursor, or any MCP client via the provided bridge.

icon

Testable
Design

Pure functions, no side effects. Test agent interactions fully in-memory - no network, no ports, no flaky CI.

icon

Agent
Discovery

Agent Cards for capability advertisement and discovery. Extended Agent Cards for authenticated access. Publish skills, security schemes, and JWS signatures for card integrity.

icon

Task
Lifecycle

Full task state management with pagination and filtering. Push notifications via webhooks for status changes. Long-running agent collaboration built in.

icon

Streaming

Real-time SSE streaming for large outputs and continuous updates. Subscribe to task updates for live status changes. Progressive results without polling.

icon

Multi-tenancy

First-class tenant isolation across tasks, storage, and routing. Build multi-tenant agent platforms with tenant-scoped task storage and protocol endpoints.

icon

Wiretap
Integration

Built-in Wiretap support for A2A servers. Intercept JUnit extension. Wiretap Console for live traffic monitoring and OpenTelemetry tracing across agent interactions.

Getting started with Agent2Agent in http4k

Step 1 - Define agent capabilities with type-safe Agent Cards and Skills

Define Agent Cards

Step 2 - Handle tasks and messages with pure, testable functions

Handle tasks

Step 3 - Test in-memory - no server, no ports, no flaky CI

Test in-memory

Step 4 - Connect to other agents using the pure Kotlin A2A Client

Connect to agents

License

http4k A2A (Agent2Agent Protocol) is available under the http4k Commercial License. Free usage is granted for qualifying small businesses (<$1m ARR), non-commercial, non-profit, and research activities.

Pricing

All http4k Pro modules are also automatically included as part of the Enterprise Edition. Need bulk developer seats, team licensing, or custom terms? Get in touch and we'll find the right fit - whether that's volume licensing for individual Pro modules or our full Enterprise Edition with LTS support and priority access to all Pro modules.

Let's talk

Contact us
pumb
scarf