Package Exports
- agent-chat-cli
- agent-chat-cli/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (agent-chat-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
agent-chat-cli
A minimal terminal chat client for A2A and AG-UI protocol agents.
Install
npm install -g agent-chat-cliOr run directly with npx:
npx agent-chat-cli a2a
npx agent-chat-cli aguiUsage
agent-chat-cli <a2a|agui> [url]A2A Protocol
Chat with an Agent-to-Agent (A2A) compatible agent:
# Default: http://localhost:9000
agent-chat-cli a2a
# Custom URL
agent-chat-cli a2a http://my-agent:9000Example session:
┌ Agent Chat CLI
│
◇ Connected to MyAgent
│
● A Strands Agent exposed via the Agent-to-Agent (A2A) protocol.
│
◇ You → MyAgent
│ what is 5 times 3?
│
🤖 5 × 3 = 15! ✨
│
◇ You → MyAgent
│ and that plus 7?
│
🤖 15 + 7 = 22! 🔮AG-UI Protocol
Chat with an AG-UI compatible agent:
# Default: http://localhost:8000
agent-chat-cli agui
# Custom URL
agent-chat-cli agui http://my-agent:8000Example session with tool calls:
┌ Agent Chat CLI
│
◇ Connected to AG-UI Agent
│
● Connected to http://localhost:8000
│
◇ You → AG-UI Agent
│ what is 999 - 23?
│
🤖 Let me consult my spellbook! 🧙♂️✨
│ 🔧 Tool: subtract({"a": 999, "b": 23}) → 976
│ The result is **976**! 🔮License
MIT