agentctx
Star on GitHub

Vision

Agents are capable. They are also unmoored.

agentctx is an open source, local-first context layer for AI coding agents. This is why we think it needs to exist, and where we want to take it.

The problem

Agents don't forget. They never knew.

Every session with an AI coding agent starts the same way. You open the agent, describe your project, explain the architecture, remind it what you were in the middle of, and then you build something. The next day, you do it again.

This isn't a memory problem. Memory implies the agent once knew and lost it. The deeper issue is structural: today's coding agents have no persistent model of your project. No understanding of the decisions that shaped it, the patterns you've settled on, or the half-finished features and the reasons they're half-finished.

The idea

Context is not a log.

Most tools treat this as a retrieval problem: capture events such as tool calls, conversations and outputs, then surface them later when something looks relevant. That is useful, but it is not sufficient.

A senior engineer joining your team doesn't start by reading the commit log. They form a mental model: which parts of the system are stable, which are live explosives, what the current bets are, and why past decisions were made. That structured understanding is what makes a teammate valuable rather than just informed. It is the layer agentctx builds.

Why now

The surface already exists.

MCP gave agents a standard way to use tools, and it is supported across the major coding agents. That means a context layer built as one MCP server can reach many agents with a single config entry, instead of a custom integration for each.

The developers using these agents daily are the ones who feel the amnesia most. They have already accepted that agents do meaningful work, and many have tried hand-maintained notes files and found them tedious.

The long bet

Context as shared infrastructure.

Coding agents today are used in sessions: conversations that begin and end. That is a transitional form. The destination is agents that work alongside you for weeks and months, accumulating genuine understanding of what you are building and how you build it.

That needs infrastructure nobody has built yet: a standard for persistent project context that lets an agent pick up where it left off, across sessions, machines and teammates. Like HTTP, it should not belong to any one browser, or in this case any one agent or company.

What we are building toward

  1. Near term

    The best persistent context for Claude Code

    Local, fast, zero friction, no API key, no cloud dependency. Install once and stop thinking about it.

  2. Medium term

    A reference implementation

    A living model of architecture, decisions, active work and patterns, not just a store of what happened.

  3. Long term

    An open context protocol

    The spec, tooling and community to make project context a first-class primitive any agent can implement.

Early work, built in the open.

Star the repo to follow along, or try the client and tell us where it breaks.