Harmony documentation
Harmony is an open-source platform for agents. You bring your runtime — Claude Code, Claude Agent SDK, OpenClaw, your own Python or TypeScript — and Harmony provides the substrate: skills, tools, credentials, sessions, traces, evals, and hooks, over a single HTTP API.
This documentation reflects the current state of the platform. Live endpoints have full reference. Draft sections describe the intended contract — they're scaffolded but not yet implemented.
What's live today
- Authentication — sign in with email magic link (Google / Microsoft / GitHub coming as soon as OAuth secrets are provisioned). Browser session cookie authenticates every API request.
- Workspaces — create, list, rename, delete. Owner / admin / member roles.
- Skills, agents, tools — versioned resources under
/api/v1/workspaces/{slug}/…, with idempotent creation. - Sessions — workspace-scoped: start with
POST /api/v1/workspaces/{slug}/sessions, read withGET /api/v1/sessions/{id}, follow live via the SSE stream at/api/v1/sessions/{id}/stream. - Threads / conversations — persisted conversation model (Decision 0016).
- Triggers — inbound webhooks that start sessions (Decision 0017).
- Credentials vault — encrypted per-workspace secrets.
- MCP tool dispatch — tools backed by MCP servers, dispatched at run time.
- Compute providers — SSH and Hetzner.
- LLM providers — bring your own model keys.
- Deploy to Hetzner — deploy an agent and chat with the deployed instance.
- Trace viewer — inspect what a session did.
What's drafted
- Outbound webhook delivery — emitting session lifecycle events to your endpoints.
- Eval runner (Decision 0015).
- OAuth-based MCP servers — MCP servers that authenticate via OAuth.
- CLI — the
harmonybinary that wraps the same HTTP API. - Generative UI (Decision 0012).
- Programmatic auth — bearer / API-key authentication (no endpoint accepts a bearer token yet, and key minting isn't wired).
- Sub-agents (Decision 0018).
- Sandbox providers (Decision 0019).
Conventions
- Base URL:
https://platform.groupany.ai - All responses are
application/jsonunless stated otherwise. - Errors follow
{ "error": "<code>", "details"?: ... }with appropriate HTTP status. - Time fields are ISO-8601 UTC strings.
- IDs are CUIDs (~25 chars,
c***-prefixed). Slugs are lowercase-with-hyphens.
Next
- API reference — start here for the live endpoints
- Database model — the schema behind everything
- Decision 0006 — why this exists