Archived / moved. Active development has moved to Living Software Organism.
Project Corpus remains preserved as the durable identity, continuity and authority component at
components/project-corpus/in the unified repository. Existing standalone Protocol/Runtime history, releases and documentation remain available here for reference. The standalone Protocol and Runtime remain usable.
Durable project identity, continuity and authority for AI-assisted work.
AI sessions and models change. A project's understanding of itself, its current state, and the evidence behind that state should outlast them. Project Corpus is a vendor-neutral, Markdown-first protocol that gives this information a clear, project-owned home. It defines what is canonical, what is current, what has been verified, what comes next, and which rules govern change.
The protocol is useful on its own. The optional Python Runtime adds local validation, controlled operations, audit and recovery, CLI tools, and stdio MCP.
-
Download or clone this repository. Copy
templates/v2/minimal/into the root of the project you want to carry across AI sessions:cp -R templates/v2/minimal/. /path/to/your-project/
PowerShell:
Copy-Item -Force .\templates\v2\minimal\AGENTS.md C:\path\to\your-project\ Copy-Item -Recurse -Force .\templates\v2\minimal\.project-corpus C:\path\to\your-project\
-
Fill in
.project-corpus/state/PROJECT.mdwith the project's durable identity. Use the same project ID in.project-corpus/state/STATUS.mdand.project-corpus/policy.toml; record the verified current state, blockers, evidence, and exact next action in STATUS. -
Give your AI client access to the project folder, or upload
AGENTS.md,PROJECT.md, andSTATUS.mdwith the relevant active Task and Reports. Ask it to followAGENTS.md, read the canonical state, report what is current, and continue from the exact next action.
The Quick Start includes a ready-to-use loading prompt.
Each project owns a small set of canonical Markdown records:
PROJECT.mddescribes durable identity, purpose, and boundaries.STATUS.mdrecords the verified current state and next action.AGENTS.mddefines local workflow and authority rules.- Tasks bound requested work; Reports record what was done and the evidence.
At the start of a session, the AI reads those sources and checks mutable facts against the live project. This helps prevent old chat context, saved summaries, or one AI executor from being mistaken for current project authority.
| Project Corpus Protocol | Optional Project Corpus Runtime |
|---|---|
| Markdown-first, vendor-neutral, and usable manually | Local Python implementation for added enforcement |
| No installation, database, or MCP required | Validation, controlled CLI, and local stdio MCP |
| Project files remain the portable authority | External owner trust, policy enforcement, transactions, audit, and recovery |
The Runtime implements the Protocol; it does not define or silently change its semantics. Technical guarantees apply only to documented controlled modes and qualified local filesystems. See Protocol vs Runtime and the security model.
Install the optional Runtime from PyPI:
pip install project-corpus project-corpus validate /path/to/your-project project-corpus doctor /path/to/your-project
Runtime 2.2.0 also includes optional Context Intelligence: a rebuildable, policy-scoped index and bounded, source-backed context for any AI consumer. Its results are non-authoritative; canonical Markdown remains the source of truth.
Lifecycle, recovery, and orchestration architectures can use Project Corpus as a durable project-state foundation while keeping their own contracts and verification responsibilities. Living Software Organism (LSO) is one such higher-level architecture and reference direction. Project Corpus is not LSO; it is independently useful and does not require LSO, a Runtime, MCP, a database, or a specific AI vendor. This describes an architectural relationship; it does not claim that a public LSO package or repository is available.
The original V1 workflow and templates remain supported. The optional Runtime can plan a V1 migration read-only and create a separate V2 destination without rewriting V1 files. See the V1 compatibility overview, direct-folder, manual-session, and your-own-MCP guides, plus the migration guide.
Project Corpus Protocol is version 2.0. The optional Python Runtime is version 2.2.0, supports Python 3.11+, and has no third-party runtime dependencies. Release history is in the changelog. Questions and bug reports belong in GitHub Issues; do not post private Corpus contents or secrets.
Project Corpus is free under the MIT license. Optional donations are described on the support page; they provide no additional rights or guarantees.
MIT. See LICENSE.