A machine-readable legal infrastructure for democratic governance
Most legal systems exist as unstructured text—documents optimized for print, not computation. Municipal ordinances, bylaws, and community rules sit in PDF repositories where they can be read but not queried, tested, or validated. When a citizen asks "can I do this?", the answer requires parsing dozens of cross-referenced documents, understanding implicit hierarchies, and interpreting ambiguous language. When a city council drafts new rules, there's no systematic way to check for conflicts with existing law. Small organizations—co-ops, neighborhood associations, community land trusts—face even steeper barriers: they need governance infrastructure but lack the resources to hire attorneys for every decision.
Charter transforms legal text into structured, machine-readable rules that can be queried, validated, and executed. The system combines a JSON-based schema for ordinances with a rules engine for deterministic checks and LLM-based reasoning for interpretation. A city ordinance about fence heights becomes executable code that can instantly tell a resident whether their proposal complies. A housing co-op's guest policy becomes queryable logic that members can test before taking action. The platform uses vector embeddings for semantic search, finding relevant rules even when terminology differs. AI assists in extracting structure from existing legal documents, converting decades of municipal codes into machine-readable format, and validating new ordinances for conflicts before adoption.
The architecture is designed for scale-down, not scale-up. Core functionality works offline using SQLite and local files. Rule definitions are version-controlled like software, with changes tracked through git-style commits. Communities can fork templates—starting with proven governance patterns for housing co-ops, neighborhood associations, or small municipalities—and customize them through a structured editor rather than hiring attorneys to draft from scratch. The same infrastructure serves a 5,000-person town, a 50-member cooperative, or a neighborhood deciding how to share a community garden. This is foundational infrastructure for self-governance: making the rules that shape our lives both understandable and executable.
Open source civic infrastructure
October 2025
Concept development
Transform legal text into structured, queryable rules that can be validated and executed
Get immediate answers to compliance questions without parsing complex legal documents
Automatically identify conflicts between new and existing rules before adoption
Democratize access to governance infrastructure for organizations of all sizes
Same infrastructure serves a 5,000-person town or a 50-member cooperative
Track changes to rules like software with complete history and accountability
Core functionality works offline using SQLite and local files for resilience
Fork proven patterns for co-ops, neighborhoods, or municipalities and customize
Interested in implementing Charter for your community or contributing to the project? We'd love to collaborate.
Start a Conversation →