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

1
tests/a2a/__init__.py Normal file
View File

@@ -0,0 +1 @@
"""Tests for CrewAI A2A integration."""