Repository navigation
Origin 0.1.0
The first release.
Archive and search
- Archives Claude Code and Codex CLI sessions into one append-only store under
~/.origin(or$ORIGIN_HOME). Ingestion is incremental and idempotent, keeps rewritten files as new generations, and reads zstd-compressed Codex rollouts. - Raw mirrors are stored in seekable zstd frames; every event points to its original file and line.
- Full-text search over sessions and entries: every term must match, as a case-insensitive substring, including CJK words of one or two characters; results are ranked by relevance or ordered by time.
Entries and forgetting
- Entries of three kinds,
memory,knowledge, andcognition, each citing the events it comes from, with a confidence and a version history. correctsupersedes an entry; concurrent corrections from different stores converge on the newest.forgethides an entry or event for good, on every store, and nothing can cite it again.
Agents
origin mcp: an MCP server over stdio with seven tools,search,timeline,get,sources,remember,correct, andforget. It syncs when an agent starts, before reads, after writes, every minute while the agent runs, and once more when it exits.
Personal hub
origin serve(also theghcr.io/openlinkos/originimage): a self-hosted, single-tenant hub that gathers your devices and serves MCP over HTTP to cloud agents.- Every device stays a complete store of its own.
origin syncsends its raw mirrors, entries, and tombstones to the hub and brings back what was forgotten elsewhere; agents on a device read both stores at once and fall back to the device when the hub does not answer. - Hub tokens are bound to the device they are named after.
- An admin UI for the hub's owner, off by default (
origin serve --admin): devices, storage, sessions, search, entries, correcting and forgetting with a preview, tokens with ready-made connection commands, and an audit log, behind one admin password.
Tooling
origin backup <dir>copies a store consistently while agents keep writing.- Requires Node.js 22.16 or later.