Chapter 10

AI assistant

Chat and Agent modes, isolated conversations, endpoint profiles, key storage and the review-first send-to-terminal step.

Two modes

Two isolated kinds of chat

This split is the main safety boundary: only the conversation attached to a terminal can act on that host.

Endpoint profiles

Several AiEndpointProfile entries can be saved, each with its own:

Available models can be pulled from {endpoint}/v1/models.

API key storage

Keys are encrypted with an AES-256-GCM file vault. The key file vault.key is bound to the current machine; the operating system keychain is not used.

Using the assistant

Review before running. The insert-only behaviour is deliberate: you can inspect the generated command in the terminal prompt and press Enter yourself.