name: cli-chat
description: Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all AIRoute providers, combo routing, and system prompt configuration.
Overview
Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all AIRoute providers, combo routing, and system prompt configuration.
Quick install
npm install -g AIRoute # or: npx AIRoute
AIRoute --version
Subcommands
chat [prompt]
Flags:
--file <path>
--stdin
-s, --system <prompt>
-m, --model <id>
--max-tokens <n>
--temperature <t>
--top-p <p>
--reasoning-effort <level>
--thinking-budget <tokens>
--combo <name>
--responses-api
--stream
--no-history
Example:
AIRoute chat [prompt]
repl
Flags:
-m, --model <id>
--combo <name>
-s, --system <prompt>
--resume <session>
Example:
AIRoute repl
stream [prompt]
Flags:
--file <path>
--stdin
-m, --model <id>
-s, --system <prompt>
--combo <name>
--max-tokens <n>
--responses-api
--raw
--debug
--save <path>
Example:
AIRoute stream [prompt]
1---2name: cli-chat3description: "---"4---5---6name: cli-chat7description: Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all AIRoute providers, combo routing, and system prompt configuration.8---9<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->1011## Overview1213Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all AIRoute providers, combo routing, and system prompt configuration.1415## Quick install1617```bash18npm install -g AIRoute # or: npx AIRoute19AIRoute --version20```2122## Subcommands2324### `chat [prompt]`2526**Flags:**2728- `--file <path>`29- `--stdin`30- `-s, --system <prompt>`31- `-m, --model <id>`32- `--max-tokens <n>`33- `--temperature <t>`34- `--top-p <p>`35- `--reasoning-effort <level>`36- `--thinking-budget <tokens>`37- `--combo <name>`38- `--responses-api`39- `--stream`40- `--no-history`4142**Example:**4344```bash45AIRoute chat [prompt]46```4748### `repl`4950**Flags:**5152- `-m, --model <id>`53- `--combo <name>`54- `-s, --system <prompt>`55- `--resume <session>`5657**Example:**5859```bash60AIRoute repl61```6263### `stream [prompt]`6465**Flags:**6667- `--file <path>`68- `--stdin`69- `-m, --model <id>`70- `-s, --system <prompt>`71- `--combo <name>`72- `--max-tokens <n>`73- `--responses-api`74- `--raw`75- `--debug`76- `--save <path>`7778**Example:**7980```bash81AIRoute stream [prompt]82```