运行本地开发

在生成项目目录里,用已安装的 CLI 启动开发栈。 如果期望启动不遇到设置错误,先运行 agentseek doctor

agentseek dev

不启动服务,只预览启动计划。

agentseek dev --dry-run
输出片段
Startup plan
  Gateway: uv run bub gateway --enable-channel ag-ui
  Frontend: npm run dev
  App: http://127.0.0.1:5173
  Gateway: http://127.0.0.1:8088/agent
  Copilotkit: http://127.0.0.1:4000/api/copilotkit

启动计划来自 process 和 service 声明。

.agentseek/lifecycle.toml 片段
[processes.gateway]
command = ["uv", "run", "bub", "gateway", "--enable-channel", "ag-ui"]

[processes.frontend]
command = ["npm", "run", "dev"]
cwd = "frontend"

[services.app]
url = "http://127.0.0.1:5173"

当你已经知道项目状态时,可以跳过预先的 strict doctor 检查。 生命周期规范声明的核心必需输入,仍会在进程启动前检查。

agentseek dev --skip-check

使用 Ctrl+C 停止本地开发栈。

下一步