agent使用文档
api
- deepseek
- kimi
- openrouter
- langrouter(有按分钟限流的免费模型)
- xiaomi(tts系列大模型限时免费)
- 魔搭社区(每日免费调用很多模型)
- NVIDIA(大量免费模型)
- cloudflare Workers Ai(每日10,000 Neurons) 创建 管理
- 商汤日日新(按小时限流)
联网搜索
opencode
安装
linux
desktop
tui
1 | curl -fsSL https://opencode.ai/install | bash |
使用
1 | # 打开tui |
[Tab]切换模型(plan或build)
1 | # 新对话 |
skills
<项目目录>/.opencode/skills/<skill文件夹>
skill文件夹结构:
1
2
3
4
5
6
7
8
9 skill-name/
SKILL.md
scripts/
main.py
shell.sh
referces/
doc.md
assets/
pic.png
联网搜索
在~/.config/opencode/opencode.jsonc中写入:
1 | { |
如果用的不是opencode提供商,需要启动OPENCODE_ENABLE_EXA环境变量:
- 单次命令生效:
OPENCODE_ENABLE_EXA=1 opencode - 当前终端会话生效:
1 | export OPENCODE_ENABLE_EXA=1 |
- 全局永久生效:
- bash:在
~/.bashrc文件末尾添加export OPENCODE_ENABLE_EXA=1,source ~/.bashrc。 - zsh:在
~/.zshrc文件末尾添加export OPENCODE_ENABLE_EXA=1,source ~/.zshrc。 - fish:在
nano ~/.config/fish/config.fish文件末尾添加set -gx OPENCODE_ENABLE_EXA 1,source ~/.config/fish/config.fish。
- bash:在
oh my openagent
opencode全能插件
安装
需先安装opencode和bun
bunx oh-my-openagent install
检查安装:执行/status,查看plugin
使用
ultrawork <任务>
关闭遥测:
在~/.config/opencode/oh-my-openagent.json中添加:
1
2
3 {
"teletry": false
}
ultrawork
Prometheus
架构师。与你访谈,探索代码库,并创建详细的执行计划。从不写代码。使用 Metis 和 Momus 作为质量关卡。
Atlas
kilo code
基于opencode开发,有subagent,多agent等。vscode插件可自动补全。适合从0开始构建整个工程。
安装
curl -fsSL https://kilo.ai/cli/install | bash
使用
kilo
pi agent
极简agent,便于二次开发。
安装
curl -fsSL https://pi.dev/install.sh | sh
使用
pi
oh my pi
pi agent的fork版本,全面改良了pi。
安装
需先安装bun(脚本也会自动安装)
curl -fsSL https://omp.sh/install | sh
使用
开箱即用的联网功能。
omp
qwen code
安装
curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bash
使用
qwen
kimi code
配合kimi模型有超长上下文
安装
curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
使用
kimi
crush
安装
1 | # 添加官方仓库源 |
使用
crush
deep code
codewhale
安装
1 | npm install -g codewhale |
使用
1 | codewhale auth set --provider deepseek # or export ANTHROPIC_API_KEY, etc. |
Langcli
根据claude code泄漏的源码二次开发,维护不稳定。
安装
bash -c "$(curl -fsSL https://assets.langcli.com/installation/install-langcli.sh)"
Reasonix
只能用deepseek,但很省token。
安装
可同时安装
tui和cli
npm i -g reasonix
桌面端
vscode扩展
使用
先从桌面端配置api key,tui可以共享
1 | # tui |
mimo code
小米在opencode基础上开发的,有限时免费模型。自带联网搜索功能。(需配置)
安装
curl -fsSL https://mimo.xiaomi.com/install | bash
使用
mimo
有很多实用的中文命令。
切换到compose agent进行复杂工程。
联网搜索
在~/.config/mimocode/mimocode.jsonc中写入:
1 | { |
cline
安装
npm install -g cline
使用
cline
momo Code
可自主进化的agent
安装
curl -fsSL https://momozi.cc/install | bash
使用
1 | # 启动 |
open design
用来接入本地agent进行设计的agent管控工具。
安装
1 | # 安装pnpm |
使用
图形化界面
手机agent
PokeClaw
可本地部署大模型离线使用
operit
可本地部署大模型离线使用
X-OmniClaw
OPPO开源的手机agent,OPPO手机可以调用摄像头。
hermes app
zoo code
vscode扩展
zeroclaw
openclaw的rust替代,性能强,安全性高,资源占用低。可部署在单片机上。
安装
curl -fsSL https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/master/install.sh | bash
使用
1 | # 命令行界面 |
- 标题: agent使用文档
- 作者: 简约无双
- 创建于 : 2026-07-21 00:00:00
- 更新于 : 2026-09-12 23:34:42
- 链接: https://blog.jianyuewushuang.top/2026/07/21/agent技术文档/
- 版权声明: 本文章采用 CC BY-NC-SA 4.0 进行许可。