AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
Local-first, cross-agent personal memory for AI coding agents.
Developer toolsTypeScript · JavaScriptGitHub @openlinkosOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Local-first, cross-agent personal memory for AI coding agents, served over MCP.
Taken from the repository README
Loading the full README.
Read the full README ↗Local-first, cross-agent personal memory for AI coding agents.
English | 简体中文
Origin archives the sessions your AI agents already write to disk into a single local store. Claude Code, Codex, Cursor, Grok Build, and ZCode are supported. Through one MCP server, it gives every agent the same memory. Whichever tool you open can look up what you decided last week and why, trace it to the exact original line, and save what it learns for next time. If you work on several machines or with cloud agents, a self-hosted personal hub brings them all into the same memory.
Status: early (0.3). Ingestion of Claude Code, Codex, Cursor, Grok Build, and ZCode sessions, the import of the memories Claude Code, ZCode, and Grok Build keep, the MCP server, the CLI,
origin ui, and the personal hub with its admin UI, relays, and bucket storage work end to end. Before 1.0, a minor version may change the store format; stores are upgraded in place, and Upgrading and the changelog say what to do.
If you use more than one AI agent, each one remembers on its own terms. Claude Code scopes memory to a git repository, Codex to a machine, and Copilot, ChatGPT, and Gemini to a cloud account. None of them can read the others' memory. Switch tools or projects and you start from zero. That memory is also hard to inspect and correct, and it gets purged quietly: Claude Code, for example, deletes session logs after 30 days by default.
Origin puts you at the center instead of the tool:
origin mcp) with eight tools: brief, search, timeline, get, sources, remember, correct, forget. It syncs automatically, so agents always see the latest sessions.memory (what happened), knowledge (stable facts), and cognition (your preferences, methods, goals, and boundaries). Each carries its sources, a confidence, and a version history.brief tool; origin agents connect sets this up. Every recall is recorded, so you can see what an agent was handed and whether it used it.origin serve, or the ghcr.io/openlinkos/origin image) that you host yourself. Every device keeps a complete memory of its own and sends the hub what it writes with origin sync; agents on a device read from both through their local origin mcp, and cloud agents connect over HTTP with a token. A machine with little disk can run as a relay that keeps no memory of its own and sends its agents' logs straight to the hub.origin serve --admin), off by default: an overview of devices and storage, your sessions and entries, search, correcting, forgetting with a preview and restoring what was forgotten, tokens with ready-made connection commands, and an audit log. Pages are rendered on the hub, and you sign in with the hub's admin password. On any machine, opens the same pages for its own store, on , with a one-time sign-in link.| Agent | Sessions archived | Can use Origin over MCP |
|---|---|---|
| Claude Code | ✅ | ✅ |
| Codex CLI | ✅ | ✅ |
| Cursor | ✅ | ✅ |
| ZCode | ✅ | ✅ |
| Grok Build | ✅ | ✅ |
Any MCP-capable agent can already query the archive and entries. Archiving an agent's own sessions needs its adapter. To register Origin with each agent, see Connect your agents. Where each agent stores its sessions is documented in docs/sources.md.
Requirements: Node.js 22.16 or later (24 LTS recommended).
npm install -g @openlinkos/origin
origin sync # ingest local agent sessions into ~/.origin
origin status # what has been ingested so far
To work on Origin itself, build it from source as described in CONTRIBUTING.md.
Register the server once at user scope, so that every project shares the same memory:
claude mcp add --scope user origin -- origin mcp
claude mcp list # origin: … ✔ Connected
On Windows, npm installs origin as a .cmd script that agents cannot start directly; register cmd /c origin mcp instead, for example claude mcp add --scope user origin -- cmd /c origin mcp.
Then ask in any session, for example: "What did I decide about schema migrations in the origin project last week, and why? Cite your sources." The agent searches Origin and answers with event ids, which you can open with origin show <id>. When it learns something worth keeping, it saves an entry with remember.
For Codex, Cursor, ZCode, and Grok Build, see Connect your agents.
The full documentation lives in docs/ and is published at origin.openlinkos.com:
agent session logs ──scan──▶ append-only raw mirror ──deterministic parsing──▶ event store (SQLite + FTS5)
│ ▲
│ entries · tombstones
agents ◀── MCP server (origin mcp) ───────────────┤
you ◀── origin CLI ────────────────────────────┤
you ◀── admin UI on your hub ──────────────────┘
Origin is built around five invariants: provenance, recorded forgetting, append-only storage, your data on your machines, and a single entry point (agents use MCP; people use the CLI or the admin UI of their hub). The core never calls a model. The agent that asks a question does the reasoning, and Origin supplies the facts and their sources. Read docs/architecture.md for the data model, the ingestion algorithm, the forgetting rules, and the MCP tools.
Agent session logs often contain source code, command output, and anything you typed into a prompt — sometimes including secrets. Origin copies them into ~/.origin so that they survive the agents' own cleanup. Without a hub it makes no network connections; with a hub, data travels only between your devices and your own hub, which should sit behind TLS. The stores are not encrypted, so protect them like the original logs. origin forget hides an entry or a message everywhere until you restore it; deleting ~/.origin (and your hub's data, if you run one) removes everything. Details: Privacy and your data.
Delivered as small, runnable increments, each usable on its own:
sync, status, timeline, search, show, projects)Known limitations today:
summary lines for only some sessions.origin sync, which also syncs with your hub.packages/
├── core/ @openlinkos/origin-core storage, ingestion, entries, forgetting, queries
├── adapters/ @openlinkos/origin-adapters per-agent session parsers
├── mcp/ @openlinkos/origin-mcp MCP tools, stdio and HTTP servers, merged reads on a connected device
├── admin/ @openlinkos/origin-admin the hub's admin UI: server-rendered pages and a JSON API
└── cli/ @openlinkos/origin the `origin` command and the hub (`origin serve`)
docs/ documentation site (VitePress)
├── guide/ user guides (English; Chinese under docs/zh/)
├── architecture.md design, data model, invariants
└── sources.md agent session formats
Contributions are welcome, especially new source adapters. See CONTRIBUTING.md for setup, conventions, and how to add an adapter. To report a security or privacy issue, follow SECURITY.md. Everyone taking part is expected to follow the Code of Conduct.
MIT © OpenLinkOS contributors
origin ui127.0.0.1