CLI Reference¶
MiniBot installs a single minibot entry point that dispatches to four commands.
Command |
What it does |
|---|---|
|
Start the daemon — the long-running Telegram channel service. |
|
Open the local console channel (no Telegram bot required). |
|
Run the interactive wizard that writes |
|
Authenticate a ChatGPT Codex subscription; use |
Configuration file¶
Every command resolves config.toml the same way: an explicit --config PATH when the command
accepts one, otherwise the MINIBOT_CONFIG environment variable, otherwise ./config.toml.
If no file is found, built-in defaults are used.
Run the daemon¶
minibot
Runs in the foreground and logs to logs/. SIGINT/SIGTERM trigger a graceful shutdown
that stops the dispatcher and extensions. On boot it replays turns that were interrupted by a
previous shutdown or crash. There is no --config flag: set MINIBOT_CONFIG to point at a
different file.
Console channel¶
minibot console # interactive Textual TUI
minibot console --plain # plain prompt loop
minibot console --once "hello" # send one message and exit
echo "hello" | minibot console --once - # read the message from stdin
Flag |
Description |
|---|---|
|
Send one message and exit. Use |
|
Use the plain prompt loop instead of the Textual TUI. |
|
Chat id for the console session (default |
|
User id for the console session (default |
|
Per-turn timeout; values below |
|
Path to a |
|
Also log to stdout in addition to the log file. |
Interactive TUI keys: Enter sends, Ctrl+J inserts a newline, and Ctrl+T toggles display
of model thinking.
Configuration wizard¶
minibot configure
minibot configure --config path/to/config.toml
Walks through Telegram, provider, model, tool selection, and — when tasks are enabled — the task
queue backend. New files start from the Example profile; YOLO enables broad host execution
and integrations. Secrets are written in plain text, so keep config.toml private. The wizard
also seeds prompts/ next to the config file when that directory does not already exist.