让 AI Agent
遵循你的
工程流程
Make AI Agents
Follow Your
Engineering Process
不要只写更好的 Prompt。开始构建可复用的工程流程。Agent Harness 让 Claude Code、Codex、Cursor 等 AI 编程工具,在不同项目中遵循统一的开发方式。 Stop writing better prompts. Start building better processes. Agent Harness makes Claude Code, Codex, Cursor and other AI coding agents follow a repeatable engineering workflow.
它不是另一个 Agent,而是包裹在 Agent 外面的工程流程层。 Not another agent. A process layer around the agents you already use.
AI 不是不会写代码,而是不知道你的工程流程。 AI agents don't fail because they can't code.
很多 AI 编程失败不是能力问题,而是流程缺失:需求没澄清、边界没确认、架构规则没读取、验证结果说不清。 They fail because they don't know your engineering process: unclear scope, hidden assumptions, skipped project rules and vague verification.
没有 HarnessWithout Harness
使用 Agent HarnessWith Agent Harness
通用流程可复用,项目知识单独沉淀。 Reusable process. Project-specific knowledge.
Agent Harness 将通用流程和项目事实分开:core 负责流程,project 负责当前仓库的规则、约束和上下文。 Agent Harness separates the reusable process layer from local repository knowledge: core defines the workflow, project stores your rules and constraints.
harness/core
通用流程层,可作为 submodule 升级。Generic process layer, upgradeable as a submodule.
harness/project
当前项目的工程知识,保留在你的仓库里。Local engineering knowledge that stays inside your repository.
少而清晰的三层能力。 Three clear layers of capability.
工程流程Engineering Flow
让 Agent 在修改代码前明确范围、方案、风险和验证方式。Make agents clarify scope, solution, risk and verification before editing code.
项目知识Project Knowledge
沉淀模块边界、架构约束、高风险路径和团队规则。Capture module boundaries, architecture constraints, risk paths and team conventions.
可复用流程Reusable Process
将 Bugfix、需求、重构、长任务等流程模板化,跨项目复用。Turn bugfixes, features, refactors and long operations into reusable process templates.
已用于真实工具链项目。 Used in a real toolchain project.
Forja
Forja 是一个 C++ 项目构建工具链,包含 VSCode 扩展、独立 CLI 和 AI Skill,支持 Qt/qmake 项目、SDK 项目、Windows MSVC 与 Linux 平台。 Forja is a C++ project build toolchain with a VSCode extension, standalone CLI and AI Skill. It supports Qt/qmake projects, SDK projects, Windows MSVC and Linux.
流程可以规模化。 Prompts are temporary.
Processes scale.
三步接入你的仓库。 Add it to your repository in three steps.
git submodule add https://github.com/jxiaow/agent-harness.git harness/core mkdir -p harness/project/rules # Then ask your AI coding agent: Read harness/core/ONBOARD.md Generate the project profile and rules.