{
  "schema_version": "protocol.v1",
  "slug": "the-graph",
  "name": "The Graph",
  "status": "production-ready",
  "website": "https://thegraph.com/",
  "summary": "Decentralized indexing protocol for querying blockchain data through subgraphs.",
  "categories": [
    "data",
    "indexing",
    "subgraphs"
  ],
  "chains": [
    "arbitrum-one",
    "bsc"
  ],
  "best_for": [
    "indexed contract events",
    "analytics APIs",
    "app backends",
    "public data layers"
  ],
  "avoid_for": [
    "private low-latency indexing without extra infra"
  ],
  "integration_difficulty": "medium",
  "tags": [
    "indexing",
    "graphql",
    "subgraph"
  ],
  "composition": [
    {
      "slug": "maci",
      "role": "governance_and_voting",
      "direction": "supports",
      "relationship": "Indexes MACI poll, signup, message, proof, and tally events for governance applications.",
      "best_for": [
        "private voting dashboards"
      ]
    },
    {
      "slug": "uniswap",
      "role": "supporting_protocol",
      "direction": "supports",
      "relationship": "Indexes pool, swap, liquidity, and hook activity for DeFi applications.",
      "best_for": [
        "public DeFi analytics and app backends"
      ]
    },
    {
      "slug": "erc-8004",
      "role": "agent_identity_and_trust",
      "direction": "supports",
      "relationship": "Indexes agent registry, reputation, feedback, and validation events for agent discovery surfaces."
    }
  ],
  "docs": {
    "url": "https://thegraph.com/docs/",
    "verified_at": "2026-05-29"
  },
  "sdk": {
    "url": "https://github.com/graphprotocol/graph-tooling",
    "verified_at": "2026-05-29"
  },
  "template": {
    "url": "https://thegraph.com/docs/en/developing/creating-a-subgraph/",
    "verified_at": "2026-05-29"
  },
  "support": {
    "url": "https://discord.gg/graphprotocol",
    "verified_at": "2026-05-29"
  },
  "grant": {
    "url": "https://thegraph.com/ecosystem/grants/",
    "verified_at": "2026-05-29"
  },
  "capabilities": [
    {
      "name": "Subgraph indexing",
      "status": "production-ready",
      "type": "production_surface",
      "best_for": [
        "event indexing",
        "query APIs",
        "historical app data"
      ],
      "known_issues": [
        "Schema design and hosted/decentralized deployment choices affect maintenance."
      ],
      "agent_actions": [
        "generate_subgraph_schema",
        "recommend_indexing_strategy"
      ]
    }
  ],
  "chain_support": {
    "bsc": {
      "status": "production-ready",
      "docs_url": "https://thegraph.com/docs/en/supported-networks/bsc/",
      "sdk_notes": [
        "BNB Smart Chain is a supported network for subgraphs; set the network to bsc in your subgraph manifest."
      ],
      "limitations": [
        "Indexer coverage and pruning behavior can vary by network; confirm the features your subgraph needs are available for BSC."
      ],
      "verified_at": "2026-06-10",
      "citations": [
        {
          "url": "https://thegraph.com/docs/en/supported-networks/bsc/",
          "quote": "The Graph supported networks: BSC",
          "retrieved_at": "2026-06-10",
          "confidence": "high"
        }
      ]
    }
  },
  "known_issues": [],
  "sources": [
    {
      "label": "Website",
      "url": "https://thegraph.com/",
      "type": "website"
    },
    {
      "label": "Docs",
      "url": "https://thegraph.com/docs/",
      "type": "docs"
    },
    {
      "label": "Tooling",
      "url": "https://github.com/graphprotocol/graph-tooling",
      "type": "github"
    },
    {
      "label": "Grants",
      "url": "https://thegraph.com/ecosystem/grants/",
      "type": "grant"
    }
  ],
  "provenance": {
    "verified_at": "2026-05-29",
    "verified_by": "composewith.eth seed research",
    "confidence": "medium"
  },
  "readiness_score": 80,
  "readiness_factors": [
    {
      "key": "docs_present",
      "points": 10,
      "max": 10,
      "detail": "Docs URL present"
    },
    {
      "key": "sdk_present",
      "points": 8,
      "max": 8,
      "detail": "SDK URL present"
    },
    {
      "key": "template_present",
      "points": 6,
      "max": 6,
      "detail": "Template/quickstart present"
    },
    {
      "key": "support_present",
      "points": 6,
      "max": 6,
      "detail": "Support channel present"
    },
    {
      "key": "capability_depth",
      "points": 8,
      "max": 20,
      "detail": "Subgraph indexing: production_surface"
    },
    {
      "key": "production_capability",
      "points": 15,
      "max": 15,
      "detail": "Has a production-ready capability"
    },
    {
      "key": "provenance_confidence",
      "points": 3,
      "max": 5,
      "detail": "Protocol provenance confidence is medium"
    },
    {
      "key": "chain_coverage",
      "points": 4,
      "max": 10,
      "detail": "2 chain(s) (capped at 5)"
    },
    {
      "key": "freshness",
      "points": 10,
      "max": 10,
      "detail": "Last verified 12 day(s) ago"
    },
    {
      "key": "no_open_critical",
      "points": 10,
      "max": 10,
      "detail": "No open critical issues"
    }
  ],
  "readiness_caps": [],
  "scoring_version": "score.v2"
}