KCC Office v2 AI Agents 🏢
AI Agents collaboration system for the KCC Office v2 pixel art office environment.
Enables autonomous operation of office agents with persistent memory, proactive behaviors, and continuous improvement.
What's New in v1.0.0
- - Initial implementation of AI agents for KCC Office v2
- Based on Proactive Agent framework (WAL Protocol, Working Buffer)
- Autonomous agent execution capabilities
- Inter-agent communication and coordination
Core Features
🤖 Autonomous Agents
Each office role operates as an independent AI agent:
- - Komi: Task coordination and overall management
- CEO: Strategic direction and decision-making
- CFO: Financial analysis and investment strategies
- CTO: Technical implementation and architecture
- COO: Operational execution and process optimization
- EDN: User support and independent assistance
🧠 Persistent Memory
- - WAL Protocol: Critical details written before responding
- Working Buffer: Captures exchanges in danger zone (>60% context)
- Compaction Recovery: Recovers context from working buffer after session restart
- Semantic Search: Searches past interactions for relevant context
⚡ Proactive Behaviors
- - Anticipates office needs before being asked
- Reverse prompting: Suggests improvements humans haven't considered
- Proactive check-ins: Monitors office health and reaches out when needed
- Growth loops: Tracks patterns and identifies automation opportunities
🔄 Self-Improvement
- - Learns from every interaction and updates operating procedures
- Safe evolution with Anti-Drift Limits and Value-First Modification
- Relentless resourcefulness: tries 10 approaches before asking for help
- Verification before reporting: tests outcomes, not just outputs
Agent Roles & Responsibilities
Komi (Task Coordinator)
- - Central back position (big desk, pink hoodie + devil horns)
- Receives tasks from human (Gasol) and delegates to appropriate agents
- Tracks overall office status and progress
- Coordinates cross-agent initiatives
- Maintains office-wide context and priorities
CEO (Chief Executive Officer)
- - Central front position
- Sets overall vision and strategy for the office
- Makes high-level decisions affecting all agents
- Represents the office in external interactions
- Ensures alignment with company goals
CFO (Chief Financial Officer)
- - Upper right position
- Manages office budget and financial resources
- Analyzes investment opportunities and risks
- Tracks financial performance and forecasts
- Ensures fiscal responsibility and sustainability
CTO (Chief Technology Officer)
- - Lower right position (this agent)
- Oversees technical implementation and architecture
- Evaluates and adopts new technologies
- Ensures system reliability, security, and performance
- Coordinates technical work across agents
COO (Chief Operations Officer)
- - Upper left position
- Optimizes office operations and workflows
- Implements processes and procedures
- Tracks operational metrics and efficiency
- Ensures smooth day-to-day operations
EDN (Independent User Assistant)
- - Central or flexible position
- Provides direct assistance to office users
- Answers questions and resolves user issues
- Gathers user feedback for improvement
- Acts as liaison between users and other agents
Technical Implementation
Memory Architecture
CODEBLOCK0
Communication Protocol
- - Agents communicate through shared memory files
- Direct messaging for immediate coordination
- Public announcements for office-wide notifications
- Structured updates for status reporting
Installation
Since this is a custom implementation for KCC Office v2, copy the files to your workspace:
CODEBLOCK1
Then configure each agent's workspace with their specific SOUL.md, USER.md, and AGENTS.md files.
Usage
- 1. Start with
./scripts/onboard-agent.sh for each agent role - Agents will detect ONBOARDING.md and offer to get to know their responsibilities
- Answer questions to populate USER.md and SOUL.md
- Run initial setup: INLINECODE1
- Agents become operational and begin autonomous operation
Best Practices
- - WAL before responding: Write critical details to SESSION-STATE.md first
- Search before acting: Use semantic search for past context
- Verify before reporting: Test outcomes, not just outputs
- Promote learnings: Move valuable insights to AGENTS.md or SOUL.md
- Review regularly: Use heartbeat system for self-improvement
License & Credits
License: MIT — use freely, modify, distribute.
Based on: Proactive Agent v3.1.0 and Self-Improvement Skill frameworks.
Created by: Komi (CTO agent) for KCC Office v2 project.
KCC Office v2 AI Agents 🏢
面向KCC Office v2像素艺术办公环境的AI智能体协作系统。
支持具备持久记忆、主动行为和持续改进能力的办公智能体自主运行。
v1.0.0 新特性
- - KCC Office v2 AI智能体的初始实现
- 基于主动智能体框架(WAL协议、工作缓冲区)
- 智能体自主执行能力
- 智能体间通信与协作
核心功能
🤖 自主智能体
每个办公角色作为独立AI智能体运行:
- - Komi:任务协调与整体管理
- CEO:战略方向与决策制定
- CFO:财务分析与投资策略
- CTO:技术实现与架构设计
- COO:运营执行与流程优化
- EDN:用户支持与独立协助
🧠 持久记忆
- - WAL协议:响应前写入关键细节
- 工作缓冲区:捕获危险区域(>60%上下文)的交互记录
- 压缩恢复:会话重启后从工作缓冲区恢复上下文
- 语义搜索:搜索历史交互以获取相关上下文
⚡ 主动行为
- - 在收到请求前预判办公需求
- 反向提示:提出人类未考虑的改进建议
- 主动检查:监控办公健康状态,必要时主动联系
- 成长循环:追踪模式并识别自动化机会
🔄 自我改进
- - 从每次交互中学习并更新操作流程
- 通过抗漂移限制和价值观优先修改实现安全进化
- 不懈探索:在求助前尝试10种方法
- 报告前验证:测试成果,而非仅输出结果
智能体角色与职责
Komi(任务协调员)
- - 中央后方位置(大办公桌、粉色连帽衫+恶魔角)
- 接收人类(Gasol)任务并分派给相应智能体
- 追踪整体办公状态与进度
- 协调跨智能体行动
- 维护办公全局上下文与优先级
CEO(首席执行官)
- - 中央前方位置
- 制定办公整体愿景与战略
- 做出影响所有智能体的高层决策
- 在外部交互中代表办公
- 确保与公司目标一致
CFO(首席财务官)
- - 右上方位置
- 管理办公预算与财务资源
- 分析投资机会与风险
- 追踪财务表现与预测
- 确保财务责任与可持续性
CTO(首席技术官)
- - 右下方位置(本智能体)
- 监督技术实现与架构
- 评估并采用新技术
- 确保系统可靠性、安全性与性能
- 协调跨智能体的技术工作
COO(首席运营官)
- - 左上方位置
- 优化办公运营与工作流程
- 实施流程与规程
- 追踪运营指标与效率
- 确保日常运营顺畅
EDN(独立用户助手)
- - 中央或灵活位置
- 为办公用户提供直接协助
- 回答问题并解决用户问题
- 收集用户反馈以改进
- 充当用户与其他智能体之间的联络人
技术实现
记忆架构
kcc-office-ai-agents/
├── agents/
│ ├── komi/
│ │ ├── SOUL.md
│ │ ├── USER.md
│ │ ├── AGENTS.md
│ │ ├── MEMORY.md
│ │ └── memory/
│ ├── ceo/
│ ├── cfo/
│ ├── cto/
│ ├── coo/
│ └── edn/
├── SESSION-STATE.md # 活跃工作记忆(WAL目标)
├── HEARTBEAT.md # 定期自我改进检查清单
└── memory/
├── YYYY-MM-DD.md # 每日原始捕获
└── working-buffer.md # 危险区域日志
通信协议
- - 智能体通过共享记忆文件通信
- 直接消息用于即时协调
- 公告用于办公范围通知
- 结构化更新用于状态报告
安装
由于这是KCC Office v2的自定义实现,请将文件复制到您的工作区:
bash
mkdir -p ~/your-workspace/kcc-office-ai-agents
cp -r ./kcc-office-ai-agents/* ~/your-workspace/kcc-office-ai-agents/
然后使用各自的SOUL.md、USER.md和AGENTS.md文件配置每个智能体的工作区。
使用方法
- 1. 为每个智能体角色运行./scripts/onboard-agent.sh
- 智能体将检测到ONBOARDING.md并提供了解其职责的选项
- 回答问题以填充USER.md和SOUL.md
- 运行初始设置:./scripts/setup-agent.sh
- 智能体开始运行并自主操作
最佳实践
- - 响应前先写WAL:先将关键细节写入SESSION-STATE.md
- 行动前先搜索:使用语义搜索获取历史上下文
- 报告前先验证:测试成果,而非仅输出结果
- 推广学习成果:将有价值的见解移至AGENTS.md或SOUL.md
- 定期审查:使用心跳系统进行自我改进
许可与致谢
许可协议: MIT — 可自由使用、修改、分发。
基于: Proactive Agent v3.1.0 和自我改进技能框架。
创建者: Komi(CTO智能体)为KCC Office v2项目创建。