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

# CLI: Agents

> Configure the Librarian.

The `agent` family configures the Librarian. Add `--json` for machine output.

## Configuration

| Command                            | Description                                             |
| ---------------------------------- | ------------------------------------------------------- |
| `agent config [--show]`            | Print the current config. Secret keys are never echoed. |
| `agent config --set <key>=<value>` | Set a config key (repeatable).                          |

Settable keys on `agent config --set`: `librarian` and `librarian_autovouch`.

There is no provider, model, or API-key setting. Driftless operates and pays for the inference the agents run on, and selects the model per turn; `agent config --set model=…` and `--set opencode_key=…` are rejected rather than ignored, so a stale script fails loudly instead of appearing to work.

```bash theme={"theme":"github-light"}
driftless agent config --set librarian=true
driftless agent config --show
```

The Librarian is off until its toggle is on.

## Permissions

Setting Librarian config is a workspace-member action from the CLI.
