AI agent使用手册

win11进入wsl2安装的ubuntu

wsl -d Ubuntu

# 进入sudo
sudo -i

Claude code

win11 安装过程

  1. 安装
# 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
  1. 将claude.exe加入到系统path
  2. 配置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

_attachments/image_16.png

火山引擎

套餐概览--火山方舟-火山引擎

Hermes Agent--火山方舟-火山引擎

![image 17.png]]

不同的工具配置的 Base URL 根据兼容的协议会有不同:

其他

posted @ 2026-05-15 00:08  kiyoxi  阅读(70)  评论(0)    收藏  举报