feat: Add A2A (Agent-to-Agent) protocol support for remote interoperability

- Implement CrewAgentExecutor class that wraps CrewAI crews as A2A-compatible agents
- Add server utilities for starting A2A servers with crews
- Include comprehensive test coverage for all A2A functionality
- Add optional dependency group 'a2a' in pyproject.toml
- Expose A2A classes in main CrewAI module with graceful import handling
- Add documentation and examples for A2A integration
- Support bidirectional agent communication via A2A protocol
- Enable crews to participate in remote agent networks

Fixes #2970

Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
Devin AI
2025-06-06 23:34:27 +00:00
parent 21d063a46c
commit 78b9c7dbeb
11 changed files with 1133 additions and 2 deletions

View File

@@ -65,8 +65,8 @@ mem0 = ["mem0ai>=0.1.94"]
docling = [
"docling>=2.12.0",
]
aisuite = [
"aisuite>=0.1.10",
a2a = [
"a2a-sdk>=0.0.1",
]
[tool.uv]