Open source · Agent-native

Corpus is a shared markdown library for agent context.

Your team writes the docs. Your agents read them.

Works with Claude Code, Codex, and whatever agent your team already uses — open source, no per-seat.

Every read provable — see what each agent read, and when.

When your team updates a doc, your agent should know.

Teammate updates doc Agent already knows Project Plan.md Project Plan ## Overview ## Goals New User research filtering before data to improve usability. Just added by Jamie · 10:42 AM Jamie · editing now Agent · Claude Code +47 Project Plan ## Overview ## Goals New User research filtering before data to improve usability. Synced 10:42 AM Last read 10:42 AM Version v15 Reads 21

The people who own the context can't edit it.

Product, ops, and support shouldn't need Git to fix a policy doc. In Corpus they write markdown in the browser; every save is its own version. Nothing is ever overwritten, so you see exactly what changed and what each agent was given.

app.corpus — onboarding.md

Refund policy

Customers can request a refund within 30 days of purchase.

  • Orders over $500 require manager approval.
  • Digital goods are non-refundable after download.

Escalate disputed charges to the finance on-call.

Illustrative. A real walkthrough lives in the docs.

Three steps. One source of truth.

Bring the markdown you already have, connect your agents, and keep it current, together. No engineer in the loop.

  1. 01

    Bring your markdown in

    Push up the docs you already have, from Claude Code, a repo, a shared drive, anywhere. Every file becomes a versioned Document the moment it lands. Nothing to rewrite.

  2. 02

    Connect your agents

    Group docs into the contexts each agent should see, then point agents at them over MCP with a URL and a scoped key. You and your team do this yourselves; no engineer required.

  3. 03

    Manage it together

    Anyone edits markdown in the browser; every agent reads the current, approved version on its next run. Full history, no lost edits, one source of truth the whole team keeps current.

More than storage. A source of truth agents can trust.

Every capability answers one question: is this the right context, and can you prove it?

Provable history

Every version is kept and stamped. Prove exactly which version an agent read and when, and spot a changed doc at a glance. Nothing is ever silently overwritten.

Edit together, safely

Two people can edit the same document at once and no one's work gets lost. When edits overlap, Corpus shows a side-by-side merge instead of quietly discarding one.

Approved contexts

Nothing reaches an agent until it is in an approved context. Curate per agent or task; one edit propagates everywhere that document is used.

Scoped agent access

Every project gets its own endpoint and scoped keys. An agent only ever sees the context its key resolves to. Clean isolation across teams.

Portable, no lock-in

Export everything as one portable bundle: documents, contexts, and full history. It is also how you move into Nicia when you're ready to run agents on it.

Yours to run

The whole multi-tenant product is open source. Run it single- or multi-tenant on your own infrastructure. Nothing gated, no license key.

Free forever. We never charge per seat.

Bring your whole team and every outside collaborator. Context stays siloed because adding people costs money, so we made that impossible to charge for. The hosted version is free, not a trial.

Need SSO, SCIM, audit export, data residency, or an SLA? Talk to us →

Run your whole team's agents on one Corpus. That's Nicia.

Take your Corpus straight in. Your team's agents run on it together, true multiplayer: shared runs, evals, and policy gates. Knowledge and compute in one place, plus sync from Google Drive, Notion & more.

Free

$0 forever, not a trial
Unlimited people — never per-seat, by design
  • Fully managed, nothing to run or maintain
  • Unlimited projects & contexts
  • 10 GB of markdown per project (millions of documents)
  • Every version kept, permanently
  • Full MCP access, OAuth & scoped API keys
  • Portable bundle export: your data, no lock-in
Start free

Why not Notion, Google Docs, or a Git repo?

Because none of them were built to hand an agent the right version, and keep the people who own the context able to edit it.

A Notion page or shared doc isn't built for an agent to read.
Agents read an approved context over MCP: always the current version, never a page they mis-scrape or never see updated.
Paste it into a repo, a folder, or each tool and the copies drift.
One canonical version; every agent reads the current one live. No copies to chase.
No one can say which version an agent actually used.
Full saved history. See and prove exactly what each agent read, and when.

Built on solid foundations.

The unglamorous infrastructure decisions that keep your context correct, provable, and yours, no matter how big the team or how many agents read it.

Still just markdown — structured underneath
You write plain markdown. Nothing to model, no graph to learn. Underneath, Corpus tracks how documents and contexts relate (a graph, via TypeGraph) so one document feeds many contexts without copies. Change it once; every agent is current.
Content-addressed versions
Every version is fingerprinted by its exact content. Change one character and Corpus knows, so you can prove precisely which version an agent read, and catch a silent edit instantly.
An append-only history
Nothing is ever overwritten or deleted. Every edit is a new link in an unbroken chain. Revert anything, audit everything, lose nothing.
MCP-native, key-scoped
Agents connect over the open Model Context Protocol with narrow, per-project keys. Any agent in seconds; each only ever sees the context it is granted.
Isolated per project, at the edge
Each project is its own isolated store running on Cloudflare's edge. Fast wherever your team is, with no servers to run or scale.
Don't trust us. Read the code.
A modern, Apache-2.0 codebase you can audit line by line, run yourself, and export from anytime. Every claim on this page is verifiable. No black box, no lock-in.

Self-host it in minutes.

The whole product is open source. The complete multi-tenant store, nothing gated. No license key, no ee/ directory. Single-tenant or multi-tenant is your call; no feature is withheld.

corpus — self-host
$ git clone https://github.com/nicia-ai/corpus$ cd corpus && pnpm install# create the schema (run this first)$ pnpm db:migrate# serve it — app.<your-domain> on Cloudflare$ pnpm dev

When you're ready to run agents on it

Run your whole team's agents on your Corpus — that's Nicia. One bundle, zero rewrite.

Speed
Each step runs on the right-sized model. Agents finish in seconds, not minutes.
Humans
Approval gates route to named people. Nothing ships until someone signs off.
Files
Every run's inputs and outputs, versioned and diffable. Always know what an agent used and made.
Learning
Every run is graded; approved improvements compound. The operation gets sharper over time.
See the full Nicia platform