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

# memanto agent bootstrap

> Generate an intelligence snapshot of an agent's memory.

# memanto agent bootstrap

Generate a richly formatted intelligence snapshot of an agent's memory — useful for onboarding, audits, or reviewing what the agent currently "knows."

```bash theme={null}
memanto agent bootstrap [AGENT_ID] [OPTIONS]
```

**Arguments:**

* `AGENT_ID` - Agent identifier. Optional; defaults to the currently active agent.

**Options:**

* `-o, --output PATH` - Save the snapshot to a JSON file in addition to printing the summary

**Examples:**

Snapshot the active agent:

```bash theme={null}
memanto agent bootstrap
```

Snapshot a specific agent:

```bash theme={null}
memanto agent bootstrap my-agent
```

Save the snapshot to disk:

```bash theme={null}
memanto agent bootstrap my-agent --output snapshot.json
```

**Output:**

The command prints an "Agent Bootstrap — Intelligence Snapshot" panel including the agent's pattern, description, namespace, creation date, and total stored memory count, followed by sampled memories grouped by type.

When `--output` is provided, the same data is written as JSON for downstream tooling.

**Notes:**

* If no agent is active and no `AGENT_ID` is provided, the command exits with an error and suggests activating one first
* The snapshot is read-only; it does not modify any memories
