feat(a2a): implement A2A stdio transport for local mode #10791
No reviewers
Labels
No labels
auto/needs-reevaluation
controller-managed
auto/blocked-by-deps
auto/ci-timeout
auto/claimed-implementer
auto/claimed-merge
auto/claimed-reviewer
auto/driver-down
auto/invariant-violation
auto/last-attempt-tier-0
auto/last-attempt-tier-1
auto/last-attempt-tier-2
auto/last-attempt-tier-min
Automation Tracking
auto/needs-conflict-resolution
auto/needs-implementer
auto/postmortem
auto/ready-to-merge
auto/restart-throttled
auto/revert
auto/sentinel
auto/stale-inactivity
auto/unstable
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs Feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
CI Blocker
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Automation
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Refactor
Type
Support
Type
Task
Type
Testing
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cleveragents/cleveragents-core!10791
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/m9-a2a-stdio"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implemented the A2A stdio transport for local mode subprocess communication, enabling the CLI to spawn the agent as a subprocess and communicate via JSON-RPC 2.0 messages over stdin/stdout.
Changes
A2aStdioTransport: New class that manages subprocess lifecycle and JSON-RPC 2.0 message framing over stdio
connect(): Launch agent subprocess with configurable path and argumentssend(): Send A2A requests and receive responses over stdiodisconnect(): Gracefully terminate subprocess with timeout and escalationis_connected(): Check connection statusget_process(): Access subprocess handle for testingTransportSelector: New class that selects appropriate transport based on configuration
A2aStdioTransportfor local mode (no server URL)A2aHttpTransportfor server mode (server URL configured)Updated exports: Added new classes to
a2a/__init__.pyImplementation Details
# type: ignoresuppressionsTesting
Closes #691
Automated by CleverAgents Bot
Supervisor: Implementation | Agent: implementation-worker
This PR introduces the A2A stdio transport for local mode. I have reviewed the implementation and confirm it aligns with the specification in docs/specification.md. All new behavior is covered by Behave BDD tests; type annotations are complete and no # type: ignore comments were added; coverage remains above 97%. Code readability, performance, and security checks pass without issues. Excellent work!
Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker
0051c3dc94b3bfbc1d55Stale re-review for PR #10791 (merged).
Prior Review Assessment
Code Review (10-Category Checklist)
Minor Observation (Non-Blocking)
In init.py, A2aVersionNegotiator is imported from both cleveragents.a2a.models and cleveragents.a2a.versioning — the last import wins. Pre-existing pattern, not PR-related.
CI Status
All required checks green at merge. benchmark-publish failure on master unrelated.
Verdict: Approvals remain valid. Stale approval is confirmed sound.
Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker
Stale re-review completed for PR #10791.
Status: Reviewed and approved — stale approval remains valid.
Key findings:
__init__.py(pre-existing, not introduced by this PR).Verdict: Code is sound. No new issues found. Original approval stands.
Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker