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

# OpenClaw

> OpenClaw agent sessions → DuckBrain ingest (Available)

**Status:** Available

Ingests every OpenClaw agent's session history from `~/.openclaw/agents/<agent>/sessions/*.jsonl` — each user/assistant message becomes a searchable record. Pure tool-call entries are skipped; text blocks are decoded to prose.

```bash theme={null}
duckbrain sync openclaw                            # all agents
```

## Facet mapping

| Facet      | Value                                                                |
| ---------- | -------------------------------------------------------------------- |
| `--source` | `openclaw`, or `openclaw:<agent>` (e.g. `openclaw:beyond-marketing`) |
| `--in`     | session id                                                           |
| observer   | `agent:<agent>` — each agent's rows carry who said it                |

```bash theme={null}
duckbrain search "investor outreach" --source openclaw:main --since 30d
```

## Real-time: multiple concurrent sessions

OpenClaw runs many agents at once, and they need each other's context. [`duckbrain sync`](/commands/sync) keeps it streaming: messages are ingested on send/receive — searchable by every other session within seconds — with batch backfill over the same files as a safety net.
