基于多 Agent 的自动翻译工具。
- Windows: 使用 Docker Desktop
- Linux: 参考 Docker 官方安装指南
# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"# Linux / macOS
curl -LsSf https://astral.sh/uv/install.sh | shuv syncexport OPENROUTER_API_KEY="sk-......"uv run cli.pycore/: Agent、运行时、限流、配置、日志、提示词ui/: CLI 会话与终端渲染tools/: 工具定义、目录扫描、工具工厂inputs/: 输入文件目录workspaces/: 页面级工作区目录output/: 最终产物目录logs/: 每次 CLI 启动后的会话日志目录fonts/: Typst 字体目录
- 调度器会在 CLI 中显示思考内容、普通输出和工具调用。
- 执行器状态以固定行展示;运行完成后会显示“正常提交结果 / 未提交成果 / 传输报错 / 用户中断”。
- 执行器默认工作路径是自身 workspace,但允许在项目根目录范围内跨 workspace 查看其他页面。
read_image/crop_image会自动压缩上一张同类图像消息,节省 token。color_sample的x/y使用1-1000的归一化相对坐标。
config.json 示例:
{
"base_url": "https://openrouter.ai/api/v1",
"api_key": "OPENROUTER_API_KEY",
"model": "google/gemini-3.1-pro-preview",
"scheduler_model": "google/gemini-3.1-pro-preview",
"executor_model": "google/gemini-3.1-pro-preview",
"concurrency": {
"max_parallel_agents": 4,
"max_concurrent_requests": 4,
"qps": 1.0,
"qpm": 30
}
}