Project Intelligence Layer for AI Coding
Git remembers what changed.
Contorium remembers why.
Contorium is a local-first project intelligence layer that preserves the context, decisions, and reasoning behind software projects.
It helps AI coding tools understand not only your code, but also:
- Why architectural decisions were made
- What assumptions they depend on
- How the project evolved
- Which decisions are still valid
Supported environments:
- Cursor
- Claude Code
- Codex
- Gemini CLI
- VS Code
- Any MCP-compatible AI runtime
AI coding tools are powerful, but they forget.
Every new session starts with the same problems:
Why was this architecture chosen?
Why don't we use another solution?
What is the current project direction?
What decisions are still valid?
Developers repeatedly provide the same context.
The code exists.
The reasoning disappears.
Git tells you:
What changed.
Contorium tells you:
Why it changed.
It preserves:
| Intelligence | Description |
|---|---|
| State | Current project situation |
| Intent | Project goals and direction |
| Decisions | Architectural choices |
| Why | Reasoning behind decisions |
| Timeline | Evolution history |
| Impact | Dependency relationships |
| Provenance | Information origin |
| Confidence | Reliability signals |
Ask:
contorium ask "Why was MCP added?"Contorium:
Decision #034
MCP was introduced in March 2026.
Reason:
- unify AI tool access
- reduce duplicated integrations
Original assumption:
AI environments will support MCP standards.
Current status:
VALID
Related:
- MCP Server
- IDE Extension
- AI Runtime
Or:
contorium ask "What decisions need review?"Response:
⚠️ Review Required
Database Architecture
Reason:
Original assumption:
<100k users
Current:
Project scale exceeded assumption.
Status:
NEEDS_REVALIDATION
Contorium is built around three capabilities.
Capture project intelligence.
contorium capture decision
contorium capture note
contorium capture focusRecords:
- decisions
- events
- project state
- reasoning
- assumptions
Ask questions about project history.
contorium ask "What happened this week?"
contorium ask "Why was this designed this way?"
contorium ask "What is this project becoming?"Powered by:
- History Engine
- Decision Center
- Knowledge Graph
- Project Story
Understand whether old decisions still make sense.
Contorium tracks:
Change
↓
Assumption
↓
Impact
↓
Decision Validity
Decision lifecycle:
VALID
↓
WARNING
↓
DECAYING
↓
SUSPECTED_INVALID
↓
NEEDS_REVALIDATION
↓
INVALIDATED
The core idea behind Contorium:
A software project is not only code.
It is a collection of decisions.
Every decision has:
Decision
Why
Assumptions
Dependencies
Evidence
Current validity
Contorium helps answer:
"Does this decision still make sense today?"
User Query
↓
Query Router
↓
Cognitive Kernel (CIL)
↓
┌────────────┬────────────┬────────────┐
│ │ │ │
Event Decision State Graph
Engine Engine Engine
↓
Decision Intelligence
↓
PIL (.contora)
↓
IDE · CLI · MCP · Dashboard
The deterministic local knowledge layer.
PIL stores:
STATE
INTENT
DECISION
WHY
TIMELINE
IMPACT
PROVENANCE
CONFIDENCE
Location:
.contora/
PIL does not reason.
It preserves structured project intelligence.
The interaction layer.
CIL answers:
- What happened?
- Why was this done?
- What is this project?
- What should be reviewed?
- Is this decision still valid?
CIL does not execute tasks.
It explains and explores.
Projects evolve.
Knowledge becomes outdated.
Contorium tracks intelligence validity through:
Events
ADR
Code changes
Dependency changes
↓
Assumption Graph
↓
Impact Engine
↓
Validity State
Example:
Decision:
Use SQLite
Original assumption:
Small deployment
Current:
Large-scale production usage
Result:
WARNING
Review required
Record intelligence.
Explore intelligence.
Examples:
contorium inspect state
contorium inspect decision
contorium inspect timeline
contorium inspect healthMove project context between AI sessions.
contorium transfer context
contorium transfer handoff
contorium transfer intelligenceContorium runs across:
| Runtime | Purpose |
|---|---|
| IDE | Workspace intelligence |
| MCP | AI tool interface |
| CLI | Developer operations |
All share:
@contora/state-core
.contora/
Your project intelligence stays with your project.
.contora/
├── state/
├── decisions/
├── events/
├── lifecycle/
├── graph/
├── health/
└── config/
No cloud dependency.
No vendor lock-in.
Contorium works without LLMs.
Optional AI improves:
- explanation
- project story
- project essence
- DNA summary
- suggested questions
AI is an interpreter.
Not the source of truth.
Contorium is not:
- ❌ Autonomous coding agent
- ❌ Task execution system
- ❌ Project management tool
- ❌ AI replacement developer
Contorium does not decide for you.
It preserves and explains the intelligence behind your decisions.
npm install -g @contorium/mcp
claude mcp add --scope project contorium -- npx @contorium/mcpgit clone https://github.com/ContoriumLabs/contorium.git
cd contorium
npm install
npm run compile
npx contorium init .
npx contorium ask "What is this project?"AI coding will not only require better models.
It will require better memory.
Contorium aims to become the intelligence layer that allows software projects to remember:
- what they are
- why they exist
- how they evolved
- where they should go next
Documentation: docs/README.md · Install · Overview
Website: https://www.contorium.dev
GitHub: https://github.com/ContoriumLabs/contorium
License: MIT