@artinet/ask
v0.1.6
Published
A lightweight command-line chat client for connecting to A2A Servers.
Maintainers
Readme
A light-weight/minimalist commandline client for connecting to local and remote Agent2Agent (A2A) Servers.
https://github.com/user-attachments/assets/71e25f02-da97-470f-a5e4-19096b165e7b
Installation
npm install -g @artinet/askUsage
# Connect to the default endpoint (http://localhost:3000/a2a)
ask
# Connect to a custom endpoint
ask -e https://your-agent.com/api
# Send a single message
ask -m <message>
# View agent card
ask -c
# Enable verbose output
ask -v
# Continue with an existing conversation
ask -t <taskId>The client expects the AgentCard to be served at /.well-known/agent-card.json
Options
-m, --message- Send a single message to the agent and recieve a response-e, --endpoint <endpoint>- Set the A2A endpoint-v, --verbose- Enable verbose output with detailed status updates-t, --task <taskId>- Continue an existing conversation-c, --card- Show the agent card and exit
Development
npm install
npm run build
npm run devLicense
Apache-2.0
