# agent

> Nexus, the same one as @nexus in Slack, with its memory and saved model. It never runs a write: it prints the Nexus UI page where you approve one. Needs NEXUS_AGENTS_API_URL, the agent API's address. Any other nexus agent command is nexus agents.

Nexus, the same one as @nexus in Slack, with its memory and saved model. It never runs a write: it prints the Nexus UI page where you approve one. Needs NEXUS_AGENTS_API_URL, the agent API's address. Any other nexus agent command is nexus agents.

## nexus agent ask

```sh
nexus agent ask "<question>" [--conversation <id>] [--model <id>]
```

Ask Nexus, the same one as @nexus in Slack, with its memory and saved model; the answer streams, then its sources.

| Option | Meaning |
| --- | --- |
| `--conversation <id>` | Continue this conversation: the id the last answer printed (default: a new one) |
| `--model <id>` | A catalog model id for this answer (default: your saved model) |

```sh
nexus agent ask "What did I decide about the launch?"
nexus agent ask --conversation <id> "And the date?"
nexus agent ask "Summarize my week" --json
```

## nexus agent chat

```sh
nexus agent chat [--conversation <id>] [--model <id>]
```

Talk with Nexus in one conversation; type exit or press Ctrl-D to end.

| Option | Meaning |
| --- | --- |
| `--conversation <id>` | Continue this conversation: the id the last answer printed (default: a new one) |
| `--model <id>` | A catalog model id for this answer (default: your saved model) |

```sh
nexus agent chat
```
