Documentation
Hangar docs.
Endpoint reference, MCP guide, runtime architecture, billing model, and a full agent-discovery index.
Get started
- Quickstart
Deploy your first agent in 60 seconds.
- Authentication
Sessions, Personal Access Tokens, and scope-restricted bearers.
- Runtimes (OpenClaw + Hermes)
Two runtimes, one platform. Adapter pattern.
Build with Hangar
- REST API reference
Endpoint-by-endpoint walkthrough with curl + Node + Python examples.
- OpenAPI spec
OpenAPI 3.1, machine-readable. Mirror at /api/openapi.json.
- MCP server
Streamable HTTP MCP at /api/mcp. Claude / Cursor / generic clients.
- Rate limits
X-RateLimit-* headers and Retry-After backoff.
- Error catalog
Stable codes, retry hints, and recovery patterns.
- Webhooks
Inbound channels (Telegram, Discord, Slack, billing).
Operate Hangar
- Billing & wallet
Subscription model, wallet ledger, top-ups, refunds.
- Self-host
Run Hangar on your own Postgres + Fly account.
- Architecture
High-level design, data flow, isolation guarantees.
For agents
- AGENTS.md
Repo-level agent instructions for AI coding tools.
- SKILL.md
Skills.sh-format skill manifest.
- /llms.txt
Plain-text agent index per the llmstxt.org spec.
- /llms-full.txt
Single-request long-form context dump.
- /.well-known/agent-card.json
A2A agent card for cross-agent handoffs.
- /.well-known/mcp
MCP discovery handshake.
- /.well-known/oauth-protected-resource
RFC 9728 protected-resource metadata.
- /.well-known/api-catalog
RFC 9727 linkset of API descriptions.
Markdown alternates
Hangar serves a markdown view of every public page when you send Accept: text/markdown. Permalinks:
- /index.md — homepage
- /pricing.md — pricing
- /llms.txt — agent index (plain text)
- /llms-full.txt — long-form context (plain text)