CLI
适用场景
dojoagents 是项目的控制台入口,用于本地聊天、启动 Dashboard、启动 Gateway、配置模型、运行调度器和预计算数据。
常用命令
dojoagents chat "Analyze BTC market structure" --market crypto --symbols BTC-USD --timeframe 1d
dojoagents dashboard --host 127.0.0.1 --port 8765
dojoagents gateway --host 127.0.0.1 --port 8766
dojoagents gateway setup all
dojoagents scheduler
dojoagents model
dojoagents precompute-sector
开发环境中可以通过 uv run 调用:
uv run --extra dev dojoagents --help
命令概览
| 命令 | 用途 |
|---|---|
chat |
从命令行发起一次 Agent 请求 |
dashboard |
启动 FastAPI Dashboard 服务 |
gateway |
启动聊天网关服务 |
gateway setup |
交互式配置 Slack、Telegram、WeChat 等 adapter |
gateway pairing |
查看、批准或拒绝配对请求 |
scheduler |
加载并检查计划任务 |
model |
交互式配置 LLM provider |
mcp serve |
启动 MCP server |
precompute-sector |
预计算行业日频数据 |
深入阅读
后续如发现旧版使用说明中仍有价值的命令示例,应继续收敛到本页。