feat: Add Cisco Agent Connect Protocol (ACP) support - Triple Protocol Framework #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: Add Cisco Agent Connect Protocol (ACP) support - Triple Protocol Framework
Summary
This PR adds comprehensive support for Cisco's Agent Connect Protocol (ACP) to the a2ajava framework, making it the first Java framework to support all three major agent protocols: A2A (JSON-RPC), MCP (JSON-RPC), and ACP (REST).
Key additions:
/acp/*routes)The implementation leverages existing
@Agent/@Actionannotations, so developers can write agents once and have them work across all three protocols automatically.Review & Testing Checklist for Human
🔴 HIGH PRIORITY (3 items)
ACP Specification Compliance: Verify REST endpoints and domain models match the official Cisco ACP specification. The implementation follows my understanding but needs validation against real ACP clients.
Integration Testing: Test with actual ACP clients to ensure real-world compatibility. Current tests use mocks extensively and may miss integration issues.
Backward Compatibility: Run comprehensive tests to ensure existing A2A and MCP functionality works unchanged. While tests pass, the addition of Spring Web dependencies could have side effects.
Test Plan Recommendations:
/acp/agents/search,/acp/runs, etc.)@Agent/@Actionimplementations work correctly via A2A JSON-RPC, MCP, and ACP REST callsNotes