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

# Handshake

> Generate local agent context files from Product Brain.

<Warning>
  **Early access** — Re-run `pb handshake` after upgrades. [**Join the Product Brain Community**](https://community.productbrain.io).
</Warning>

`pb handshake` writes local agent instructions and Product Brain context files into a repository.

```bash theme={null}
pb handshake
```

Use it when:

* A repo needs current Product Brain context.
* Agent instruction files are missing or stale.
* A new tool should understand the workspace rules.

Handshake files help agents start from the same Chain-grounded context.
