Skip to content

Add standalone a2acli CLI#38

Merged
muscariello merged 1 commit intomainfrom
feat/37-standalone-cli
Apr 8, 2026
Merged

Add standalone a2acli CLI#38
muscariello merged 1 commit intomainfrom
feat/37-standalone-cli

Conversation

@muscariello
Copy link
Copy Markdown
Member

Closes #37

Summary

Adds a standalone A2A CLI as a new workspace crate, published as agntcy-a2acli and installed as the a2acli binary.

This PR includes:

  • fetching the public agent card and extended agent card
  • sending one-shot and streaming messages
  • getting, listing, canceling, and subscribing to tasks
  • creating, getting, listing, and deleting push notification configs
  • bearer-token and custom-header request propagation
  • workspace and crate documentation for install and usage
  • a changelog entry for the new package

Companion fixes included in this branch:

  • a2a-client now applies interceptor before/after hooks consistently around transport calls
  • agent-card and agent-skill securityRequirements deserialization now accepts wrapped spec-style shapes for compatibility

Validation

  • cargo test --workspace
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test -p agntcy-a2acli
  • LLVM_COV=$(xcrun --find llvm-cov) LLVM_PROFDATA=$(xcrun --find llvm-profdata) cargo llvm-cov -p agntcy-a2acli --summary-only

agntcy-a2acli coverage:

  • 95.63% region coverage
  • 98.95% line coverage

@muscariello muscariello requested a review from a team as a code owner April 7, 2026 22:49
@muscariello muscariello force-pushed the feat/37-standalone-cli branch from 484b600 to 06a39f0 Compare April 7, 2026 22:50
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 7, 2026

Codecov Report

❌ Patch coverage is 98.05037% with 24 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
a2a/src/agent_card.rs 83.52% 14 Missing ⚠️
a2acli/src/lib.rs 99.08% 9 Missing ⚠️
a2a-client/src/client.rs 99.30% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Signed-off-by: Luca Muscariello <muscariello@ieee.org>
@muscariello muscariello force-pushed the feat/37-standalone-cli branch from 06a39f0 to c6ee99c Compare April 7, 2026 23:00
@muscariello muscariello requested a review from micpapal April 7, 2026 23:08
@muscariello muscariello merged commit 4a14604 into main Apr 8, 2026
5 checks passed
@muscariello muscariello deleted the feat/37-standalone-cli branch April 8, 2026 10:13
@github-actions github-actions bot mentioned this pull request Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standalone CLI

3 participants