# Install Subtext — Add session context to your agent

Source: https://subtext.fullstory.com/install
Site index for agents: https://subtext.fullstory.com/llms.txt

> Add Subtext to your app and connect your agent. Capture your production sessions, then let Claude Code, Cursor, or any agent you already use open them and diagnose what really happened.

## Get Started with _Subtext_

Session replay built for agents. Capture your production sessions, then let Claude Code, Cursor, or any agent you already use open them up and diagnose what really happened.

Capture everything

A lightweight snippet records full production sessions — efficient enough to capture them all.

Your agent investigates

Open a real session, inspect the moment it broke, and compare states — no human scrubbing replay.

Private by design

Form inputs are masked out of the box. Your agent flags other PII and proposes masking rules to approve.

### Set up Subtext

Install Subtext in minutes with our setup wizard — just run this command in your project directory. It detects your agent and integrations, then wires up the capture snippet, MCP servers, skills, and commands.

```
npx @subtextdev/subtext-wizard
```

### Manual install setup

Prefer to wire things up yourself? Set up capture and connect your agent by hand.

Once connected, your agent reviews real sessions and runs the privacy governance loop. See the [session review reference](https://subtext.fullstory.com/docs).

[Using Verify (beta)? Live browser, comments, artifacts, proof docs, and Sightmap live in the beta tooling reference.](https://subtext.fullstory.com/docs/verify)
