# ctxrs/ctx

Instant recall for coding agents. Search the history already on your machine. Git blame, but for agent sessions.

Repository: https://github.com/ctxrs/ctx
Canonical: https://ross.abutalabs.com/products/ctx
Homepage: https://ctx.rs
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: agents, ai, claude, codex, coding-agents, cursor, developer-tools, rust, worktrees, agent, agent-skills, agentic, agentic-ai, agentic-workflow, antigravity, claude-code
Last push: 2026-09-03T02:00:52+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 100, longevity 13
- inputs: {"age_days": 191, "days_push": 0, "days_rel": 0, "gap_med": 0, "n_releases_24m": 34}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1058, forks 67 (observed 2026-09-03T02:15:10.309839+00:00)

## What it is
ctx is an open-source Rust CLI that indexes and searches local coding-agent session transcripts and tool calls across providers like Claude Code, Codex, and Cursor. It gives agents fast, token-efficient recall of past sessions, with a paid 'ctx pro' add-on that maps code lines, commits, or PRs back to the agent session that produced them.

## Use cases
- search past coding agent session history locally
- find why a line of code was written by tracing it to the agent session
- let agents recover decisions and failed approaches from earlier sessions
- reduce token spend when agents need historical context
- audit previous agent sessions in detail
- resume work across multiple agent threads

## When to choose
- you use coding agents like Claude Code, Codex, or Cursor and want them to recall prior sessions
- you want fast local search over agent transcripts without sending data to the cloud
- you need to trace code changes back to the agent conversation that produced them
- you want to avoid lossy agent-memory summaries

## When to avoid
- you don't use coding agents or have no local session history
- you need team-shared history across machines (attribution only works for local sessions)
- you need a hosted or web-based search interface

## Facets
- artifact type: cli-tool
- maturity: active
- function: search-engine, cli, developer-tools, agent-framework
- domain: developer-tools
- platform: windows, cli, rust
- tags: agent-history, session-search, git-blame, claude-code, codex, cursor, transcript-indexing, tantivy, agent-skills, command-line, ai-agents, search, macos, linux

## Member repositories
- ctxrs/ctx (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:10.309839+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:02:12.772419+00:00, confidence not recorded.
  - readme: https://github.com/ctxrs/ctx (fetched 2026-09-03T02:15:10.309839+00:00, sha 0f6a160d33d7)
  - homepage: https://ctx.rs (fetched 2026-08-29T13:03:17.067513+00:00, sha 98c7cea2b300)
  - site_page: https://ctx.rs/getting-started/install (fetched 2026-08-29T13:03:17.077044+00:00, sha 2a293e6d481b)
  - site_page: https://ctx.rs/first-search (fetched 2026-08-29T13:03:17.080021+00:00, sha 08d84677123c)
  - site_page: https://ctx.rs/changelog (fetched 2026-08-29T13:03:17.082358+00:00, sha f1cc8fab838d)
  - site_page: https://ctx.rs/pro (fetched 2026-08-29T13:03:17.085616+00:00, sha e749acfac8b0)
  - site_page: https://ctx.rs/skill (fetched 2026-08-29T13:03:17.087409+00:00, sha 658a7162bd1b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
