Skip to content

Latest commit

 

History

272 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logos

When one coding agent stops, the next one continues the work.

Setup Benchmark Agent guide Contributing Site

About

Logos is a local-first memory and continuity layer for coding agents. Claude Code, Cursor, Codex and your own agents share one vault over MCP: an agent checkpoints what it did, and the next one — a different model, in a different tool, on a different day — resumes exactly where that one stopped.

Claude Code  ──▶  checkpoint  ──▶  Logos  ──▶  resume  ──▶  Cursor
                                (your vault)

It runs on your machine, against a directory of markdown files you own, and uploads nothing. .brain/index.db is a cache you can delete and rebuild from the markdown. If this project dies, you keep a vault.

Nothing is observed. Logos does not watch your screen, your browser history, your files or your calendar. The only things in your vault are things an agent explicitly wrote there — a checkpoint, a note, a memory it asked to remember and you approved. The one network call Logos ever makes on its own is brain update checking for a new release, and only when you type it; nothing else leaves the machine, ever.

Logos is built for continuity:

  • resume / context — where the last agent stopped, what it verified, what it ruled out
  • before_you_try — whether an approach was already attempted and abandoned, here or elsewhere
  • why — what was being decided when a given file was last worked on
  • checkpoint / handoff — the durable record, with verified and failed kept deliberately separate
  • Receipts on every write, so you can see the memory layer working instead of taking it on faith
  • A SessionStart hook that puts the last handoff in front of the model before it does anything

Logos is local and durable:

  • Markdown is the truth; the SQLite index is a disposable cache
  • Runs with no model runtime at all — semantic search degrades to lexical, nothing breaks
  • Hybrid retrieval: FTS5 plus local embeddings through Ollama, when one is available
  • Vault files are written 0600, and brain doctor reports what the rest of the machine can read
  • Survives SIGKILL mid-write, a full disk, and two processes racing on one vault (chaos/)
  • Project- and worktree-scoped, so one repository's facts do not surface in another

Logos works where you already work:

  • MCP server for Claude Code, Claude Desktop, Cursor, Codex and anything else that speaks the protocol
  • Read-only tools annotated as such, so they stay available in read-only chat modes
  • A CLI equivalent for every tool, for agents that only have a shell
  • A Go package to embed the engine directly — import "github.com/Coder8124/brain"
  • A Wails v2 desktop app: menubar orb, panel, graph canvas

Does it work?

On a handoff suite built for this — 32 scenarios, nine memory systems, one machine — Logos passes 84.4%; the next best system passes 46.9%.

Every real system retrieves about equally well. What separates them is whether the agent that resumes gets the current answer, or gets it sitting next to the stale one it replaced. Method, per-scenario scores and the cases Logos loses are in the benchmark.

Getting started

In Claude Code, which also installs the SessionStart hook that puts the last handoff in front of the model before it does anything:

/plugin marketplace add Coder8124/logos
/plugin install logos@logos

Anywhere else — no Go toolchain, no clone, no build:

npx -y @noeton/logos setup

setup picks a vault, finds your local model runtime, runs the first index, and then shows you which agents it would wire and asks before touching any of them. --dry-run shows the whole plan and writes nothing.

From source, if you have Go:

git clone https://github.com/Coder8124/logos && cd logos
go build -o bin/brain ./cmd/brain && ./bin/brain setup

One-click buttons for Cursor and VS Code, release binaries, and wiring a host by hand are in SETUP.md.

Contributing

Contributions are welcome. CONTRIBUTING.md covers the build, the test tiers, and the two conventions that are load-bearing here: the vault is the truth, and every feature announces itself.

If you are an agent working in this repository, the context-connect and continuity skills that ship with the Logos plugin (plugin/skills/) cover how to connect to brain here and how to use it — this repository dogfoods its own plugin, so both are already available in a Claude Code session.

On the two names

Logos is the product — the repository, the npm packages, the MCP server hosts see. brain is the development name and stays one internally: the Go module github.com/Coder8124/brain, the brain command, BRAIN_VAULT, and .brain/. The npm wrapper installs logos and brain as the same command, so either spelling works wherever you meet it.

Contact

License

Apache 2.0. See LICENSE.

Contributors: git history satisfies §4(b). You do not need to add change notices to files you modify, and there is no NOTICE file and no CLA. See CONTRIBUTING.md.

About

Logos is a tool which allows all your ai agents to share the same context and pick up right after one another

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages