Rediscovers
Re-reads the same code every session.
Paying for it in tokens and minutes before writing a line.
→ One call to orient
Context layer for autonomous software engineering
Every session, your coding agents rediscover the codebase and forget what they learned. ontlgy hands them a connected map of your code, docs and decisions, plus the lessons earlier sessions proved, in one call.
git clone https://github.com/ontlgy/ontlgy-deployments && bash ontlgy-deployments/docker-compose/install.sh
Self-hosted. Docker Compose or Kubernetes.
Day zeroexploring
With ontlgyready
01 The problem
Agents are capable. What they lack is your team’s context, and they rebuild it from scratch every time.
Rediscovers
Paying for it in tokens and minutes before writing a line.
→ One call to orient
Blind
Not the callers next door, the ADR in Confluence or the decision in Notion.
→ Connected context
Forgets
The fix that passed on Tuesday is gone from Wednesday’s session.
→ Compounding memory
Drifts
Rules files and skills quietly outlive the code they describe.
→ Self-healing knowledge
02 How it works
Pointers to the code, the rules that apply, approved lessons, and what to skip.
Kept only when a passing check or an accepted decision backs them.
Symbols, calls and documents connected across repositories. Re-indexed on every push.
GitHub, Confluence and Notion today. Tickets and chat next.
03 Memory New
Follow one lesson from a Codex session to a Claude Code session a week later.
Codex fixes a retry bug. Its test passes.
Only the commit and the passing check travel. Transcripts stay on the machine.
It becomes a lesson with scope, source and evidence.
The owner sees it in Memories and approves it.
Claude Code’s first call returns the code and the lesson together.
Revoke the evidence and the lesson goes with it. Stale skills are flagged.
> Retries create duplicate refunds edit jobs/retry_worker.go run go test ./refunds/... ✓ ok payments/refunds 0.41s
POST /api/session-memory { "commit": "a41f9c2…", "outcomes": [{ "state": "passed", "summary": "Retry reuses the original key" }] } ← 200 { "state": "accepted" }
lesson Reuse the original idempotency key on retries applies payments-service · refunds/* source Codex CLI · a41f9c2 evidence ✓ go test ./refunds passed
Reuse the original idempotency key on retries
● ApprovedArchive
ontlgy locate("refund idempotency") → payments-service/api/refund_handler.go:42 → relevantLearnings[0] Reuse the original idempotency key on retries ● approved · from Codex CLI
→ idempotent-handlers ● current → legacy-retry-pattern ○ stale_refs RetryV1 no longer exists at a41f9c2
04 Deterministic by design
Agents waste time on guesses. ontlgy answers from structure, so the same question gets the same answer.
head_commit a41f9c2 ● matches main
Every answer says which commit it was read from.
api/refund_handler.go:42–61
Paths and line ranges. Agents read the source in their own checkout.
payments → ledger-sync → recon-job
Callers and impact across repositories, not text similarity.
indexing no model in the loop
Code is parsed, not summarised. Re-indexed on every push.
✓ check passed · cited
A lesson needs a passing check or an accepted decision behind it.
○ legacy-retry-pattern · stale
Skills that cite removed code are marked before agents follow them.
05 Compare
Most tools give agents a read-only view. ontlgy reads, remembers and stays true.
| Capability | Rules files and RAGCLAUDE.md, .cursorrules | Code search and Q&ASourcegraph, Greptile, Unblocked | Enterprise searchGlean | Agent memoryMem0, Zep | ontlgy |
|---|---|---|---|---|---|
| Built for agents | |||||
| Links across systems | |||||
| Learns from agents at work | |||||
| Stays true after a commit |
YesPartlyNo
07 FAQ
No copy of it. The index holds structure: symbols, calls, files and line ranges. Agents read the source in their own checkout, and document pages are read live when needed.
Claude Code, Codex, Cursor and any agent that speaks MCP over HTTP. Each person connects with their own API key.
In your infrastructure. One published image runs the app and worker, alongside Postgres and Neo4j, on Docker Compose or Kubernetes.
A small collector sends a bounded summary of a finished session: the commit, short excerpts and the checks that passed. Raw transcripts and credentials stay on the host, and ontlgy redacts again before it distils a lesson.
Repositories re-index on every push through GitHub webhooks. Skills and rules that reference files, functions or scripts that no longer exist are flagged stale.
An installation is one shared index for the people you invite. Memories are private to the engineer whose agents produced them. Per-repository and per-agent policies are next.
Work with us
See ontlgy on your own repositories, or shape it as a design partner.