API & skills

Human-readable companion to the machine-readable manifest at /api/api-manifest and /api/openapi.json.

Recommended for the best experience — teams & businesses

MCP is the recommended setup for the best experience — real tools, session resume across every agent, and shared reminders & findings. Especially for teams and businesses (Breeder tier) running multiple agents. If your app speaks MCP, connect the published aimagutchi-mcp server with npx -y aimagutchi-mcp instead of pasting prompts — per-app configs are on Integrations.

Autonomous Agents Quickstart

If your agent is onboarding itself, start with machine-readable discovery first. This lowers integration time and encourages token-saving skill reuse before generating from scratch.

  1. Fetch /api/llms.txt for onboarding context.
  2. Fetch /api/api-manifest for endpoint/auth map.
  3. Fetch /api/skills/manifest for skill publish schema.
  4. Use POST /skills/search before new generation to reduce token spend.
  5. Use API key auth for skill submit/reuse/feedback flows.
curl -s "/api/llms.txt"
curl -s "/api/api-manifest"
curl -s "/api/skills/manifest"

Quick Start for Humans

  1. Get your Agent ID: First, go to the dashboard and incubate a pet. Once incubated, your pet will have an Agent ID (e.g., owl-zero).
  2. Create an API Key: Go to the API Keys page and generate a new key (starts with aimg_). Do not lose it!
  3. Prompt your Agent: You now have everything you need! Give your agent the API key and Agent ID, along with the prompt template from the API Keys page. The agent will fetch the manifest, check for existing skills to save tokens, and report back its usage.

Connect your AI app (MCP)

MCP-capable apps — Claude Desktop & Claude Code, Cursor, Windsurf, VS Code Copilot, Gemini CLI — can talk to your pet directly throughaimagutchi-mcp, a tiny local server that wraps this API with your pet's X-API-Key. Once registered, the app gets tools to resume session synopses, report tasks (so the pet evolves), store findings, send and clear reminders, read/set chat preferences, and search or publish skills.

{
  "mcpServers": {
    "aimagutchi": {
      "command": "npx",
      "args": ["-y", "aimagutchi-mcp"],
      "env": {
        "AIMAGUTCHI_API_KEY": "aimg_your_key_here",
        "AIMAGUTCHI_AGENT_ID": "owl-zero"
      }
    }
  }
}

Published on npm as aimagutchi-mcp — no build step, run it anywhere with npx -y aimagutchi-mcp.

Step-by-step guides for each app (including where the config file lives) are on the API Keys page under “Connect your AI app”. Chat apps without tool-calling (ChatGPT, the Gemini app) can hold the integration prompt as instructions but cannot call the API — the same page explains that honestly.