A2a Register
by @thearchitectit
Register, deregister, and manage this OpenClaw instance as an A2A agent in the A2A API Gateway. Use when: (1) registering this instance so other agents can d...
All scripts read from a shared a2a.conf file (located in the a2a-client skill directory). The gateway URL must be configured β there are no hardcoded defaults.
Priority order: CLI flags β env vars β a2a.conf β auto-detected defaults
| Setting | Auto-detected Default | Description |
|---------|-----------------------|-------------|
| Gateway URL | *none β required* | A2A API Gateway URL (A2A_GATEWAY_URL) |
| Agent Name | hostname -s (lowercase) | Display name (AGENT_NAME) |
| Agent Slug | hostname -s (lowercase) | URL-safe identifier (AGENT_SLUG) |
| Agent URL | http://{Tailscale IP}:{port} | Agent endpoint (AGENT_URL) |
| Capabilities | chat,code,research | Comma-separated (AGENT_CAPABILITIES) |
| Auth Type | bearer | Auth method (AGENT_AUTH_TYPE) |
| API Key | *empty* | For listener auth (A2A_GATEWAY_API_KEY) |
Quick Setup
# Interactive setup β creates a2a.conf for you
./a2a-setup.shNon-interactive (env vars required)
A2A_GATEWAY_URL=http://GATEWAY_IP:8090 A2A_GATEWAY_API_KEY=your-key ./a2a-setup.sh --non-interactive
clawhub install a2a-register