Skip to content
koed-labsPublic

About

Open source, automated memory layer that builds as you work.

Topics

Resources

Contributing

Security policy

Stars

24 stars

Watchers

0 watching

Forks

Latest commit

 

History

372 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Koed

Solve it once. Remember it for good.

Long-term memory for Codex, Claude Code, and Pi. Private, local, and yours.

Latest release License: Apache-2.0 Node.js Platforms Supported AI Clients

Benchmark • Features • Quickstart • Connect an AI Client • Documentation

Every new AI session starts from zero. You explain the project again, repeat your preferences again, and watch the agent try the fix that failed last week.

Koed ends that. It captures your AI coding sessions in the background and gives your AI Client a memory it can search. The next session starts with the decisions, dead ends, and context from the last one.

Your memory stays on your machine or on a server you run. Koed stores and searches it. Your AI Client writes the answers, so no extra LLM sits in the middle.

Benchmark

We ran 20 selected Terminal-Bench 4 tasks 3 times each on GPT-6 Luna, with and without Koed. With Koed, 12 tasks improved with captured knowledge and estimated cost per passing run fell from $1.16 to $0.12. Cost figures include Koed's known recall and preparation costs. Full results here.


With Koed, 38 of 60 runs passed, against 7 of 60 without it. Coding time was 52% lower, coding tokens 69% lower, and cost with overhead 42% lower.

Features

  • Zero-effort capture. Koed records Codex, Claude Code, and Pi conversations in the background. There is nothing to copy, paste, or tag.
  • Recall with receipts. The memory_answer MCP tool gives your AI Client evidence with citations, so you can see where each answer came from.
  • Local first. Postgres, pgvector, and the models run natively under KOED_HOME. No Docker and no cloud account.
  • Organize without losing the source. Include a Conversation in several Projects. Recall its recorded Git Anchor or exact Folder independently.
  • See everything Koed knows. Koed Desktop lets you browse every Project, session, and conversation in your memory.
  • You decide what is remembered. Capture Policies, Capture Pause, and a local Privacy Filter model control what Koed keeps and what it masks.

Quickstart

Requirements

  • macOS, Linux, or WSL
  • Node.js 24 (build toolchain) and pnpm; newly built standalone components support Node 24–26
  • Linux/WSL: x64 with glibc 2.35 or later (for example, Ubuntu 22.04+)
  • macOS: Homebrew, for the native runtime when running from source

Note

On Windows, run Koed in WSL. Keep KOED_HOME and the checkout on the Linux filesystem.

Start Koed Desktop from source

pnpm install
KOED_HOME=~/.koed-dev pnpm desktop:start

On first launch, choose Set up Koed and confirm. Desktop installs the runtime and models it needs, then starts the local services.

The reviewed catalog in this checkout lists the approved runtime downloads. Linux/WSL installs its CPU runtime. Compatible NVIDIA devices can also use the CUDA download. Koed still requires archive and file checksums, values calculated from file contents. See fresh-home CPU/CUDA testing.

To stop Koed, run:

pnpm koed stop --json
Set up without Desktop

Run this command. It does not connect an AI Client.

pnpm source-runtime:prepare
pnpm koed setup core --json

Each release also publishes an installer for Koed Server on macOS arm64 and Linux x64 that needs no Homebrew or source checkout:

curl -fsSL https://github.com/koed-labs/koed/releases/latest/download/install-koed-server.sh | bash

See Standalone Server installer for what it does and how to inspect it or pin a version first.

For other ways to run Koed, see Running Koed.

Connect an AI Client

Koed works without an AI Client. Install each client yourself.

After setup, Koed Desktop offers to connect your clients. Select one or more clients, or select Set up later. Desktop never selects a client for you.

You can also connect a client from the command line:

AI Client Minimum version Setup Guide
Codex Not listed pnpm koed setup codex --json Codex integration
Claude Code 2.1.227 Desktop → Preferences → Agents Claude Code integration
Pi 0.84.2 pnpm koed setup pi --json Pi integration

Important

Each client works independently. If one client fails, the others continue to work. Koed never uses one client in place of another. To choose the model for each task, see Local AI Runtime settings.

Note

This release runs Koed on one device. Pairing devices and Personal Device Sync are turned off by default. To try them anyway, see Device pairing.

Documentation

Topic Read
Run Running Koed · Configuration · Server deployment boundary
Desktop Desktop UI · Packaged Desktop · Desktop CLI · Managed Conversation routing
Memory Service sequence overview · Durable Memory Answer · Curated Memory · Raw ingestion and Projection
Teams Team collaboration · Shared memory owner workflow
Operations Security · Backup and restore · Upgrades · Observability
Project Glossary (CONTEXT.md) · ADRs · Release versioning · Commercial feature boundary

Personal Projects support direct inclusion, Git Anchor and exact Folder rules, and Project-only exclusions. Add to Project keeps recorded source context and Capture Targets independent. Projects are available directly; no existing-Project upgrade or activation step is required. See the Personal selection contract. For practical steps, see Organize Conversations without losing the source.

Security

The Operator (the person who runs Koed) controls the deployment. Clients use API Tokens, and Koed stores only token hashes. Keep Postgres and Redis on private networks. On a VPS or team server, turn on envelope encryption for Memory and evidence.

Caution

Do not report vulnerabilities or share Memory data in public issues. Use the private process in SECURITY.md. To harden a deployment, see docs/security.md.

About

Open source, automated memory layer that builds as you work.

Topics

Resources

Contributing

Security policy

Stars

24 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages