TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/math-inc/OpenGauss/llms.txt
Use this file to discover all available pages before exploring further.
gauss binary is the top-level entry point for OpenGauss. Running gauss with no arguments drops you into the interactive REPL (equivalent to gauss chat). All other functionality is exposed as named subcommands described on this page. For slash commands typed inside the running session, see the Slash Commands reference. For Lean workflow commands, see the Workflow Commands reference.
gauss / gauss chat
Starts the interactive OpenGauss REPL. Runninggauss with no arguments is identical to gauss chat.
Model identifier to use for this session, e.g.
anthropic/claude-sonnet-4 or openai/gpt-4o. Overrides the default set by gauss model.Inference provider to use. One of
auto, openrouter, nous, openai-codex, anthropic, zai, kimi-coding, minimax, minimax-cn. Defaults to auto.Comma-separated list of toolsets to enable for this session.
Send a single query and exit (non-interactive mode). Useful for scripting.
Resume a previous session by its ID or title. Run
gauss sessions list to see available sessions.Resume a session by name, or the most recent CLI session when no argument is provided. Multi-word names do not need to be quoted on the command line (e.g.
gauss -c Pokemon Agent Dev).Enable verbose output, including detailed tool call previews.
Quiet mode for programmatic or scripted use: suppresses the banner, spinner, and tool previews. Only the final response and session info are printed.
Run in an isolated git worktree, which allows multiple parallel agents to work on the same repository without conflicting.
Enable filesystem checkpoints before destructive file operations. Use
/rollback inside the session to restore a previous checkpoint.Bypass all dangerous-command approval prompts. Use with caution.
gauss setup
Runs the interactive setup wizard that walks you through configuring inference providers, API keys, terminal preferences, gateway integrations, tools, and agent defaults. You can also run a single section by name.One of
model, terminal, gateway, tools, or agent. When omitted the full wizard runs.Skip all prompts and apply defaults or values from environment variables.
Reset configuration to defaults before running the wizard.
gauss doctor
Checks local prerequisites and configuration health, then prints a report. Doctor checks include:- Configured inference providers and API key validity
claude/codexCLI availability and authenticationuv/uvxavailability (required for managed Lean workflows)lake/leanavailabilityripgrep(rg) availability- Active Gauss project detection in the current working directory
- Managed-workflow backend and auth mode settings
- Gateway and cron status
Run
gauss doctor whenever a workflow command fails unexpectedly. It reports the exact missing prerequisite and tells you how to fix it.gauss config
Views and edits the Gauss configuration file (~/.gauss/config.yaml) and the .env file (~/.gauss/.env). Use this for direct configuration management outside of the interactive gauss setup wizard.
Print the full current configuration as YAML.
Open
~/.gauss/config.yaml in $EDITOR (or $VISUAL).Set a configuration key to a value. Supports dotted paths for nested keys (e.g.
terminal.backend).Print the absolute path to the active
config.yaml file and exit.Print the absolute path to the active
.env file and exit.Scan the current configuration for missing required fields or fields that have been superseded by newer schema versions.
Non-destructively update
config.yaml to add any new configuration fields introduced since your installation.gauss version
Prints version information including the Gauss version, release date, Python version, OpenAI SDK version, and whether a newer version is available.gauss update
Pulls the latest commits from the upstreammath-inc/OpenGauss repository and reinstalls Python dependencies. On Windows, if git file I/O fails (common with certain antivirus or NTFS filter drivers), it automatically falls back to downloading a ZIP archive of the main branch instead.
After pulling new code, gauss update also:
- Updates the managed Lean workflow runtime assets
- Updates Node.js dependencies if
package-lock.jsonis present - Checks for new required configuration fields and offers to configure them interactively
- Auto-restarts the gateway service if it was running
gauss model
Opens an interactive provider-and-model picker. It first prompts you to choose a provider (the active provider is shown at the top with a← currently active marker), and then shows a searchable list of available models for that provider.
Supported providers: OpenRouter, Nous Portal, OpenAI Codex, Anthropic (API key or Claude Pro/Max OAuth), Z.AI / GLM, Kimi / Moonshot, MiniMax, MiniMax China, and custom OpenAI-compatible endpoints.
custom_providers in ~/.gauss/config.yaml so they reappear in the picker on the next run.
gauss tools
Opens a curses-based TUI for enabling and disabling individual tools per platform (CLI, Telegram, Discord, etc.). Pass--summary to print the current state without entering the interactive UI.
Print a summary of enabled tools per platform and exit immediately.
gauss skills
Browses, installs, manages, and publishes skills from the skills registry (skills.sh), GitHub, ClawHub, and other well-known agent skill endpoints.gauss sessions
Manages the SQLite session history store. All sessions from every platform (CLI, Telegram, Discord, WhatsApp) are stored here and accessible via subcommands.Filter sessions by platform. Values include
cli, telegram, discord, whatsapp, slack.Maximum number of sessions to return. Defaults to 20.
Export a single specific session instead of all sessions.
Skip the confirmation prompt when deleting a session.
Delete sessions older than N days. Defaults to 90.
Maximum sessions to load into the interactive picker. Defaults to 50.
browse subcommand opens a full-screen curses browser with live search filtering. Type any characters to filter by title, preview, session ID, or source. Press Enter to resume the selected session, Esc to clear the search or exit, and q to quit without selecting.
gauss gateway
Manages the OpenGauss messaging gateway, which enables Telegram, Discord, and WhatsApp integrations. The gateway can be run in the foreground, installed as a systemd user service, or targeted at a system-level service.Install as a Linux system-level service that starts at boot, rather than a user-level service.
Specify the user account the system-level service should run as (system install only).
Replace any existing gateway instance, useful when managed by systemd.
gauss insights
Analyzes session history to generate a report covering token usage, estimated costs, tool usage patterns, and activity trends.Number of days of history to include in the analysis. Defaults to 30.
Filter analytics to a single platform (e.g.
cli, telegram, discord).gauss uninstall
Removes OpenGauss from your system. By default it keeps~/.gauss/ (configuration, session history, and managed assets) so that a reinstall can pick up where you left off. Pass --full to wipe everything.
Remove everything including
~/.gauss/ (configuration, session history, managed Lean assets).Skip confirmation prompts.
gauss login
Runs the OAuth device-authorization flow for an inference provider. You are prompted to open a browser URL and confirm a code; on success, credentials are saved to~/.gauss/auth.json.
Provider to authenticate with. One of
nous or openai-codex. Defaults to nous.Print the device-authorization URL instead of opening it automatically in the default browser.
gauss logout
Clears stored authentication credentials for a provider. Useful when rotating API keys or switching accounts.Provider to log out from. One of
nous or openai-codex. Defaults to the active provider.