Open-Source-Legal/OpenContracts

Humans and AI agents, building knowledge bases together. Self-hosted document annotation, version control, semantic search, and MCP.

71
/ 100
Verified

Combines configurable AI agents with structured human annotations through version-controlled document corpuses, enabling agents to reason over curated knowledge rather than generate unsupported claims. Built on PydanticAI for agent orchestration, vector embeddings for semantic search, and PAWLS for precise PDF coordinate mapping, with MCP server integration to expose knowledge bases to Claude, Cursor, and compatible tools. Supports threaded discussions, custom label schemas, multi-page span annotations, and public corpus forking for collaborative knowledge building across teams.

1,235 stars. Actively maintained with 705 commits in the last 30 days.

No Package No Dependents
Maintenance 25 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 20 / 25

How are scores calculated?

Stars

1,235

Forks

133

Language

Python

License

AGPL-3.0

Last pushed

Mar 13, 2026

Commits (30d)

705

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/Open-Source-Legal/OpenContracts"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.