Skip to main content
The NOFire AI CLI is a terminal chat interface. Use it to investigate incidents, query production, and run diagnostics directly from your terminal. It connects to the same NOFire AI backend as Slack and the web dashboard. It has one key addition: it can run read-only commands on your local machine (kubectl, aws, git, helm) and feed the results into the conversation.
NOFire AI saves your conversations at my.nofire.ai. You can pick up where you left off in any interface.

Authenticate

Get an API token from my.nofire.ai/dashboard/api-keys (see API Keys), then:
Paste your token when prompted. The CLI stores credentials in your OS keychain (macOS Keychain, GNOME Keyring, Windows Credential Manager). Test that everything works:
This command checks your configuration, auth, API connectivity, and which local tools are available.

Usage

Interactive chat

Opens a full-screen terminal UI with streaming responses, markdown rendering, and local tool execution. This is the primary way to use the CLI. Continue an existing thread:
Focus on a specific service:

Single question

Sends one message, streams the response, and exits. Useful for scripting or quick checks.

Keyboard controls

The TUI has two modes, toggled with Tab: Input mode (default) Scroll mode (press Tab to enter)

Local tool execution

When you investigate an issue, NOFire AI can request to run commands on your machine. This pulls live data from your infrastructure, so you do not have to switch terminals. Supported tools: Turn tools on or off from the CLI Tools connection. See CLI Tools.
All commands are read-only. The CLI blocks any write, delete, or destructive operations. The CLI rejects commands that do not match the read-only allowlist.

Commands reference