Back to directory

ctx

A local CLI toolchain that indexes months of existing coding-agent session history on a developer's machine so it can be searched, blamed to code, and cut down before feeding it back to an agent.

ctx

ctx is an open, local, fast command-line toolchain for context engineering that searches the coding-agent session history already sitting on a developer's machine, in files under directories such as ~/.claude and ~/.codex. ctx setup discovers those history sources and converts each provider's own format into consistent local records for sessions, messages, tool calls, relationships, and repository activity, without modifying the originals, then keeps that index current automatically as history changes.

ctx graph maps relationships across a codebase, and ctx sift cuts noisy tool output before an agent reads it. Unlike agent memory that compacts what happened into a summary that can go stale, ctx keeps the real transcripts, letting a session recover earlier decisions, constraints, prior investigations and failed approaches, and letting attribution point at the session that wrote a given piece of code; it also understands how parent sessions, subagents, and forks relate to each other.

It is written in Rust and installs through a shell or PowerShell script.

More in Coding agents

See all 793
  • The City

    github.com

    A native macOS app that shows Claude Code runs as a city, with each project as a building, each team as a floor of robots, and every animation driven by a real event from the claude CLI's stream.

  • rig

    tryrig.ai

    A small, single-binary agent runtime that points at any OpenAI-compatible model, local or hosted, reads and edits a repository's code, runs its tests and remembers what it learned, with a loop implemented in a few hundred lines.

  • Jauvex

    jauvex.reindent.com

    An Electron desktop app that puts Claude Code, Codex and Grok coding-agent sessions side by side and lets you steer them by voice, with a small model handling fast routing decisions.