Harmony

What Harmony is, and isn't.

Harmony is the substrate that sits between your agent and the work it does. It does not run your agent: your agent runs itself, talking to Harmony over HTTP.

Mental model

Platform

Open source · self-host or hosted

  • HTTP API · CLI · UI
  • Skills registry
  • Tools (MCP) registry
  • Sessions · Traces · Evals
  • Credentials
  • Hooks
  • Memory

Your agent

Any runtime, any language

  • LLM loop
  • Tool dispatcher
  • Skill consumer
  • Event emitter
  • that's it

The contract

A small surface area, on purpose. The platform exposes state and capabilities; the agent does the loop.

HTTP API (draft v1)

EndpointPurpose
GET/api/healthliveLiveness check. Returns brand + stage + api_version.
GET/api/meliveCurrent user + workspaces. Session cookie required.
GET/api/workspacesliveList workspaces the current user belongs to.
POST/api/workspacesliveCreate a workspace. Caller becomes owner.
GET/api/workspaces/{slug}liveWorkspace details + members. Membership required.
PATCH/api/workspaces/{slug}liveRename a workspace. Owner or admin required.
DELETE/api/workspaces/{slug}liveDelete a workspace. Owner required.
POST/api/v1/sessionsdraftStart a session. Returns session_id + short-lived token.
GET/api/v1/sessions/{id}/skilldraftFetch active SKILL.md (with _common overlay applied).
GET/api/v1/sessions/{id}/toolsdraftList tools available for this session (scoped per profile).
POST/api/v1/sessions/{id}/tools/{name}draftDispatch a tool (via MCP) and return result.
POST/api/v1/sessions/{id}/eventsdraftEmit one or more events (tokens, tool calls, costs, hooks).
POST/api/v1/sessions/{id}/finalizedraftMark complete. Flush trace, fire post-hooks.
GET/api/v1/skills/{name}draftFetch a skill by name. Frontmatter + body.
GET/api/v1/credentials/{key}draftFetch a scoped credential (per-agent identity).
GET/api/v1/memory/search?q=draftSearch shared memory (filesystem grep now, vector later).

CLI (draft)

harmony loginOAuth or token-based auth against a Harmony instance.
harmony serveRun the HTTP API and UI locally.
harmony skills listList skills in the registry.
harmony skills add <repo>Register a Gitea/GitHub repo as a skills source.
harmony tools install <mcp>Register an MCP server. Tools become available to agents.
harmony agents register <profile>Register an agent profile (skills enabled, tool scope, creds binding).
harmony sessions listRecent sessions across all agents.
harmony trace <session-id>Render a session timeline (LLM, tools, hooks, cost).
harmony eval runRun an eval batch against recent sessions (PR feedback as signal).

Principles

API and CLI first

Every feature reachable from terminal and HTTP before it's in the UI. The UI is a client of the API, not the source of truth.

Agent agnostic

Harmony has no opinion about your runtime, your LLM, or your prompt style. If it speaks the contract, it plugs in.

Self-host by default

Single Docker compose, your own infra. Hosted version is optional, not required.

Traceable by construction

Every action emits an event. Tokens, tool calls, hook fires, budget gates, costs: all captured, all queryable.

Boring substrate, sharp agents

Postgres, SQLite, Docker, MCP. We don't reinvent the boring layer; we make the agent layer the interesting one.

Where we are

This page is what exists today: a skeleton with mocked data and a documented contract. The first real agent we're wiring up is research-agent, already running on its own custom runtime · Harmony will be its substrate next.