跳到主要内容

ZeroClaw

ZeroClaw 是一款在您自己的设备上运行的个人 AI 助手。 官方网站:zeroclawlabs.ai

1.1 使用方法

方式一:配置文件

首先安装 ZeroClaw:

brew install zeroclaw

或从源码构建:

git clone https://github.com/zeroclaw-labs/zeroclaw.git
cd zeroclaw
./install.sh

在 shell 中设置您的 Luchentech API 密钥:

export ZEROCLAW_API_KEY="your-luchentech-key"

配置 ~/.zeroclaw/config.toml

default_provider = "custom:https://api.luchentech.com/inference/v1"
default_model = "minimax/minimax-m2.5"

启动智能体会话:

zeroclaw agent

方式二:环境变量覆盖

如果您想在不编辑 config.toml 的情况下覆盖提供商,设置 ZEROCLAW_PROVIDER

export ZEROCLAW_PROVIDER="custom:https://api.luchentech.com/inference/v1"
export ZEROCLAW_API_KEY="your-luchentech-key"

~/.zeroclaw/config.toml 中保持模型配置:

default_model = "minimax/minimax-m2.5"

然后运行:

zeroclaw agent -m "Hello, Luchentech"

1.2 参考