Skip to content

the-artinet-project/chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website npm version npm downloads Apache License Known Vulnerabilities GitHub stars Discord

@artinet/ask

A light-weight/minimalist commandline client for connecting to local and remote Agent2Agent (A2A) Servers.

lchat.mp4

Installation

npm install -g @artinet/ask

Usage

# 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 dev

License

Apache-2.0

About

An A2A client wrapped in a light-weight commandline chat app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published