> ## Documentation Index
> Fetch the complete documentation index at: https://docs.10et.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Pi Integration

> Coding agent runtime with TENET extensions

[Pi](https://github.com/badlogic/pi-mono) is a minimal terminal coding agent that TENET extends with tools, memory, journal, eval, and the startup briefing.

## How It Works

TENET ships as a Pi package (`@10et-ai/pi`). When Pi starts in a TENET project, the extension:

1. **Replaces the header** with branded TENET identity (project name, branch, system indicators)
2. **Runs the SATOR boot animation** with live system probes
3. **Registers 21+ tools** (tenet\_context, tenet\_memory\_search, tenet\_eval\_status, etc.)
4. **Fires the startup briefing** — steers the model to produce a concise project briefing
5. **Journals every significant action** automatically

## Tools Available in Pi

| Tool                  | What it does                                            |
| --------------------- | ------------------------------------------------------- |
| `tenet_context`       | Get project context (journals, knowledge, code headers) |
| `tenet_memory_search` | Search across all indexed memories                      |
| `tenet_memory_add`    | Add a memory manually                                   |
| `tenet_memory_status` | Check memory system health                              |
| `tenet_hud`           | Project dashboard                                       |
| `tenet_synopsis`      | Work summary across sessions                            |
| `tenet_pivot`         | Checkpoint current work                                 |
| `tenet_eval_status`   | Current eval scores and trends                          |
| `tenet_policy_score`  | Score a candidate action via policy head                |
| `tenet_crm`           | CRM pipeline queries                                    |
| `tenet_service`       | Query registered services                               |

## Session Lifecycle

```
Pi starts
  → TENET header renders
  → SATOR boot animation + system probes
  → Startup briefing steer fires (triggerTurn: true)
  → Model produces concise greeting
  → User works (tools available, journal auto-captures)
  → /end → session branch merged to main → synopsis shown
```

## Configuration

In `.tenet/config.json`:

```json theme={null}
{
  "pi": {
    "provider": "anthropic",
    "model": "claude-opus-4-6"
  }
}
```
