1. Get an API key

Sign in at app.agentsframe.com, open Settings → API Keys, and create a key. Free tier gives you 5 calls/day with no card required.
Treat the key like a password — it grants full access to your quota and billing tier. Rotate via the dashboard if exposed.

2. Make your first call

Pick the surface that matches your stack. All three call the same routing engine.
curl -sS https://api.agentsframe.com/v1/think \
  -H "Authorization: Bearer $AGENTS_FRAME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "intent": "decide whether to refactor or rewrite this legacy module",
    "lang": "en",
    "topK": 3
  }'

3. Read the response

A successful /v1/think returns a selected framework with a ready-to-paste promptMd, plus the top-K candidates and detected language.
{
  "selected": {
    "slug": "second-order-thinking",
    "frameworkVersionId": "fv_01H...",
    "promptMd": "# Second-order thinking\n\nBefore you act, ask...\n"
  },
  "candidates": [
    { "slug": "second-order-thinking", "score": 0.91 },
    { "slug": "inversion",             "score": 0.78 },
    { "slug": "first-principles",      "score": 0.64 }
  ],
  "detectedLang": "en",
  "latencyMs": 412
}
Drop selected.promptMd into your agent’s system prompt or user message and let the framework do the rest of the work.

4. Where to next

REST reference

Full request/response schema, error codes, rate limits.

MCP setup

Wire Agents Frame into Claude Desktop, Cursor, or your own host.

CLI reference

Commands, flags, env vars, scripting recipes.

Frameworks

Browse the live framework library.