Installation & Environment
CastClaw's quick-start flow matches the homepage guide: install the CLI globally, verify the version, configure the LLM interactively, and then start forecasting from the dataset directory.
Prerequisites: Bun ≥ 1.3.11, Python ≥ 3.10, uv, and at least one LLM API key.
| Dependency | Version | Purpose |
|---|---|---|
| Bun | ≥ 1.3.11 | Runtime and package manager |
| Python | ≥ 3.10 | ML backend for forecasting models |
| uv | Latest | Python dependency management |
| GPU (optional) | CUDA 12.8 | Deep learning acceleration |
| Ascend NPU (optional)Recommended | Atlas 800 A2/A3 (Ascend HDK 25.5.1) | Huawei Ascend acceleration for deep learning. Recommended if you want to try domestic compute infrastructure. |
Install
# Global npm install (recommended)
npm install -g castclawVerify Installation
castclaw --versionConfigure LLM
# Type castclaw in the terminal to enter interactive API key configuration
castclaw
# Or run /connect inside the CastClaw terminal to switch providers
/connectStart Forecasting
# Enter the dataset directory and launch the CLI
cd /path/to/your/dataset
castclawAfter the CLI starts, enter the task description in the Planner tab (Ctrl+1):
# Example: initialize an energy consumption forecasting task
Initialize a forecasting session for data/etth1.csv. Target column: OT, time column: date,
forecast horizon: 96 steps, lookback length: 336. Use a 70/20/10 split and evaluate with MSE and MAE.For your first run, connect only one provider you already know well. Prefer the interactive API key setup through castclaw; use /connect when you need to switch providers.