AI agent使用手册
win11进入wsl2安装的ubuntu
wsl -d Ubuntu
# 进入sudo
sudo -i
Claude code
win11 安装过程
- 安装
# win 11 power shell
# 配置代理
$env:HTTP_PROXY="http://127.0.0.1:7890"
$env:HTTPS_PROXY="http://127.0.0.1:7890"
irm https://claude.ai/install.ps1 | iex
- 将claude.exe加入到系统path
- 配置claude使用三方模型
# 编辑C:\Users\你的用户名\.claude\settings.json
{
"env": {
"HTTP_PROXY": "http://127.0.0.1:7890",
"HTTPS_PROXY": "http://127.0.0.1:7890",
"ANTHROPIC_BASE_URL": "https://你的中转域名/v1",
"ANTHROPIC_API_KEY": "sk-xxx"
"ANTHROPIC_AUTH_TOKEN": "sk-xxx"
},
"model": "model名字",
"permissions": {
"allow_file_write": true,
"allow_shell": false
}
}
# 设置跳过login过程:编辑C:\Users\你的用户名\.claude.json
{
"hasCompletedOnboarding": true
}
HERMES
hermes Start chatting
hermes gateway Start messaging gateway
hermes doctor Check for issues
hermes Start chatting
hermes setup Configure API keys & settings
hermes config View/edit configuration
hermes config edit Open config in editor
hermes gateway install Install gateway service (messaging + cron)
hermes update Update to latest version
hermes # classic CLI
hermes --tui # modern TUI (recommended)
命令:hermes dashboard
访问:http://localhost:9119

火山引擎
![image 17.png]]
不同的工具配置的 Base URL 根据兼容的协议会有不同:
- 兼容 Anthropic 接口协议工具:https://ark.cn-beijing.volces.com/api/coding
- 兼容 OpenAI 接口协议工具:https://ark.cn-beijing.volces.com/api/coding/v3(目前还不支持 Responses API,建议使用 Chat API。)

浙公网安备 33010602011771号