Skip to main content

lc

lc lists local coding-agent sessions for the Git repository you are in. It reads local session stores only; no transcript leaves your machine.

Install

There are no runtime dependencies. From this checkout:

sh scripts/install.sh

The installer prefers uv tool install, then pipx, then pip --user. Make sure the resulting scripts directory is on your PATH, then run lc.

After the first release, users will install it with:

uv tool install list-coding-agents

Quick start

# Sessions for the current repository
lc

# Browse another directory
lc -I ~/projects/lc

# Restrict to agents; an existing directory can be positional too
lc codex claude
lc ~/projects/lc codex

# Every repository or machine-readable output
lc --all
lc --json

By default, lc shows at most 40 matching sessions. Use --limit 0 for all of them.

Filters

lc --agent codex --agent claude
lc -X gemini
lc --only-folder api
lc --except-folder 'worktrees/*'
lc --ids
lc --no-size

--only-folder and --except-folder accept a subdirectory, absolute path, glob, or bare directory name. lc --help has the full option list.

Interactive browser

lc -I opens a terminal browser with an agent/directory pane, a title pane, and a Markdown-rendered preview. Codex is blue; Claude Code uses the orange accent.

Key or action Result
j / k, arrows Move through sessions
gg / G First / last session
Ctrl-D / Ctrl-U, Page Up / Down Move by a page
/ Filter agent, directory, or title
Drag Resize panes
[ / ] Resize the title pane without a mouse
h, u, H Hide a directory, undo, or restore all
i Toggle IDs
Enter Resume when the agent supports it
p Print the selected transcript path
q or Esc Quit

The selected session's age and transcript size appear at the bottom right.

Names and performance

Codex and Claude Code native names take precedence. Other stores fall back to the first useful user prompt. Generic startup titles and injected context are ignored.

Codex rollouts can add up. lc reads compact metadata first and only opens a full transcript when it needs a title. It keeps a disposable local cache at:

$XDG_CACHE_HOME/lc/codex-sessions.json

If XDG_CACHE_HOME is unset, the path is ~/.cache/lc/codex-sessions.json. The cache is validated with transcript timestamp and size. Delete it whenever you want; lc will rebuild it.

Supported stores

Claude Code, Codex, Droid, OpenCode, Cursor, GitHub Copilot, Grok, Kimi, and Gemini. Missing stores are ignored.

Development

uv run --no-project python -m unittest discover -s tests -q

The tests cover title fallbacks and the Codex cache contract.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

list_coding_agents-0.1.0.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

list_coding_agents-0.1.0-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

Details for the file list_coding_agents-0.1.0.tar.gz.

File metadata

  • Download URL: list_coding_agents-0.1.0.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for list_coding_agents-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b2308f2bc30db7e83c89a52a7ad20553102cb2fc9dedee1cfa24433a3fd751be
MD5 a49249d19ffb4afd1bb5fa3d7d24eb97
BLAKE2b-256 27eba9c05ccd568a68ede37572a02179922ff2a4e83c880375a981d5eef8eeb9

See more details on using hashes here.

File details

Details for the file list_coding_agents-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for list_coding_agents-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51744339c12b680cfe80f1bd0b08988fdc7aa40e73afe70da4f5f460483c1bab
MD5 66c2003d4706733aae01b52a9e75ffb7
BLAKE2b-256 dd2fb0529d3e9a8deb07e50a510ce47729a8483cefef62ec6771c5ed1dfa7a73

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page