Skip to main content

Authentication

API Keys

Generate API keys from Settings > Integration > Agent API in the GUI. Each key is prefixed with sk-myrm- and the plaintext is only shown once at creation time.

Usage

Include the key in the Authorization header:

Key Management

OpenAI Compatible API

Myrm exposes an OpenAI-compatible Agent API at /v1. External tools call configured agents (memory, tools, skills) — not raw LLM forwarding:

Agent API vs LLM proxy

  • Agent API (Myrm /v1): model is an agent ID or "default" → full Agent execution engine.
  • LLM proxy (Cursor/Codex): cross-provider raw LLM routing is out of scope for Myrm — use a separate external LLM gateway.

Interactive API Docs (Swagger UI)

Visit http://localhost:8080/docs to explore the full API in an interactive Swagger UI. After authorizing, every Try it out → Execute call includes the Authorization: Bearer <key> header automatically. Lock icons next to each endpoint indicate whether credentials are active. ReDoc is also available at http://localhost:8080/redoc.

Token Rotation

Keys can be revoked or deleted at any time from the API Keys settings page. Revoked keys are immediately rejected.