About cli-a2a
cli-a2a is a command-line interface for interacting with the OmniRoute A2A server, aimed at developers who submit tasks or inspect execution history. It also exposes server and skill status and supports interactive testing of the JSON-RPC 2.0 agent-to-agent protocol.
Key features
- 01Inspect A2A server status
- 02Print Agent Card JSON
- 03Invoke skills and submit tasks
- 04List, cancel, and watch tasks
- 05View task logs and streams
Use cases
- 01Submit tasks to an A2A server from the CLI
- 02Inspect skill execution history
- 03Test the agent-to-agent protocol interactively
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ cheaper-inference/ omniroute --skill cli-a2aAfter installing, type/cli-a2ain Claude Code to confirm it loaded.
Details
From the project READMEOverview
Interact with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0 agent-to-agent protocol interactively.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
a2a
Agent-to-Agent (A2A) server
Example:
omniroute a2a
a2a status
Show A2A server status
Flags:
--json
Example:
omniroute a2a status
a2a card
Print the Agent Card JSON
Example:
omniroute a2a card
a2a skills
Example:
omniroute a2a skills
a2a invoke <skill>
Flags:
--input <json>--input-file <path>--wait--timeout <ms>
Example:
omniroute a2a invoke <skill>
a2a tasks
Example:
omniroute a2a tasks
a2a list
Flags:
--status <s>--skill <s>--limit <n>--since <ts>
Example:
omniroute a2a list
a2a get <id>
Example:
omniroute a2a get <id>
a2a cancel <id>
Flags:
--yes
Example:
omniroute a2a cancel <id>
a2a watch <id>
Example:
omniroute a2a watch <id>
a2a stream <id>
Example:
omniroute a2a stream <id>
a2a logs <id>
Example:
omniroute a2a logs <id>
Comments
Markdown supported