Skip to main content
xbot
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage
Edit page

Getting Started

Get xbot running in under 5 minutes.

Note
System requirements: Any modern OS (Linux, macOS, Windows). No pre-installed dependencies needed — the installer downloads a static binary.

1. Install

# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/ai-pivot/xbot/master/scripts/install.sh | bash

# Windows (PowerShell)
irm https://raw.githubusercontent.com/ai-pivot/xbot/master/scripts/install.ps1 | iex

The installer downloads the xbot-cli binary, generates a random admin token, and writes ~/.xbot/config.json. For Server mode it also installs a system service and downloads the Web UI.

Note

Behind a firewall (China)? Use the mirror-accelerated installer:

curl -fsSL https://ghfast.top/https://raw.githubusercontent.com/ai-pivot/xbot/master/scripts/install-cn.sh | bash

2. Choose a mode

The installer asks you to pick:

StandaloneServer
ArchitectureCLI runs the agent locallyBackground server + CLI connects remotely
Best forSolo developerTeams, multi-channel
ChannelsCLI onlyFeishu · QQ · Web · CLI
LLM sharingEach user configuresAdmin configures once, everyone uses
PersistenceStops when terminal closesSystem service, auto-start

Most teams should choose Server mode. Pick Standalone for a quick solo test drive.

3. Configure your LLM

Run xbot-cli. The first launch opens a Setup wizard:

  1. Choose an LLM provider (OpenAI / Anthropic / OpenAI-compatible)
  2. Enter your API key
  3. Set the API base URL (change this for DeepSeek, Qwen, Ollama, etc.)
  4. Pick a model
  5. Configure model tiers (Vanguard / Balance / Swift — used for different scenarios)

Re-run the wizard anytime with /setup or Ctrl+K → Setup.

Subscriptions, not a single global key. xbot uses a subscription system. You can create multiple subscriptions (e.g. work Claude, personal DeepSeek) and switch between them per session.

Tip
Using DeepSeek, Qwen, or Ollama? Set provider: "openai" and change the base_url in the Setup wizard. xbot works with any OpenAI-compatible API.

4. Start chatting

You’re ready. Type a message and press Enter. The agent can call tools, run commands, search the web, and delegate to sub-agents.

Try these right now

You: What files are in this directory?

Agent: *uses Shell tool to run ls*
Agent: The current directory contains...

You: Read the README.md and summarize it

Agent: *uses Read tool*
Agent: This project is about...

You: Create a new file called notes.txt with today's date

Agent: *uses FileCreate tool*
Agent: Done! Created notes.txt with today's date.

You: Search the web for the latest Go release

Agent: *uses WebSearch tool*
Agent: The latest Go release is...

The agent picks the right tool for the job — you just describe what you want.

Type / to see all slash commands. A few essentials:

CommandWhat it does
/setupReconfigure LLM, sandbox, theme
/contextInspect token usage
/clearClear the conversation
/newStart a new session
/sessionsList / switch sessions
/settingsOpen settings panels
/helpShow all commands

Essential keyboard shortcuts

ShortcutAction
Ctrl+KCommand palette (fuzzy search)
Ctrl+NCycle model
Ctrl+PSwitch subscription
Ctrl+TSub-agent progress panel
Ctrl+LSwitch model (per-session)

Where to go next