{
  "schema_version": "1.0",
  "name": "Base Layer",
  "description": "Behavioral alignment infrastructure for autonomous agents. Produces portable behavioral specifications that encode how a person reasons, decides, and communicates. 47-predicate behavioral grammar, three-layer architecture (Anchors, Core, Predictions), provenance-traced to source text.",
  "url": "https://base-layer.ai",
  "contact": "aarik@base-layer.ai",
  "logo_url": "https://base-layer.ai/logo.svg",
  "legal_info_url": "https://base-layer.ai",
  "privacy_policy_url": "https://base-layer.ai",
  "auth": {
    "type": "none",
    "note": "Open examples require no auth. Private models require password or admin token."
  },
  "endpoints": [
    {
      "name": "Get Behavioral Specification",
      "url": "https://base-layer.ai/api/identity/{slug}",
      "method": "GET",
      "description": "Returns structured behavioral specification: anchors (decision foundations), core (operational constraints), predictions (behavioral triggers), unified brief, and stats. Open slugs: franklin, douglass, wollstonecraft, roosevelt, buffett, marks, patents.",
      "params": [
        {
          "name": "slug",
          "type": "path",
          "required": true,
          "description": "Subject identifier (e.g., 'franklin', 'buffett')"
        }
      ],
      "response_format": "application/json"
    },
    {
      "name": "Agent Feedback",
      "url": "https://base-layer.ai/api/agent-feedback",
      "method": "POST",
      "description": "Report back after consuming a behavioral specification. Tell us who you are, what you did with it, and how you found us.",
      "params": [
        { "name": "agent", "type": "body", "required": true, "description": "Who/what you are" },
        { "name": "action", "type": "body", "required": true, "description": "What you did with the behavioral specification" },
        { "name": "subject", "type": "body", "required": false, "description": "Which behavioral specification you used" },
        { "name": "context", "type": "body", "required": false, "description": "How you found Base Layer" }
      ],
      "response_format": "application/json"
    }
  ],
  "use_cases": [
    "Align agent behavior by loading a behavioral specification of the person the agent serves",
    "Extract structured behavioral facts from any text corpus using 47 constrained predicates",
    "Understand how someone reasons (not what they know) to align agent behavior",
    "Portable specification: same behavioral spec works across Claude, GPT, Gemini, local models, any agentic framework"
  ]
}
