a2a-laravel brings Agent2Agent protocol to PHP
tibor-src launched a2a-php and a2a-laravel, open-source SDKs bringing the Linux Foundation's Agent2Agent (A2A) protocol to PHP 8.5+ and Laravel. The packages expose Laravel AI agents via Route::a2a() and consume remote agents as native tools while passing the official A2A conformance test suite.
While Python and TypeScript dominate agent frameworks, bringing A2A to PHP provides Laravel's massive enterprise ecosystem immediate access to horizontal multi-agent interoperability. It demonstrates that open agent collaboration protocols are expanding into mainstream web backends.
- –Single-line routing (Route::a2a()) serves Laravel AI agents over JSON-RPC, HTTP+JSON, and SSE streaming with automatic agent card generation
- –Passes 81/81 MUST and 9/9 SHOULD test cases in the official a2a-tck specification suite across both synchronous and queued execution modes
- –Enables bi-directional collaboration by wrapping remote A2A agents as native Laravel AI tools with A2A::tool()
- –Integrates directly with Laravel queues, Horizon, and Sanctum/Passport authentication for capability-based authorization and rate limiting
- –Complements tool-level protocols like MCP by handling horizontal agent-to-agent delegation and task lifecycles
DISCOVERED
5h ago
2026-11-20
PUBLISHED
6h ago
2026-11-20
RELEVANCE
AUTHOR
tibor_tee