Why it matters
This project provides a foundational layer for building AI applications that require deep understanding of document relationships. By treating documents as nodes and citations as edges, it offers a structured knowledge graph that AI agents can navigate, overcoming limitations of large context windows.

What changed

OpenContracts, developed by Open-Source-Legal, is presented as a platform for creating a programmable citation graph from document repositories. This system aims to serve as a "ground truth layer" for collaborative work between humans and AI agents. The core functionality involves ingesting documents, automatically detecting and resolving citations to build a navigable graph. This graph can then be accessed through multiple interfaces: a GraphQL and REST API for applications, a Model Context Protocol (MCP) server for AI agents, and a React UI for human interaction. The platform supports self-hosting and is released under an MIT license, targeting teams working with large document sets.

Key features include:

  • Automated Citation Graph Generation: Documents are processed to identify and link statutory and other citations, creating a structured representation of knowledge. Unresolved citations are tracked as a backlog.
  • Multi-Surface Access: The same underlying graph data is exposed via a GraphQL/REST API, an MCP endpoint for AI agents (compatible with tools like Claude and Cursor), and a user interface.
  • AI Agent Integration: Developers can spin up document- or corpus-scoped AI agents in Python, which can stream responses grounded in the citation graph. The MCP server allows external agents to search the corpus, traverse citation edges, and propose annotations.
  • Structured Extraction: The platform supports defining "fieldsets" – natural language queries for data extraction – which can be run across entire corpuses, with results available in a spreadsheet-like grid and subject to human approval.
  • Pluggable Pipeline: Components for parsing, embedding, and thumbnailing are swappable, allowing customization for different document formats and downstream processing.
  • Version Control for Knowledge: Corpuses are treated as version-controlled collections, akin to Git repositories, enabling branching, sharing, and restoration of previous states. Human annotations are treated as the ground truth for building and refining the citation graph.

Why it matters for builders

OpenContracts addresses a fundamental challenge in AI: enabling agents to reason effectively over complex, interconnected information. Instead of relying solely on large context windows, it provides a structured knowledge substrate that AI agents can actively navigate. This allows for more reliable grounding of AI-generated answers and facilitates deeper analysis of document relationships, which is critical for domains like legal, research, and engineering.

Practical impact

Builders can leverage OpenContracts to create AI-powered tools that go beyond simple document retrieval. By integrating with the GraphQL/REST API or the MCP server, developers can build custom applications or agents that understand and utilize the citation graph. This could involve developing advanced research tools, automated compliance checkers, or sophisticated knowledge management systems. The ability to define custom extractors and pluggable components offers flexibility for tailoring the system to specific data formats and analytical needs. The version control aspect for knowledge also allows for iterative development and auditing of AI-driven insights.

Caveats and source limits

The provided source material describes the functionality and architecture of OpenContracts but does not include specific benchmark results, pricing details for enterprise use, or a definitive release date beyond a "latest release: v3.0.0.b4" mention. The project is MIT-licensed and self-hosted, implying potential infrastructure costs and management overhead for users. The effectiveness of the AI agents and the accuracy of the citation graph generation will depend on the quality and nature of the ingested documents and the human annotations provided.

Sources

Written with AI assistance from the linked sources; every claim below was checked against them automatically. How we produce articles.

Claim check: 7/7 supported claims - 7 evidence links - 100% avg confidence
  • OpenContracts provides a programmable citation graph for documents, enabling humans and AI agents to work together.supported - github.com
  • The platform offers a self-hosted, MIT-licensed solution for structured extraction, AI agent integration via Model Context Protocol (MCP), and a GraphQL/REST API.supported - github.com
  • OpenContracts automatically detects and resolves citations within documents to build a navigable graph.supported - github.com
  • AI agents can be integrated to search documents, query annotations, and propose new edges within the citation graph.supported - github.com
  • The platform treats human annotations as the ground truth for building and refining the citation graph.supported - github.com
  • OpenContracts uses corpuses as version-controlled collections, similar to Git repositories, for managing documents and their associated knowledge graphs.supported - github.com
  • The latest release of OpenContracts is v3.0.0.b4.supported - github.com

Caveats

  • Single-source caution: verify critical details at the linked source.
Radar score 78/100 - how it was calculated
Reliability82
Freshness8
Novelty74
Technical89
Developer96
Ecosystem66
Confidence100
  • Reliability 82: GitHub metadata supports source trust
  • Freshness 8: Fresh GitHub release date
  • Novelty 74: Novelty blends source metadata and enrichment
  • Technical 89: Repository technical metadata
  • Developer 96: Developer tooling signals
  • Ecosystem 66: Developer-oriented GitHub signal
  • Confidence 100: Claims have reliable evidence
Share
XLinkedInHacker News

Discussion

Loading comments...

Related articles

Agents - Nov 16, 2026Node9 Proxy Adds Access Control for AI AgentsNode9 Proxy has released version 2.61.1, introducing enhanced access control for AI agents. This tool allows developers to define permissions for agents interacting with tools like Claude Code, Codex, and Gemini, and provides auditing capabilities.AI Tools - Nov 11, 2026ViralMint: Open-Source Local Video Pipeline for CreatorsViralMint is an open-source, local-first video pipeline designed for creators, offering features like trend scouting, video clipping, script-to-video generation, and motion graphics design. It emphasizes a "bring your own key" (BYOK) model, running entirely on the user's machine without SaaS intermediaries or telemetry.AI Tools - Nov 19, 2026Moli: Rust-based Headless Browser for AI AgentsMoli is a production-ready, Rust-built headless browser designed for AI agents, offering a lightweight footprint with on-demand rendering. It supports CLI, CDP, and WebDriver protocols, running on Linux, macOS, and Windows.Agents - Nov 13, 2026agentes.chat: Open-Source Slack Alternative with AI Agentsagentes.chat is an open-source, self-hosted Slack alternative designed for integrated team and AI agent collaboration. It supports multiple LLMs, including Claude, ChatGPT, Gemini, and Grok, and offers features like agent-specific computers, browsers, routines, and approval workflows.Agents - Nov 12, 2026OfficeAgent.NET: .NET Office Automation for AI AgentsOfficeAgent.NET provides structured automation for Word, PowerPoint, and Excel files within .NET applications and for AI coding agents. It supports complex document manipulations, including tracked changes and template filling, without requiring Microsoft Office to be installed.Agents - Nov 20, 2026PraisonAI v4.7.26: Offline AI Agents & Enterprise HandoverPraisonAI has released version 4.7.26 of its open-source Python agent framework, enabling fully offline AI agent execution. The update also introduces an early access feature for highly regulated teams, allowing AI tasks to be handed over to self-hosted models with a verifiable audit trail.