agentctx
Star on GitHub

Glossary

The vocabulary of agent context.

A short, plain-language guide to the terms we use across the site, and the ideas behind them.

Agent amnesia
The experience of re-explaining your project at the start of every coding-agent session. It is less a failure of memory than of structure: the agent never held a lasting model of the project to begin with.
See alsoSessionPersistent context
Context engineering
The practice of deciding what information an agent sees, in what shape, and at what moment. It extends prompt writing to everything around the prompt: files, history, tools and background knowledge.
See alsoContext windowContext layer
Context layer
A persistent, structured model of a project that sits between you and your coding agents. It records the shape of the system, the decisions behind it and the work in flight, so any session can start informed. agentctx is an open source, local-first context layer.
See alsoPersistent contextProject model
Context window
The limited amount of text a model can consider at once. Everything the agent knows about your task in a given moment has to fit inside it, which is why what gets loaded matters as much as how much.
See alsoContext engineering
Decision record
A short note capturing a choice that shaped the project and the reasoning behind it. Decision records are what let an agent avoid re-proposing an approach you already rejected.
See alsoProject model
In-flight work
Features and changes that are started but not finished, along with why they are in that state. It is the part of a project that notes files most often miss and a fresh session most needs.
See alsoProject modelSession
Local-first
Software that keeps its data on your own machine by default and works without a hosted service. For a context layer, it means your project understanding is built and stored locally from your own sessions.
MCP (Model Context Protocol)
An open protocol, introduced by Anthropic in November 2024, that gives AI agents a standard way to use external tools and data sources. A context layer shipped as an MCP server can reach any agent that supports the protocol with a single config entry.
See alsoMCP server
MCP server
A program that exposes tools or data to agents over MCP. Agents discover what the server offers and call it as needed, without a bespoke integration for each agent.
See alsoMCP (Model Context Protocol)
Persistent context
Project knowledge that outlives any single session, so an agent can pick up where the last one left off, across days, machines and eventually teammates.
See alsoContext layerSession
Project model
The structured understanding of a codebase that a senior teammate carries around: which parts are stable, which are fragile, what the current bets are and why past calls were made. Contrast with a log of events.
See alsoDecision recordIn-flight work
Session
One conversation with a coding agent, from first prompt to last. Without a context layer, nothing the agent learned in a session carries into the next one.
See alsoAgent amnesia

Ideas are cheaper to test than to define.

Install the client and see persistent context in your own project.