---
title: "Tau Extension"
description: "Give the Tau coding agent persistent Basic Memory: startup recall, knowledge capture as work settles, checkpoints before compaction, and shared session, task, and decision notes."
canonical_url: "https://docs.basicmemory.com/integrations/tau"
---
# Tau Extension

> Give the Tau coding agent persistent Basic Memory: startup recall, knowledge capture as work settles, checkpoints before compaction, and shared session, task, and decision notes.

The Basic Memory extension for [Tau](https://github.com/huggingface/tau) gives Tau sessions durable continuity. At startup it recalls the active branch's latest checkpoint, open tasks, and decisions; as work settles it captures what was learned; and before compaction it writes a checkpoint and waits for it to be saved, so a fresh or compacted session picks up where the last one stopped.

The extension is open source and lives in the basic-memory monorepo — browse the source in [`integrations/tau`](https://github.com/basicmachines-co/basic-memory/tree/main/integrations/tau). New in v0.24.

<warning>

**Tau compatibility.** The extension needs Tau APIs that aren't in a stock Tau release yet ([huggingface/tau#687](https://github.com/huggingface/tau/pull/687)). Stock Tau 0.4.1 is not enough — the extension refuses to load there rather than offer weaker continuity. The installer's `--sync` option sets up an isolated environment with a pinned compatible Tau build and Python 3.13+. It doesn't modify a global Tau install.

</warning>

---

## Installation

You need the Basic Memory CLI (v0.24+), [uv](https://docs.astral.sh/uv/), and Python 3.13+ (uv can install it for you).

<steps>

### Preview the install

```bash
bm install tau --dry-run
```

The preview lists every file it would create or replace: the extension in `~/.tau/extensions/basic-memory`, the setup skill in `~/.tau/skills`, and four prompt templates in `~/.tau/prompts`. Skills or templates you already have in another resource root are reused instead of copied.

### Install

```bash
bm install tau --sync
```

`--sync` also installs the pinned Tau environment through uv. The installer asks before applying the plan (`--yes` skips the prompt). If a file you already have differs from the bundled copy, the install stops; review it and rerun with `--replace` to approve replacing it. No configuration, credentials, projects, or notes are changed.

### Launch Tau

```bash
uv run --project ~/.tau/extensions/basic-memory tau
```

### Run setup

In Tau, run `/skill:basic-memory-setup` to choose the destination project, a coding or general profile, and the capture policy. Then run `/bm-status` to confirm the connection — a successful install alone doesn't prove Tau can reach Basic Memory.

</steps>

<note>

With no destination project configured, the extension's tools still work but automatic recall and capture stay off.

</note>

---

## Configuration

Setup writes `~/.tau/basic-memory.json`. Only this user-level file is read — repository files can't choose where Tau writes. A minimal general-profile config:

```json
{
  "project": "my-memory-project",
  "auto_recall": true,
  "capture_knowledge": true,
  "checkpoint_on_compact": true,
  "summarize_on_shutdown": true,
  "capture_transcript": false
}
```

<warning>

**Setting a project turns on automatic writes.** Knowledge capture and checkpoints use your active Tau model, which adds model requests and latency. Turn off `capture_knowledge` to save only at compaction and shutdown, or turn off those settings too to use the tools and recall only. If you choose a cloud or team project, automatic writes go there.

</warning>

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        project
      </code>
    </td>
    
    <td>
      unset
    </td>
    
    <td>
      Destination for automatic memory in the general profile
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        read_projects
      </code>
    </td>
    
    <td>
      <code>
        []
      </code>
    </td>
    
    <td>
      Up to six read-only projects to recall from
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        repositories
      </code>
    </td>
    
    <td>
      <code>
        []
      </code>
    </td>
    
    <td>
      Coding profiles keyed by Git checkout root
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        auto_recall
      </code>
    </td>
    
    <td>
      <code>
        true
      </code>
    </td>
    
    <td>
      Restore the branch checkpoint and related context on start, reload, resume, or branch
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        capture_knowledge
      </code>
    </td>
    
    <td>
      <code>
        true
      </code>
    </td>
    
    <td>
      Summarize new conversation when work settles
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        checkpoint_on_compact
      </code>
    </td>
    
    <td>
      <code>
        true
      </code>
    </td>
    
    <td>
      Wait for a checkpoint before compaction
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        summarize_on_shutdown
      </code>
    </td>
    
    <td>
      <code>
        true
      </code>
    </td>
    
    <td>
      Save outstanding work before closing a session
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        capture_transcript
      </code>
    </td>
    
    <td>
      <code>
        false
      </code>
    </td>
    
    <td>
      Also save public messages as transcript notes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        checkpoint_folder
      </code>
    </td>
    
    <td>
      automatic
    </td>
    
    <td>
      Coding: <code>
        tau/<repo name>
      </code>
      
      ; general: <code>
        tau/checkpoints
      </code>
    </td>
  </tr>
</tbody>
</table>

Set `TAU_BASIC_MEMORY_CONFIG` to use a different config file. See the [extension README](https://github.com/basicmachines-co/basic-memory/tree/main/integrations/tau) for every setting.

### Coding profiles

For coding work, register each checkout explicitly. A coding profile has its own destination and read sources:

```json
{
  "project": null,
  "repositories": [
    {
      "kind": "coding",
      "root": "/absolute/path/to/checkout",
      "repository": "owner/repository",
      "project": "my-memory-project",
      "read_projects": ["team/shared"],
      "placement_conventions": "Decisions in decisions/, tasks in tasks/. Search before creating notes."
    }
  ]
}
```

Coding sessions are keyed by repository identity, not directory name, so worktrees of the same repository share recall. Checkpoints record the Git root, branch, SHA, and pull request when `gh` is available.

---

## Shared notes with other agents

Tau writes the same **Coding Session**, **Session**, **Task**, and **Decision** schemas that the Claude Code and Codex plugins use. Any agent can find Tau's checkpoints, tasks, and decisions with ordinary Basic Memory queries, and Tau's recall can surface notes other agents wrote for the same repository. Setup asks before seeding any missing schema and never overwrites one you've customized. See [Schema System](https://docs.basicmemory.com/concepts/schema-system).

---

## Commands and tools

Every tool the Basic Memory MCP server advertises is available in Tau as `bm_<tool name>`. The extension adds:

<table>
<thead>
  <tr>
    <th>
      Command
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        /bm-status
      </code>
    </td>
    
    <td>
      Connection, destination, controls, last checkpoint, and last failure
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        /bm-orient [topic]
      </code>
    </td>
    
    <td>
      Retrieve relevant notes into context
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        /bm-checkpoint [focus]
      </code>
    </td>
    
    <td>
      Write a checkpoint now
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        /bm-remember <text>
      </code>
    </td>
    
    <td>
      Ask the agent to save or update connected knowledge
    </td>
  </tr>
</tbody>
</table>

The installed prompt templates run as ordinary model turns:

<table>
<thead>
  <tr>
    <th>
      Template
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        /bm-resume <topic>
      </code>
    </td>
    
    <td>
      Read prior work and check the current repository state
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        /bm-plan <goal>
      </code>
    </td>
    
    <td>
      Recall constraints, propose a plan, then save an approved task
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        /bm-decide <choice>
      </code>
    </td>
    
    <td>
      Save a decision with alternatives and consequences
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        /bm-wrap-up [focus]
      </code>
    </td>
    
    <td>
      Review work and tasks, then prompt you to run <code>
        /bm-checkpoint
      </code>
    </td>
  </tr>
</tbody>
</table>

---

## Privacy

Raw transcripts are off by default. Captures use only public user text and final assistant text — not hidden reasoning or raw tool output. Common credential formats are masked before writing, but this is not a general secret detector: turn off automatic capture for sensitive conversations.

If saving fails, Tau warns and keeps working. A failed save is never reported as saved.

---

## Next Steps

<card-group>
<card icon="i-lucide-terminal" title="Pi" to="https://docs.basicmemory.com/integrations/pi">

Recall and capture for the Pi coding agent.

</card>

<card icon="i-lucide-activity" title="Harness Capture" to="https://docs.basicmemory.com/integrations/harness-capture">

How lifecycle hooks work for Claude Code and Codex.

</card>

<card icon="i-lucide-shield-check" title="Schema System" to="https://docs.basicmemory.com/concepts/schema-system">

Understand the schemas Tau shares with other agents.

</card>

<card icon="i-lucide-github" title="GitHub Repository" to="https://github.com/basicmachines-co/basic-memory/tree/main/integrations/tau">

Source code, full configuration reference, and design notes.

</card>
</card-group>


## Sitemap

See the full [sitemap](https://docs.basicmemory.com/sitemap.md) for all pages.
