Current collected state Current
Observed since 20 Oct, 21:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
CLI tool for AG2 agent development with A2A protocol support
A CLI tool for building, running, and deploying A2A-compatible agents.
pip install ag2-cli
Or install from source:
git clone https://github.com/AG2Platform/ag2-cli.git
cd ag2-cli
pip install -e .
ag2 init my-agent
cd my-agent
ag2 build
ag2 run
ag2 run --native
ag2 auth login
ag2 register https://my-agent.example.com
ag2 auth login # Login to AgentOS
ag2 auth logout # Logout
ag2 auth whoami # Show current user
ag2 init [name] # Create new agent project
ag2 create file.yaml # Create agent from AgentFile
ag2 build [path] # Build agent Docker image
ag2 run [name] # Run agent in Docker container
ag2 stop <name> # Stop a running container
ag2 restart <name> # Restart a container
ag2 logs <name> # View container logs
ag2 ps # List running containers
ag2 rm <name> # Remove a container
ag2 rmi <name> # Remove an image
ag2 images # List built images
ag2 tag <src> <dst> # Tag an image
ag2 register <url> # Register running agent with AgentOS
ag2 agents # List your registered agents
ag2 list # List local agent images
ag2 call <url> "message" # Call any A2A agent
ag2 card show [path] # Display agent card (from path or Docker image)
ag2 card validate [path] # Validate A2A compliance
ag2 configure # Interactive configuration wizard
ag2 config show # Show current configuration
ag2 config set <k> <v> # Set configuration value
The agent.yaml file defines your agent:
name: "my-agent"
version: "1.0.0"
description: "My AI agent"
card:
provider: "my-org"
skills:
- name: "default"
description: "Default capability"
auth:
scheme: "bearer"
agent:
model: "gpt-4o"
system_prompt: |
You are a helpful assistant.
build:
python: "3.11"
dependencies:
- requests
deploy:
replicas: 2
memory: "1GB"
This CLI generates A2A-compatible agents that implement:
/.well-known/a2a/agent-card.jsonmake test # Run unit tests
make test-docker # Run Docker lifecycle tests
make test-all # Run all tests
make docs-install # Install documentation dependencies
make docs # Start local docs server
make docs-build # Build documentation
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.0a29 | 8 Feb 2026 | 20 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:cd4a761643f07576414373e99dba9280e0d03ddb0cdcd51a5efd61839280e1e9