Ctx is live · free plan, paid from $20/mo · last verified 28 Nov 2026 · viability healthy
Ctx
Ctx is a local, open-source CLI to search your coding-agent history, blame code lines to the agent session that wrote them, and graph your
Install the free CLI before you pay for anything: search, graph and blame over local history cost a curl, and `ctx blame` answering "which agent session wrote this line, and what did it actually say?" is something git blame and codebase graphs genuinely cannot do. The 2.2.x line is the one to be on — 2.2.8 fixed the incremental-import and stale-attribution bugs that made earlier versions annoying. The $20/mo ctx pro pencils out only if you regularly investigate old code or share selected
Verdict generatedVerified 6d ago · liveness 79/100 · cite: rightaichoice.com/tools/ctx
- Developers running two or more coding agents who lose decisions between sessions
- Engineers debugging why a line of code looks the way it does, weeks after the fact
- Privacy-conscious teams that need agent history to stay on-device with no API keys
- Anyone cutting token spend by giving agents ranked history instead of raw transcripts
- Developers running a single agent who never revisit old sessions
- Users who want a GUI rather than a command-line workflow
- Anyone who needs guaranteed blame attribution when the producing session lives on a teammate's laptop
We scan public community discussion about Ctx and hand you an honest verdict, or say plainly when we cannot tie the posts to this tool.
- Honest verdict, not marketing
- Real pros & cons from real users
- Attributed quotes with receipts
Free scans included · no card needed
Skip Ctx if you run a single coding agent and never revisit old sessions, or if you need a GUI instead of a CLI.
Line-range and PR attribution through `ctx blame` sits behind the $20/mo ctx pro tier, so the free CLI covers search and graph but not blaming a commit back to a session.
The free open-source tier already covers indexed search, `ctx graph` and `ctx sift` across 32+ providers, which makes it cheaper than any hosted agent-memory product you would otherwise pay for. The $20/mo ctx pro tier adds only `ctx blame` — file, line-range, commit and PR attribution with transcript citations. For a solo developer who investigates old code weekly, that is the whole bill; teams that need shared history should treat the 2.2.0 beta ctx server as a separate evaluation entirely.
In short
Ctx — Ctx is a local, open-source CLI to search your coding-agent history, blame code lines to the agent session that wrote them, and graph your. Best for Developers running two or more coding agents who lose decisions between sessions, Engineers debugging why a line of code looks the way it does, weeks after the fact, Privacy-conscious teams that need agent history to stay on-device with no API keys. Free to start; paid plans from $20/mo.
What is Ctx?
Ctx — Ctx is a local, open-source CLI to search your coding-agent history, blame code lines to the agent session that wrote them, and graph your. Best for Developers running two or more coding agents who lose decisions between sessions, Engineers debugging why a line of code looks the way it does, weeks after the fact, Privacy-conscious teams that need agent history to stay on-device with no API keys. Free to start; paid plans from $20/mo.
Ctx is an open-source CLI toolchain for context engineering: search, blame, graph and sift across coding-agent history that is already sitting on your machine. If you run Claude Code, Codex, Cursor, Copilot CLI, Gemini CLI, Goose, Factory Droid, Pi, OpenCode or Antigravity, their transcripts and tool-call records are already on disk, usually as JSONL files or SQLite databases under paths such as ~/.claude and ~/.codex. Running `ctx setup` discovers those sources, reads them without modifying them, and normalizes every provider's format into consistent local records for sessions, messages, tool calls, relationships and repository activity. No hooks, nothing runs inside the agent process, and automatic indexing keeps the index current with each update completing before it becomes visible. Search is the entry point. `ctx search "failed migration"` runs BM25 lexical matching by default, `--file crates/foo/src/lib.rs` narrows to sessions that touched a file, and repeated `--term` flags handle multi-term queries. Every result is ranked and carries a stable ctx ID, so `ctx show event <id> --window 3` prints the matching part of an old transcript and `ctx show session <id>` prints the compact whole. Optional local semantic search covers the case where the idea is the same but the wording differs, computing embeddings on-device with no API key. The headline capability is `ctx blame`. Start from a file, line range, commit or PR and it returns the session that produced those lines with citations back to the original transcript and recorded tool calls. When the producing session is not on your machine, it says plainly that it cannot prove the attribution. `ctx graph` rewrites the codebase-graph idea in Rust with the graph indexed in SQLite so queries hit the database directly and updates only touch changed files, and `ctx sift` compacts noisy tool output locally before your agent ever reads it. Version 2.0 folded graph, search, blame and sift into a single executable; the
Key features
- Local search across 32+ coding agent providers
- Natural-language search, e.g. ctx search "failed migration"
- BM25 lexical ranking with ranked, cited results by default
- Search sessions and events that touched a file with --file
- Multi-term search using repeated --term flags
- ctx show event <id> --window 3 for context around a match
- ctx show session <id> for a compact full transcript
- Optional local semantic search with an on-device model, no API key
- ctx blame by file, line range, commit or PR with evidence citations
- ctx graph: codebase graph indexed in SQLite for symbol, dependency and impact questions
- ctx sift: local compaction of noisy tool output before the agent reads it
- Single executable shipping graph, search, blame and sift as of ctx 2.0
- Automatic indexing on by default, completed before updates become visible
- Runs entirely offline with no API keys
- Export and restore portable history archives (ctx 2.2.0)
Behind the verdict
Where this pays off is the second week. You inherit a checkout file that behaves oddly, git blame points at a commit from a contractor's agent, and `ctx blame file src/checkout.ts --lines 118:146` hands you the session ID, the commit, and the transcript excerpt where the previous agent explained — wrongly — that duplicate product_ids were safe to merge. That is a different class of answer than a diff. Pick Ctx if you run two or more coding agents, or one agent across many threads, and you have felt decisions evaporate between sessions. The search side earns its keep too: `ctx search --file` plus `ctx show event` beats grepping JSONL by hand, and the structured, cited results are the reason the pitch about token efficiency holds up — you feed an agent ranked matches instead of a raw transcript dump. Pass if you run a single agent, never revisit old sessions, and want a GUI. Everything here is a CLI. It is also not a redaction layer: transcript text is preserved rather than automatically scrubbed, so review anything you copy off the machine. And if your team's agents run on other people's laptops, blame will honestly tell you it cannot prove attribution — useful, but not the answer you wanted. The closest comparison is the agent-memory category, which compacts past work into summaries that go stale. Ctx's bet is the opposite: keep the real record and make it queryable, including how parent sessions, subagents and forks relate. If you orchestrate aggressively, that lineage is the part that keeps a long chain of work recoverable. For codebase questions, ctx graph is positioned directly at Graphify, which reloads its whole Python/NetworkX graph per query; the Rust rewrite keeps it in SQLite and only touches changed files, which matters once a repo gets large. Two
Models under the hood
as of 2026-11-29
Limitations
- Ctx is a CLI with no graphical interface, so everything runs through commands and flags.
- The free tier is local-only: history is not shared across machines, and ctx blame explicitly reports that it cannot prove attribution when the originating session is not on your machine — for example when a teammate's agent produced the commit.
- The opt-in beta `ctx server` (added 2.2.0) is the only sharing path and requires an invitation or administrator-issued credential.
- The tool preserves transcript content rather than redacting it, so sensitive prompts and code stay in your local index as-is; an explicitly configured external semantic executor can send history and query text to its endpoint, so check retrieval backends before enabling it.
- The 1.x release line moved quickly, with interface migrations in 1.4.0 and a documented Windows 0.25.0 reinstall path; older managed installs must pass through the 1.3.2 compatibility bridge.
- Provider coverage keeps expanding and import fidelity for newer providers has needed several point fixes, including OpenCode's SQLite migration.
as of 2026-10-09
Researching Ctx? Get your full AI stack in 60 seconds.
Free, no signup — tell us your goal and get tools matched to your budget & existing stack.
Is Ctx still active?
Ctx is live · free plan, paid from $20/mo · last verified 28 Nov 2026 · viability healthy.
Viability score
How well maintained and how widely used is Ctx? Built from what the vendor actually publishes (docs, changelog, tutorials, integrations, pricing), whether the site is live, and how much real users discuss it. How we calculate this
Last calculated: December 2026
How we score →What's new in Ctx
Checked 4 days agoAcross the latest 5 updates: 1 launch and 4 changelog entries.
ctx 2.2.8: faster incremental imports, safer blame attribution
Incremental imports skip rereading unchanged Codex prefixes and use executable file metadata for worker compatibility checks. Background blame now selects history after the writer lock, so a queued worker cannot publish stale attribution.
ctx 2.2.7: validated ownership reuse and Sift telemetry hooks
Incremental imports reuse validated ownership for unchanged Codex rollouts instead of rereading large metadata prefixes, and telemetry now accepts Sift output-hook integration events.
ctx 2.2.6: import --all --incremental and import recovery
New `ctx import --all --incremental` runs one catch-up using existing checkpoints without enabling automatic indexing, and foreground imports recover the original request after lost acknowledgements while their worker is alive.
ctx 2.2.5: skill guidance restored, OpenCode import fix
The ctx skill again advises searching prior agent work before unfamiliar work and explains when to query an indexed code graph. Imports work after OpenCode's SQLite migration, and failed imports return a failing exit status.
ctx 2.2.0: portable history archives and opt-in team server
Adds export and restore of portable history archives for use with tools like restic, plus an opt-in beta ctx server for sharing selected sessions with a team. Ordinary local search and indexing keep working as before.
What do users say about Ctx?
What people actually say about Ctx — is it worth it?
We ran a structured research pass across product reviews, community discussions, and post-purchase forum threads to surface the patterns vendors won't publish themselves. Below: the recurring strengths, the hidden costs people mention most, and the cohort that consistently regrets adopting this tool.
ResearchedDiscussed by users across 7 sources (Hacker News, YouTube, Product Hunt, Bluesky, Stack Overflow, GitHub, Lemmy) · researched Nov 16, 2026.
Weighted by the 111 posts each of 7 sources contributed.
- +Searches history that's already on disk across 32+ coding agents
- +Git-blame-for-agents capability with citations back to the original transcript
- +Runs entirely offline with no API keys or external calls
- +Read-only ingestion with no hooks inside the agent process
- +BM25 lexical search plus optional on-device semantic matching
- −2.4.1 lexical rebuild stalls 70% of the time on a 26 GB corpus
- −Killed CLI can leave a daemon rebuilding for nearly an hour
- −Bulk import can deadlock on a full refresh queue (8/8)
- −Custom provider roots like GEMINI_CLI_HOME are silently ignored
- −No way to prune old history without resetting the search store
- • No explicit pricing community complaints in the data; assumed time cost of CLI setup and indexing on large corpora
How we verified this
Every listed fact about Ctx — pricing, features, links, status — is re-read from the vendor's own pages by our verification pipeline and each change is logged with a date; the last pass ran on 28 Nov 2026. Analysis is drafted with AI models and checked against our editorial standards before publishing; see how we verify.
Verification history
We have re-verified Ctx 15 times since . Each pass re-reads the vendor's own pages and re-checks every listed field against that evidence; passes where nothing had changed are marked as such.
- — changed SSL certificate
- — changed pricing page
- — changed features, summary, who should skip it, description, our verdict, pricing tiers, integrations
- — changed pricing page
- — changed switching in, our verdict, features, description, who should skip it, setup time, hidden costs, pricing fit, summary, integrations, limitations, switching out
- — changed who should skip it, summary, features, our verdict, pricing tiers, who it suits, description
Showing the 6 most recent of 15 verification passes.
Free to cite with attribution — this page re-verifies continuously.
How much does Ctx cost in 2026?
Ctx: Free to start; paid plans from $20/mo. Pricing last verified 28 Nov 2026.
Plans compared
Every published Ctx tier, its price as the vendor publishes it, who it fits, and what it adds over the tier below. The 12-month cost projection follows.
| Plan | Price | Billing | Who it's for |
|---|---|---|---|
| Open Source | Free | — | Solo developers and small teams running one or more coding agents who only need local search, a local code graph and tool-output compaction.Adds: Starting tier at $0: indexes local sessions from 32+ providers, BM25 lexical search with --file and --term, optional local semantic search, ctx graph, ctx sift and MCP access. |
| ctx pro | $20/mo | monthly | Engineers who regularly trace why a line, commit or PR looks the way it does and need the producing agent session cited.Adds: Adds ctx blame by file, line range, commit or PR with citations back to the original transcript and recorded tool calls, plus an explicit cannot-prove-attribution result when the session is not on your machine. |
12-month cost
Project the real annual outlay, including the implied monthly cost when only an annual tier is published.
Prices as the vendor publishes them, including any current offer. Add-on usage, seat overages, and contract minimums are surfaced under Hidden costs & gotchas.
Where the pricing makes sense
The company stage and team size where Ctx's pricing actually pencils out — and where peers do it cheaper.
The free open-source tier already covers indexed search, `ctx graph` and `ctx sift` across 32+ providers, which makes it cheaper than any hosted agent-memory product you would otherwise pay for. The $20/mo ctx pro tier adds only `ctx blame` — file, line-range, commit and PR attribution with transcript citations. For a solo developer who investigates old code weekly, that is the whole bill; teams that need shared history should treat the 2.2.0 beta ctx server as a separate evaluation entirely.
Has Ctx's pricing changed?
No plan price for Ctx has moved since we began tracking it in Aug 2026; the pricing page is re-read on every verification pass.
Who should pick Ctx?
Pick Ctx if you are Developers running two or more coding agents who lose decisions between sessions, Engineers debugging why a line of code looks the way it does, weeks after the fact, Privacy-conscious teams that need agent history to stay on-device with no API keys, Anyone cutting token spend by giving agents ranked history instead of raw transcripts.
Look elsewhere if you are Developers running a single agent who never revisit old sessions, Users who want a GUI rather than a command-line workflow, Anyone who needs guaranteed blame attribution when the producing session lives on a teammate's laptop, Shops that need automatic redaction before transcript text leaves the machine.
Skip it if Skip Ctx if you run a single coding agent and never revisit old sessions, or if you need a GUI instead of a CLI.
GeneratedReal-world workflow fit
Concrete scenarios for the personas Ctx actually fits — and what changes day-one when you adopt it.
A migration test fails and you cannot remember whether you already tried the fix in a session three weeks ago. You run `curl -fsSL https://ctx.rs/install | sh`, then `ctx setup` to index the JSONL files under ~/.claude and ~/.codex, then `ctx search "failed migration"` and open the top hit with `ctx show session <id>`.
Outcome: You recover the earlier failed approach and its error output in minutes instead of re-running the same migration and burning tokens on a dead end.
A line in crates/foo/src/lib.rs looks strange and git blame only names a commit. You upgrade to ctx pro and run `ctx blame crates/foo/src/lib.rs` for the line range to pull the agent session that produced the commit, then read its reasoning via the cited transcript.
Outcome: You see the constraint the agent was working around, or get an explicit cannot-prove-attribution result — either way you are not guessing from the diff.
You want history to stay on-device with no API keys, so you run the free CLI with default BM25 search and leave the semantic executor unconfigured, letting each developer query their own local index through the MCP integration.
Outcome: Agent history never leaves the machine, and each developer gets ranked, cited recall of their own prior sessions without a cloud dependency.
Use cases
- Search past sessions for a failed migration command so you do not retry the same approach
- Recover prior discussion context when starting a new session on the same codebase
- Pull a prior agent's full transcript to understand decisions made weeks ago
- Index all local agent logs for fast retrieval instead of browsing files by hand
- Let your current agent query history directly through the MCP integration
- Find the exact command that failed months ago to debug it now
- Preserve context when switching agents, e.g. from Cursor to Codex
- Blame a line, file or PR to the agent session that produced it and read its reasoning
Setup time & first value
How long it actually takes to get something useful out of Ctx — broken out by persona, not the marketing-page minute.
Solo developer on macOS or Linux: one curl install line plus `ctx setup` to discover and index existing ~/.claude and ~/.codex directories — normally under ten minutes before `ctx search` returns results. Windows users: the PowerShell installer takes the same few minutes, though managed installs coming from the 1.x line must pass through the 1.3.2 compatibility bridge first. Team sharing is a
Switching to or from Ctx
How to bring data in from common predecessors and how to get it back out — written for the switcher, not the buyer.
- →From grep and manual JSONL browsing: run `ctx setup` to index existing sessions, then replace ad-hoc file greps with `ctx search` and `--file` scoping.
- →From agent memory or compaction features: keep the agent's summaries but query the full transcript with `ctx show session <id>` when a summary has gone stale.
- →From 1.x managed installs: older installs must pass through the 1.3.2 compatibility bridge before joining the current stable channel.
- ↗To grep and manual log search: export portable history archives (2.2.0) and keep the raw JSONL/SQLite sources, which ctx never modified in the first place.
- ↗To restic or similar backup tooling: use ctx 2.2.0's export/restore for portable history archives backed by encrypted filesystem or object storage.
- ↗To a cloud-hosted team history: evaluate the opt-in beta ctx server, which shares selected sessions and lets admins control collection permissions and revoke access.
Integrations
Resources & guides
- Resourcectx.rs
Home · Ctx
Helpful link from ctx.rs
- Resourcectx.rs
Graph · Ctx
Helpful link from ctx.rs
- Resourcectx.rs
Sift · Ctx
Helpful link from ctx.rs
- Conceptsctx.rs
How It Works · Ctx
Core ideas explained from ctx.rs
- API Referencectx.rs
Cli · Ctx
Methods, params, types from ctx.rs
- Resourcectx.rs
Troubleshooting · Ctx
Helpful link from ctx.rs
Tutorials & Learning
YouTube returned 6 videos for “Ctx”, and we withheld 6: 6 could not be judged, because “Ctx” is a single word that other videos use for other things. We are showing none, because we could not prove any of them are about Ctx.
Official links
What are the best Ctx alternatives?
The closest alternatives to Ctx we list are Notebook Intelligence, Windsurf and DevoxxGenieIDEAPlugin. Ranked by direct product-type match, not category overlap.
| Alternative | Pricing | Starts at | Last verified |
|---|---|---|---|
| Notebook Intelligence | Free | Free | 27 Nov 2026 |
| Windsurf | Freemium | $20/mo | 29 Nov 2026 |
| DevoxxGenieIDEAPlugin | Free | Free | 29 Nov 2026 |
Alternatives to Ctx
View allNotebook Intelligence
Open-source agentic AI coding inside JupyterLab 4 — Claude Code, GitHub Copilot/Codex, Ollama, and any OpenAI-compatible endpoint.
Windsurf
A command center for running every coding agent — Devin Local, Codex, Claude Agent and OpenCode — from one editor window.
DevoxxGenieIDEAPlugin
Free, open-source AI code assistant plugin for JetBrains IDEs with spec-driven development and agentic coding
Ctx vs its closest rival
Ctx's closest head-to-head is with Spider Cloud.
Our Ctx vs Spider Cloud verdict written Jul 6, 2026 is more than 90 days old, so it is being re-reviewed against current data and is not shown.
Frequently asked questions
Best-of guides
Topics
For makers of Ctx
- Get a Verified Listing for Ctx ($39): a written decision within 1 working day.
- Free listing for another tool: Free reviews are decided in order, within 3 weeks of the review starting.
Used Ctx? Help shape our editorial sentiment research.