You connect Kiro to a mount with `stash attach`. The next session in that folder starts with the mount: the steering, a digest of what it holds, and the `stash` tools.

Stash supports the Kiro v3 engine, `kiro-cli chat --v3`. Kiro v2 doesn’t read the hook files, so Stash doesn’t capture its sessions.

## Before you start

-   A ready mount, and a running daemon. `attach` never starts one. See the [Quickstart](/docs/user-guide/stash/quickstart/index.md).
-   `kiro` in the `harnesses` list of the mount config:

```toml
harnesses = ["kiro"]
```

## Attach

```bash
cd ~/src/checkout-service
stash attach ops
kiro-cli chat --v3
```

`attach` writes these files in the folder:

| File | What Stash adds |
| --- | --- |
| `.kiro/hooks/strands-stash.json` | The hooks. Stash owns this whole file. |
| `.kiro/steering/strands-stash.md` | The steering block |
| `.kiro/settings/mcp.json` | The `stash` MCP server |

A global attach writes the same files under `~/.kiro/`.

Kiro gets two hooks, `SessionStart` and `Stop`. Kiro drops the output of a tool hook, so Stash asks for notes at the end of a turn instead.

## Save notes without a prompt

Kiro asks before each `stash note save`, unless `~/.kiro/settings/permissions.yaml` has a rule for it. `attach` prints the rule to add.

## Avoid duplicate tools

When Kiro also runs one of the mount’s MCP servers itself, the agent sees each tool twice. `attach` names each such server. Set `"disabled": true` on the Kiro copy.

## Check it

```bash
stash status ops
```

The `Workspaces` section lists the folder with `[kiro]`. A mount gets turns only from the time of the attach.

## Next steps

-   [Attachment modes](/docs/user-guide/stash/guides/attachment-modes/index.md): MCP mode or CLI mode, and what the steering and the hooks do.
-   [Troubleshoot](/docs/user-guide/stash/guides/troubleshoot/index.md#the-harness): when the agent has no `stash` tools.