agentctx
Star on GitHub

Scenarios

Where agents forget, and what it costs.

Persistent context is easy to nod along to and hard to picture. These are six ordinary moments from a working week, each shown twice: once with a session that starts blank, once with an agent that starts informed.

01Monday morning

Picking up Friday's half-finished refactor

You stopped mid-migration from one HTTP client to another. The weekend erased the session.

Without a context layer

The agent sees two clients in the codebase and has no idea which direction the migration runs. It helpfully "cleans up" by standardizing on the old one.

With agentctx

Active work says the migration is in flight, which modules are done and which remain. The agent continues in the right direction without being told.

Relies on: Active work
02Code review

The suggestion that was already rejected

Your team chose a plain database table over a message broker months ago, for good reasons.

Without a context layer

The agent proposes adding a broker because it is the textbook answer. You explain the history again, for the fourth time this quarter.

With agentctx

The decision record names the rejected option and why. The agent works inside the constraint, and flags it only if the stated revisit condition is met.

Relies on: Decisions
03New teammate

Onboarding someone, human or agent, to a messy repo

The folder structure reflects three eras of the product, and only one is current.

Without a context layer

A new session treats every pattern as equally valid and copies the legacy one because it appears most often in the code.

With agentctx

The architecture view marks which areas are current and which are being retired, so new code follows the pattern you actually want.

Relies on: Architecture
04Bug hunt

Debugging something you already ruled out

Two hours were spent proving the cache is not the cause of a latency spike.

Without a context layer

You switch tools, start a fresh session, and the agent's first hypothesis is the cache. The two hours are spent again.

With agentctx

The ruled-out causes are part of active work. The new session starts from what is known to be false.

Relies on: Active work
05Switching tools

Moving between agents mid-project

You start in one coding agent and finish in another because it suits the task better.

Without a context layer

Each tool keeps its own private history, so switching means starting from zero and re-pasting a summary you wrote by hand.

With agentctx

The understanding lives in the project, not in a vendor's session history, so the second agent reads the same model the first one built.

Relies on: Shared layer
06Quarterly planning

Answering "why is it built like this?"

Someone asks why authentication is split across two services. The people who decided have moved on.

Without a context layer

The reasoning exists only in old chat threads and a closed pull request nobody can find. The answer is a guess.

With agentctx

The decision and its context are stored next to the code, searchable by you and by your agent.

Relies on: Decisions

Recognize any of these?

Measure how much of your week goes to re-explaining, or see how the layer is put together.