Quick Start
Get a live Baize agent on your machine in a few minutes.
Prerequisites
- A Linux server (or macOS)
- A Claude subscription — or an OpenAI Codex setup (Codex CLI v0.129.0+, 0.146+ recommended)
One-command install
bash
curl -fsSL https://raw.githubusercontent.com/baize01-ai/baize-core/main/scripts/install.sh | bashThis installs the dependencies (git, tmux, Node.js, PM2, the baize CLI) and runs baize init to set up the agent.
Mainland China:
raw.githubusercontent.comis unreachable. Use the npmmirror micro-package instead — add--cnto enable the full mainland pipeline (npmmirror registry, automatic Node binary install, native module source builds) and the Codex runtime by default:bashcurl -fsSL https://registry.npmmirror.com/@baize-ai/install/-/install-0.1.8.tgz | tar xz -O package/install.sh | bash -s -- --cn
Manual install
Requires Node.js >= 20:
bash
npm install -g @baize-ai/core
baize initbaize init is idempotent and supports interactive and non-interactive modes. It will:
- Install missing tools (tmux, git, PM2, Claude Code or Codex)
- Set up authentication (Claude: browser login, API key or setup token; Codex: API key or device auth)
- Create
~/baize/with memory, skills and services - Start background services and launch the agent in a tmux session
Talk to your agent
bash
baize shell # Interactive CLI
baize attach # Attach to the agent tmux session (Ctrl+B d to detach)
baize add feishu # Install a messaging channel (npm)Next steps
- Open the Web Console at
http://localhost:3456 - Read Installation for Docker and details
- Explore the CLI Reference
