What’s New
The latest release brings significant infrastructure improvements:- Web Terminal — Browser-based terminal access to your sandbox, no SSH required
- File Manager — Browse and manage workspace files directly from the browser
- systemd Service Management — Gateway, Web Terminal, and File Manager are fully managed by systemd with automatic restart on failure, replacing the previous nohup-based background processes
- Crash Auto-Recovery — When the Gateway crashes repeatedly, it automatically runs diagnostics, repairs configuration, and restores service without manual intervention
- Config Auto-Backup — Every config write creates an automatic backup; crash recovery can restore from the latest known-good backup
Getting Started
Prerequisites
- Python installed
- A Novita API key (create/manage keys in Key Management)
How to install Python
How to install Python
WindowsDownload the Python installer and run it. Check “Add Python to PATH” before clicking Install Now — skipping this is the most common reason beginners hit errors later.macOSOpen Terminal and run:If you see Python 3.10 or higher, you’re good. If Terminal prompts you to install Command Line Developer Tools, click Install and wait a few minutes.Linux (Ubuntu / Debian)
Bash
Bash
Step 1: Install NovitaClaw
novitaclaw --help. If you see a list of commands, you’re all set.
Step 2: Set your API key
Step 3: Launch your instance
Bash
- Web UI URL — Chat with your agent
- Gateway WebSocket URL & Token — For programmatic access
- Web Terminal URL — Terminal access to the sandbox in your browser
- File Manager URL — Browse and manage workspace files
- Login credentials — Username and password for Web Terminal & File Manager

Chat tab to start using your agent.
Web Terminal
The Web Terminal provides browser-based terminal access to your sandbox environment. Open the Web Terminal URL returned by the launch command and log in with the provided credentials. This gives you a full shell session — install packages, inspect logs, or debug your agent directly.File Manager
The File Manager lets you browse, upload, download, and manage files in the sandbox workspace through a web interface. Open the File Manager URL and log in with the same credentials. Use it to view agent workspace files, edit configurations, or transfer files without needing CLI access.For existing sandboxes launched before these services were available, you can add them retroactively:
Bash
Configuring Models
Your instance is pre-configured with a Novita-hosted model out of the box. To change the models your agent uses, navigate toSettings → Config, click Raw to switch to Raw JSON5 view, then click the reveal button next to “secrets redacted” to show the full config.
Update the following two sections:
Step 1: Register the model under your provider
Add a new object to themodels array inside models.providers.novita:
Step 2: Set it as primary or fallback
Update themodel field under agents.defaults to reference your model using the provider/model-id format:

Connecting Channels
OpenClaw supports external messaging channels so your agent is reachable outside the Web UI. Channels are disabled by default and must be configured.Telegram
Step 1: Create a Telegram Bot- Open Telegram and find @BotFather.
- Send
/newbotand follow the prompts to name your bot. - Copy the bot token BotFather provides.
Chat tab and send the bot token.
Step 3: Pair your bot
In Telegram, open the bot you created and send /start. Copy the pairing code and paste it in the Chat tab.
Once connected, messages sent to your Telegram bot are routed directly to your OpenClaw agent. More channel integrations are supported — see the OpenClaw channels documentation for the full list and setup instructions.

Service Reliability
All core services in the sandbox are managed by systemd for production-grade reliability:| Service | Description | Auto-Restart |
|---|---|---|
| OpenClaw Gateway | Agent runtime and WebSocket server | ✅ |
| Web Terminal (ttyd) | Browser-based terminal access | ✅ |
| File Manager (gohttpserver) | Web-based file management | ✅ |
Command Reference
launch
Create a new sandbox instance.
Bash
| Option | Description |
|---|---|
--api-key | Novita API key |
--gateway-token | Custom gateway token (optional, auto-generated by default) |
--timeout | Creation timeout in seconds (default: 60) |
list
List active sandbox instances.
Bash
| Option | Description |
|---|---|
--api-key | Novita API key |
--quiet, -q | Only print sandbox IDs, one per line (useful for scripting) |
status
Check a sandbox instance status.
Bash
stop
Terminate a sandbox instance.
Bash
| Option | Description |
|---|---|
--api-key | Novita API key |
--yes, -y | Skip confirmation prompt |
tui
Connect to a sandbox via terminal UI.
Bash
doctor
Run diagnostics and repair checks on a sandbox instance.
Bash
| Option | Description |
|---|---|
--api-key | Novita API key |
--deep | Scan system services for extra gateway installs |
--fix | Apply recommended repairs (alias for --repair) |
--force | Apply aggressive repairs (overwrites custom service config) |
--generate-gateway-token | Generate and configure a gateway token |
--no-workspace-suggestions | Disable workspace memory system suggestions |
--repair | Apply recommended repairs without prompting |
--yes | Accept defaults without prompting |
gateway update
Update OpenClaw to the latest version inside a sandbox.
Bash
| Option | Description |
|---|---|
--api-key | Novita API key |
--restart | Restart gateway after update |
gateway restart
Restart the OpenClaw Gateway in a sandbox.
Bash
services setup
Install and start Web Terminal and File Manager on an existing sandbox. Use this to add services to older sandboxes that were launched before these services were included.
Bash
pair list
List pending pairing requests for a channel.
Bash
pair approve
Approve a pairing request for a channel.
Bash
update
Check for CLI updates and upgrade to the latest version.
Bash
Programmatic Usage
Use JSON output for automation:Bash
Environment Variables
| Variable | Description |
|---|---|
NOVITA_API_KEY | API key, eliminates the need for --api-key flag |
OPENCLAW_GATEWAY_TOKEN | Preset gateway token |
Pricing
| What you use | What you pay |
|---|---|
| Sandbox runtime | Sandbox rates |
| Novita-hosted LLMs | Model rates |
| Third-party LLMs | Sandbox runtime only |
Troubleshooting
Command not found
Try one of these:Bash
Connection timeout
Increase launch timeout:Bash
Frequently Asked Questions
| Problem | Why it happens | What to do |
|---|---|---|
| ”Command not found” / “Not recognized” | Python PATH not configured during install | Reinstall Python and check “Add to PATH”, or add the bin directory manually |
| ”Permission Denied” | Insufficient permissions | Windows: Run Terminal as Administrator. Mac/Linux: prefix with sudo |
| ”Invalid API Key” | Key copied incorrectly | Check for extra spaces around the sk_ string, or generate a new key |
| Sandbox won’t stop | Requires confirmation to prevent accidental deletion | Type y when prompted, or use --yes to skip confirmation |
Mac: pip command not found | macOS uses pip3 by default | Use pip3 install novitaclaw instead of pip |