Files
chill_notes/AI工程/Harness Engineering.md
2026-04-21 17:42:54 +08:00

73 lines
1.4 KiB
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Harness Engineering 知识体系
> Agent skill for harness engineering — memory, permissions, context engineering, multi-agent coordination
---
## 概述
Harness Engineering 是一种 AI Agent 能力构建方法论,专注于:
- Memory记忆系统
- Permissions权限控制
- Context Engineering上下文工程
- Multi-Agent Coordination多智能体协调
---
## 核心模式
### 1. Memory记忆系统
让 AI Agent 拥有持久记忆能力:
- **短期记忆** — 当前会话上下文
- **长期记忆** — 跨会话的知识积累
- **向量记忆** — 基于语义检索的记忆
### 2. Permissions权限控制
控制 Agent 的操作权限:
- 文件系统访问边界
- 网络请求限制
- 命令执行审批
- API 密钥管理
### 3. Context Engineering上下文工程
优化 Agent 的上下文处理:
- 上下文窗口管理
- 关键信息提取
- 上下文压缩策略
- 先验知识注入
### 4. Multi-Agent Coordination多智能体协调
多个 Agent 协同工作:
- 任务分解与分配
- Agent 间通信协议
- 结果聚合与汇总
- 冲突检测与解决
---
## 工具链
### Claude Code Skill
```bash
npx skills add keli-wen/agentic-harness-patterns-skill
```
支持:
- EN/ZH 双语
- Codex CLI
- Gemini CLI规划中
---
## 适用场景
- 企业级 AI Agent 开发
- DevOps/SRE 自动化
- 安全敏感场景
- 多 Agent 协作系统
- 复杂任务自动化