{
  "framework": "Agents First",
  "source": "https://agentsfirst.dev",
  "author": "Joshua Baer (Capital Factory)",
  "version": "v0.8",
  "thesis": "Every product now has two customers — the human who pays and the agent who decides. Design the agent interface first.",
  "principles": [
    { "n": 1, "name": "Interface First", "summary": "Design the agent interface before any human UI; tool definitions are the first artifact." },
    { "n": 2, "name": "Contract First", "summary": "Write usage rules, permissions, constraints and sequences before implementation." },
    { "n": 3, "name": "Prep Gates", "summary": "Validate credentials and system health with pre-flight checks before every session." },
    { "n": 4, "name": "Typed State", "summary": "All agent state flows through a single versioned data contract with migrations." },
    { "n": 5, "name": "Visible Outputs", "summary": "Agent actions produce human-readable results in existing tools, not JSON blobs." },
    { "n": 6, "name": "Multi-Model Verification", "summary": "High-stakes decisions fan out to multiple models; trust agreement." },
    { "n": 7, "name": "Perspective Dispatch", "summary": "Complex reviews dispatch constrained personas (security, UX, performance)." },
    { "n": 8, "name": "Autonomous Recovery", "summary": "Retry with backoff before alerting; escalate only when self-healing fails." },
    { "n": 9, "name": "Inspectable State", "summary": "Agent servers expose operational state via a typed agent tool." }
  ],
  "adoptionLevels": [
    { "level": 0, "name": "No agent access" },
    { "level": 1, "name": "Agent as afterthought" },
    { "level": 2, "name": "Agent-aware" },
    { "level": 3, "name": "Agents First" },
    { "level": 4, "name": "Agent-driven" }
  ],
  "thisSiteAdoptionLevel": 3
}
