agent-management
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAI Maestro Agent Management
AI Maestro Agent管理
Create, manage, and orchestrate multiple AI agents through a unified CLI. Handles the full agent lifecycle: create, hibernate, wake, rename, export/import, and plugin management. Part of the AI Maestro suite.
通过统一的CLI创建、管理和编排多个AI Agent。支持完整的Agent生命周期管理:创建、休眠、唤醒、重命名、导出/导入以及插件管理。属于AI Maestro套件的一部分。
Prerequisites
前置条件
Requires AI Maestro running locally with tmux 3.0+.
bash
undefined需要本地运行AI Maestro且安装tmux 3.0+版本。
bash
undefinedInstall the CLI
Install the CLI
git clone https://github.com/23blocks-OS/ai-maestro-plugins.git
cd ai-maestro-plugins && ./install-agent-cli.sh
undefinedgit clone https://github.com/23blocks-OS/ai-maestro-plugins.git
cd ai-maestro-plugins && ./install-agent-cli.sh
undefinedCore Commands
核心命令
Agent Lifecycle
Agent生命周期
| Command | Description |
|---|---|
| List all agents with status |
| Detailed agent information |
| Create new agent |
| Update task/tags |
| Delete agent |
| Rename agent |
| Save state, free resources |
| Resume hibernated agent |
| Hibernate then wake |
| 命令 | 描述 |
|---|---|
| 列出所有Agent及其状态 |
| 查看Agent详细信息 |
| 创建新的Agent |
| 更新任务/标签 |
| 删除Agent |
| 重命名Agent |
| 保存状态,释放资源 |
| 恢复休眠的Agent |
| 先休眠再唤醒 |
Plugin Management
插件管理
| Command | Description |
|---|---|
| Install plugin |
| Remove plugin |
| List installed plugins |
| Add marketplace |
| 命令 | 描述 |
|---|---|
| 安装插件 |
| 卸载插件 |
| 列出已安装的插件 |
| 添加插件市场 |
Export/Import
导出/导入
| Command | Description |
|---|---|
| Export agent config |
| Import agent from file |
| 命令 | 描述 |
|---|---|
| 导出Agent配置 |
| 从文件导入Agent |
Usage Examples
使用示例
bash
undefinedbash
undefinedCreate a backend API agent
Create a backend API agent
aimaestro-agent.sh create backend-api
--dir ~/projects/backend
--task "Build REST API with TypeScript"
--tags "api,typescript"
--dir ~/projects/backend
--task "Build REST API with TypeScript"
--tags "api,typescript"
aimaestro-agent.sh create backend-api
--dir ~/projects/backend
--task "Build REST API with TypeScript"
--tags "api,typescript"
--dir ~/projects/backend
--task "Build REST API with TypeScript"
--tags "api,typescript"
End of day -- save resources
End of day -- save resources
aimaestro-agent.sh hibernate frontend-ui
aimaestro-agent.sh hibernate data-processor
aimaestro-agent.sh hibernate frontend-ui
aimaestro-agent.sh hibernate data-processor
Resume next morning
Resume next morning
aimaestro-agent.sh wake frontend-ui --attach
aimaestro-agent.sh wake frontend-ui --attach
Install a plugin on an agent
Install a plugin on an agent
aimaestro-agent.sh plugin install backend-api my-plugin
aimaestro-agent.sh plugin install backend-api my-plugin
Backup before risky changes
Backup before risky changes
aimaestro-agent.sh export backend-api -o backup.json
undefinedaimaestro-agent.sh export backend-api -o backup.json
undefinedAgent Statuses
Agent状态
| Status | Meaning |
|---|---|
| Running in tmux session |
| Registered but no active session |
| Saved state, session killed |
| 状态 | 含义 |
|---|---|
| 在tmux会话中运行 |
| 已注册但无活跃会话 |
| 已保存状态,会话已终止 |
Full AI Maestro Experience
完整的AI Maestro使用体验
This skill is part of the AI Maestro platform, which provides 6 skills for AI agent orchestration: messaging, memory, docs, graph, planning, and agent management.
该功能属于AI Maestro平台,该平台提供6项功能用于AI Agent编排:消息传递、内存管理、文档处理、图谱、规划以及Agent管理。