Skip to main content

Easily browse and resume previous conversations.

Project description

llm-convos

PyPI Changelog Tests License

A plugin for LLM that lets you browse, search, and resume past conversations interactively.

Installation

llm install llm-convos

Usage

llm convos

This opens an interactive list of your recent conversations. Use / to navigate, and q or Esc to quit.

From the picker you can:

  • Press Enter to resume the selected conversation
  • Press s to show the full conversation rendered as markdown in your terminal
  • Press w to write the conversation to a markdown file (prompts for a filename, pre-filled with the conversation ID)

Pass -c N/--context N to print the last N exchanges before resuming, so you have context for where you left off.

Show a conversation directly

llm convos show <conversation-id>

Renders the full conversation as markdown in your terminal. Pass -o/--output to write to a file instead:

llm convos show <conversation-id> -o transcript.md

Modes

Flag Behavior
(default) Interactive list, inline (doesn't take over the full screen)
-m preview Interactive list with a scrollable preview pane below
-m plain Non-interactive table, useful for scripting

Plain mode is used automatically when stdout is not a tty.

Searching

llm convos -s asyncio

Filters conversations to those containing the search term in any prompt or response. In interactive mode the matching excerpt is shown (with the term highlighted) instead of the first prompt.

Options

llm convos:

-n, --limit INTEGER      Max conversations to show (-1 for all) [default: 20]
-s, --search TEXT        Filter by prompt/response text
-m, --mode [interactive|preview|plain]
                         Display mode
-d, --database FILE      Path to log database (default: llm's logs.db)
-c, --context INTEGER    Exchanges to print before resuming [default: 0]

llm convos show <conversation-id>:

-o, --output FILE        Write markdown to this file instead of printing
-d, --database FILE      Path to log database (default: llm's logs.db)

Keyboard shortcuts

Key Action
/ Navigate the conversation list
Ctrl+↑ / Ctrl+↓ Jump to top / bottom of list
k / j Scroll the preview pane up/down
gg / G Jump to top / bottom of preview pane
/ Search / filter conversations (pre-filled with current search term)
Enter Resume selected conversation
s Show selected conversation as markdown in terminal
w Write selected conversation to a markdown file
q / Esc Quit

Custom database path

If you keep your LLM logs at a non-default path, pass it explicitly:

llm convos -d /path/to/logs.db

The LLM_USER_PATH environment variable is also respected automatically.

Development

git clone https://github.com/daturkel/llm-convos
cd llm-convos
uv run pytest

To run LLM with your in-development version of the plugin:

uv run llm convos

Project details


Download files

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

Source Distribution

llm_convos-0.2.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

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

llm_convos-0.2.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file llm_convos-0.2.0.tar.gz.

File metadata

  • Download URL: llm_convos-0.2.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for llm_convos-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f17838d30d6c579601f4d7fbfb28e74deb278bb38503fb8b816a87911e4f9242
MD5 dcc5d7d28aae5a842f70f112e8b4a118
BLAKE2b-256 c5b65f196b330f17e8b072cc178704c2577564f4b32fd75df55dcedc82eeffea

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_convos-0.2.0.tar.gz:

Publisher: publish.yml on daturkel/llm-convos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_convos-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: llm_convos-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for llm_convos-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c794f247b8427abf7c739ecdbf6c3974ff48dfaa352c2dc63439eb05c5fe1fd5
MD5 6f5fd145b4e547b59ef1047f9711adb5
BLAKE2b-256 d5ace97159b2f7b127dd2db9eaa3c9a71f0642d237b433dcf599f5c9ec6ebc05

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_convos-0.2.0-py3-none-any.whl:

Publisher: publish.yml on daturkel/llm-convos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page