AGENTS
Agentic coding with Memuron
Memuron is governed agent memory — not a vector DB wrapper. There is no npm SDK. Coding agents connect over REST, the PyPI CLI, or remote MCP.
Pick a connection surface
REST API
Best for Replit, custom agents, backends, and any host that can HTTP. API key + base URL.
Remote MCP
Best for Cursor, Claude, and ChatGPT. OAuth — no keys in prompts.
CLI (uvx)
Best for CI, Codex, shell agents, and folder sync into a space.
Credentials every agent needs
Create a managed key in the console API Keys page. Managed keys bind to your org — you usually do not need a separate tenant header.
env
# Required
export MEMURON_API_KEY="arth_sk_…"
# Hosted endpoints
export MEMURON_API_BASE="https://api.memuron.com/memuron"
export MEMURON_MCP_URL="https://api.memuron.com/mcp"
# Optional — only if your client requires an explicit org id
export MEMURON_TENANT_ID="org_…"Mental model for agents
- Memories live in
spaces(e.g.space.personal). Always list spaces before guessing paths. - Writes are async:
POST /memories→ pollGET /jobs/{job_id}. - The Guardian may create or update in place — do not append duplicate facts.
- Prefer GraphFS queries (
POST /spaces/query) for agent search; hybrid/memories/searchfor ranked recall. - Never invent memory IDs. Resolve with query/search, then
GET /memories/{id}.
Copy-paste packs
Use these when wiring an agent that can paste config or a system prompt:
- REST API guide — full auth, examples, and happy-path workflows.
- AGENTS.md pack — drop into any coding-agent repo.
- MCP — Cursor / Claude / ChatGPT OAuth.
- Console Connect tab at https://console.memuron.com/connect — authenticated, copy-heavy setup.
Live OpenAPI. Product routes for API users: https://api.memuron.com/docs. Internal console, billing, and webhook routes are omitted from the public schema.