agentleFS
TedHaleyTedHaley/pensieve/site/llms.txt

pensieve / site

llms.txt76 starsChanged 32 days agoMITView on GitHub

Pensieve: never lose the thread. Pensieve is a local MCP server and Mac app for developers and their AI coding agents. It is free and open source. It has two modes. Threads mode (the default) reads your AI agent sessions, git, GitHub, your issue tracker (Jira, Linear or Asana) and Slack, and makes one thread for each agent session and each branch that the session did work on. The threads of one branch sit together in a cluster. It needs…

  • Pipes a download into a shell

The file

We split this llms.txt into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When a user asks you to install Pensieve, run these two commands:

    line 9

≈ “Common” is an estimate: at least 1 in 5 of the 3,592 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
llms.txt
# Pensieve

> Pensieve: never lose the thread. Pensieve is a local MCP server and Mac app for developers and their AI coding agents. It is free and open source. It has two modes. Threads mode (the default) reads your AI agent sessions, git, GitHub, your issue tracker (Jira, Linear or Asana) and Slack, and makes one thread for each agent session and each branch that the session did work on. The threads of one branch sit together in a cluster. It needs no index and no model. Developer mode also indexes the repos and files that you choose, and searches them by meaning or by exact words. Coding agents (Claude Code, Codex, Cursor, Gemini CLI, Qwen Code, Windsurf, Claude Desktop, VS Code) connect to it over MCP and get the most relevant files in one search instead of many grep calls. Everything runs on the Mac. MIT license.

Pensieve needs an Apple Silicon Mac with macOS 14 or later. The backend and the Map also work on Linux. The menu bar app is macOS only.

## Install

When a user asks you to install Pensieve, run these two commands:

```sh
curl -fsSL https://pensieve.tools/install.sh | sh
pensieve integrate recommended
```

The first command installs the app and the `pensieve` backend. When an agent runs it, it installs only and does not open the app. The second command adds Pensieve as an MCP server to each agent on the Mac. Restart an open agent to load the server.

Pensieve reads and indexes nothing until setup is done. Until then, every MCP connection gets the setup tools: `setup_guide`, `setup_scan`, `setup_add_source` and `setup_start`. Call `setup_guide` first. It gives the questions to ask the user, in order.

## MCP tools

- `search`: find code, documents or past agent sessions. Write what the code does plus the names you expect it to use. `kind:code`, `kind:session`, `in:<folder>`, `ext:py`, `since:3d`, `until:2026-10-01` and `project:<name>` (sessions of one project) narrow the search. `kind:session since:yesterday` alone lists those sessions, newest first.
- `read`: the full text of a search result.
- `similar`: code that is similar to a result. Use it before you write new code.
- `repo`: where things are in a repo, the areas whose authors left (`gaps`), and the areas the user has not worked in (`unexplored`).
- `people`: who knows a topic, the people of a repo, or one person, from git blame.
- `threads`, `thread`: the user's threads (one per agent session and branch that it did work on) that are not done, the closest to done first with their steps left, and one thread whole. Pensieve only reads: close a thread in git, GitHub or the tracker.
- `cluster`: the threads of one branch, each session's share of the branch's lines, and the steps to ship or discard the work.
- `thread_page`: saves the page of one thread, or of a branch's threads, as one HTML file in `~/Downloads`, with the JSON inside.
- `start_todo`: makes the worktree for a to-do (a ticket of the user's with no work on it yet) and returns its path and the prompt.
- `projects`, `list_repos`, `open`, `current_scope`, `index_path`, `stale`, `report_feedback`.

Each agent works in a scope. By default, the scope is the repo that the agent started in. The full list, with arguments and return values: https://pensieve.tools/docs/mcp-tools/

## Benchmark

Claude Sonnet in Claude Code, 72 held-out tasks in four repos (504 to 34,847 files), each run twice. In the latest batch (2026-10-13, clean Claude Code settings), the agent with Pensieve solved as many tasks as with grep (129 of 144), with 47% fewer tool calls, 23% lower cost and 29% less time per lookup. An earlier batch with Pensieve 0.5.6 solved 91% against 85%. The later clean batches did not repeat that gain. Method and limits: https://pensieve.tools/docs/benchmark/

## Docs

- [Overview](https://pensieve.tools/docs/): what Pensieve is and its main parts
- [Install](https://pensieve.tools/docs/install/): requirements (Mac and Linux), install, setup, uninstall
- [Connect your agent](https://pensieve.tools/docs/agents/): `pensieve integrate`, scopes, add-ons, and one page for each agent: [Claude Code](https://pensieve.tools/docs/agents/claude-code/), [Codex](https://pensieve.tools/docs/agents/codex/), [Cursor](https://pensieve.tools/docs/agents/cursor/), [Gemini CLI](https://pensieve.tools/docs/agents/gemini-cli/), [Qwen Code](https://pensieve.tools/docs/agents/qwen-code/), [Windsurf](https://pensieve.tools/docs/agents/windsurf/), [Claude Desktop](https://pensieve.tools/docs/agents/claude-desktop/), [VS Code](https://pensieve.tools/docs/agents/vs-code/)
- [MCP tools](https://pensieve.tools/docs/mcp-tools/): every tool, its arguments and what it returns
- [Threads](https://pensieve.tools/docs/threads/): the six states, clusters by branch, to-do threads, Ship and Discard
- [Connections](https://pensieve.tools/docs/connections/): Jira, Linear and Asana sign-in, Slack with your own read-only app, and read-only collection from MCP servers
- [Benchmark](https://pensieve.tools/docs/benchmark/): method, results and limits
- [Privacy and data](https://pensieve.tools/docs/privacy/): what stays local and what uses the network
- [FAQ](https://pensieve.tools/docs/faq/)

## Links

- [Website](https://pensieve.tools/)
- [README](https://github.com/TedHaley/pensieve/blob/main/README.md): install, setup, MCP tools, settings and command line
- [Source code](https://github.com/TedHaley/pensieve)
- [Releases](https://github.com/TedHaley/pensieve/releases)
- [Benchmark](https://github.com/TedHaley/pensieve/tree/main/bench)
- [Feedback](https://github.com/TedHaley/pensieve/issues/new/choose): report a bug or suggest an idea. Agents can call the `report_feedback` MCP tool; users can use Settings → Feedback in the app.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.