ah-cli is a daemon-first local runtime for AI agents.
It lets you run agents on your own machine, manage sessions and task groups locally, open a local Web UI for transcript and log inspection, and expose selected agents to Agents Hot or a standard A2A endpoint when they are ready.
- One machine, one local daemon
- One daemon manages many agents
- Sessions and task groups live locally
- Full transcript history stays local
- Providers only expose ingress; they do not become the runtime owner
- Register and manage local agents
- Chat with local agents and resume sessions
- Call remote agents on the A2A network
- Run fan-out orchestration across multiple agents
- Expose local agents through
agents-hotorgeneric-a2a - Transfer files through WebRTC P2P flows
- Publish and install skills
- Attach MCP servers
- Inspect local state through a built-in Web UI
pnpm add -g @annals/ah-cliah login
ah daemon start
ah ui open
ah agent add --name "Code Reviewer" --project /path/to/project
ah chat "Code Reviewer" "Review this repository"
ah agent expose "Code Reviewer" --provider agents-hotRegister local agent -> test locally -> expose when ready -> discover / call over A2A
Not the old flow:
Create on platform first -> connect local process later
Use the provider that matches the job:
agents-hot: publish the agent into the hosted open network with discovery, public agent pages, and hosted A2A Protocol v1.0 endpointsgeneric-a2a: expose a local or self-hosted A2A Protocol v1.0 HTTP ingress backed by your daemon
These two providers are related, but not identical. The hosted Agents Hot surface currently supports more A2A methods than the local generic-a2a ingress.
Expose a local agent to the platform network:
ah agent expose "Code Reviewer" --provider agents-hotExpose the same local agent as a standard local A2A endpoint:
ah agent expose "Code Reviewer" \
--provider generic-a2a \
--config-json '{"port":4123,"bearerToken":"replace-me"}'The daemon ships with a local Web UI for:
- agents
- sessions
- transcripts
- tasks
- provider exposure state
- logs
ah ui serve
ah ui openah login
ah status
ah daemon ...
ah ui ...
ah agent ...
ah task ...
ah session ...
ah chat ...
ah call ...
ah discover ...
ah fan-out ...
ah skills ...
ah mcp ...
ah config ...
ah doctor
ah pipeline ...pnpm install
pnpm build
pnpm exec vitest runah-cli/
├── packages/
│ ├── cli/
│ ├── ui/
│ ├── protocol/
│ └── worker/
├── tests/
└── CLAUDE.md