AgentAge
Markdown

Local API

A small JSON HTTP API your machine serves on the loopback interface - health, the six memory verbs, git-sync control, and a local MCP endpoint. For scripts and tools on this machine; anything remote uses the cloud MCP server instead.

The base URL

text
http://127.0.0.1:4243

The CLI's background daemon serves this API. It autostarts on the first memory verb, or start it explicitly with agentage daemon start. Every route below is plain JSON over HTTP.

Endpoints

Every route, grouped by resource. Click a row to expand its contract - parameters, a curl example, the JSON response, response fields, and errors. The memory routes mirror the MCP tools one-to-one; the request body carries the same parameters.

Health

Memory

Sync

MCP

What this API is not

  • Not remote - it lives on 127.0.0.1 only; never port-forward or proxy it to the internet.
  • Not authenticated - there are no tokens or keys; access is machine-local trust.
  • Not the way to connect an AI - point MCP clients at the stdio command or the local endpoint http://127.0.0.1:4243/mcp (see the CLI guide). AI outside this machine uses the cloud MCP server.