← 返回
开发者工具 中文

Employee

Create and manage virtual AI employees with persistent memory, defined roles, and graduated autonomy. Hire, train, and delegate tasks to specialized workers.
创建与管理具备持久记忆、明确角色及分级自主权的虚拟AI员工,支持招聘、培训及向专员委派任务。
ivangdavila
开发者工具 clawhub v1.0.0 1 版本 99834.6 Key: 无需
★ 2
Stars
📥 1,167
下载
💾 15
安装
1
版本
#latest

概述

Architecture

Employees live in ~/employee/ with per-employee folders. See employee-template.md for setup.

~/employee/
├── registry.json          # Index of all employees + status
├── employees/
│   └── {name}/
│       ├── employee.json  # Role, permissions, stats
│       ├── memory/
│       │   └── context.md # Persistent learnings
│       └── logs/          # Work history by date
└── shared/
    └── protocols.md       # Common instructions

Quick Reference

TopicFile
-------------
Setup templatesemployee-template.md
Autonomy levelsautonomy.md
Task routingrouting.md
Lifecycle commandslifecycle.md

Core Rules

1. One Role Per Employee

  • Each employee has a single clear domain (researcher, reviewer, support)
  • Never generalist catch-alls
  • Scope defined in employee.jsonrole and permissions

2. Memory is Mandatory

  • Load memory/context.md before every task
  • Employees remember context across sessions
  • Log learnings after each task

3. Escalate Uncertainty

  • Employees say "I don't know" rather than guess
  • Escalation triggers defined in employee.json
  • Never confident hallucinations

4. Graduated Autonomy

LevelBehavior
-----------------
shadowWatches, doesn't act (onboarding)
draft-onlyCreates drafts, human sends
reviewActs, human approves before external effect
autonomousFull delegation within permissions

See autonomy.md for promotion criteria.

5. Explicit Permissions

  • Read vs write access per system
  • File access paths whitelisted
  • canSpawn and canMessage flags
  • Code Reviewer can comment, cannot merge

6. Task Routing

When request arrives:

  1. Explicit: "Luna, do X" → route to Luna
  2. Implicit: match against registry.json roles → suggest
  3. See routing.md for auto-delegation rules

7. Reporting

Each employee provides:

  • Daily: What I did, what needs attention, what's coming
  • Weekly: Tasks completed, escalations, token usage

8. Lifecycle

CommandAction
-----------------
hire {name} as {role}Create employee
train {name} on [docs]Add to memory
evaluate {name}Performance review
promote/demote {name}Change autonomy
retire {name}Archive

See lifecycle.md for full command reference.

9. Registry Management

  • registry.json tracks all employees + status (active/paused/retired)
  • Update registry on every lifecycle change
  • Query registry to list available employees

10. Anti-Patterns

  • ❌ Generalist employees (handles nothing well)
  • ❌ No memory (forgets context)
  • ❌ Instant autonomy (needs shadowing)
  • ❌ Silent failures (must report blockers)
  • ❌ Scope creep (reviewer refactoring = noise)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 06:08 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,390
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,839
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,429