Automation
Command
/os-up
一键启动AI Team OS服务 — API + Dashboard
Install
> /plugin marketplace add CronusL-1141/AI-company > /plugin install ai-team-os@ai-team-os
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/os-up
Context preview
What this command does when you run it.
一键启动AI Team OS服务 — API + Dashboard
Command definition
os-up.mdname: os-up description: 一键启动AI Team OS服务 — API + Dashboard
/os-up — 一键启动服务
启动 AI Team OS 的 API 服务器和 Dashboard 前端。
操作步骤
1. 检测API服务
curl -s --max-time 2 http://localhost:8000/api/teams
- 如果返回JSON → API已在运行,跳到步骤3
- 如果超时/失败 → 执行步骤2
2. 启动API服务(后台)
# 在项目根目录执行(即包含 pyproject.toml 的目录) python -m uvicorn aiteam.api.app:create_app --host 0.0.0.0 --port 8000 --factory &
等待3秒后验证:
curl -s --max-time 3 http://localhost:8000/api/teams
3. 检测Dashboard
curl -s --max-time 2 http://localhost:5173
- 如果返回HTML → Dashboard已在运行,跳到步骤5
- 如果超时/失败 → 执行步骤4
4. 启动Dashboard(后台)
# 在项目的 dashboard 子目录执行 cd dashboard npm run dev &
等待5秒后验证:
curl -s --max-time 3 http://localhost:5173
5. 报告状态
显示:
AI Team OS 服务状态: - API: http://localhost:8000 ✅/❌ - Dashboard: http://localhost:5173 ✅/❌ - API文档: http://localhost:8000/docs - WebSocket: ws://localhost:8000/ws
注意
- 使用后台方式启动(`&`),不阻塞当前会话
- 启动前检测避免重复启动
- Dashboard使用npm run dev(开发模式),关闭时用Ctrl+C或'q'
- 如果启动失败,提示检查依赖:`pip install -e ".[all]"` 和 `cd dashboard && npm install`
Ships withai-company
Multi-agent team operating system for Claude Code. 108 MCP tools, 40+ agent templates, 10 lifecycle hooks, 7 pipeline workflows. Persistent teams, structured meetings, task wall, real-time React dashboard. No LangChain/AutoGen — pure CC native integration.
Get the whole plugin
Stats
340
Stars
57
Forks
Active
Maintenance
Python
Language
MIT
License
6d ago
Last commit
5mo ago
Created
Repo: CronusL-1141/AI-company

