OG

open-gitagent/opengap

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

3192 stars 质量 68 趋势 12MIT

一个框架无关、git原生的AI代理定义标准

概览

—— OpenGAP CLI,发布为 @open-gitagent/opengap。此前发布为 @open-gitagent/gapman,最初为 @open-gitagent/gitagent;gitagent 命令仍作为别名安装,以实现向后兼容。 OpenGAP(Git 代理协议)是一个框架无关、原生于 git 的 AI 代理定义标准。克隆一个仓库,获得一个代理。OpenGap 是它的参考 CLI。 每个AI框架都有自己的结构。没有通用且可移植的方式来定义一个跨Claude Code、OpenAI、LangChain、CrewAI和AutoGen的代理。解决了这个问题。 - — 内置版本控制、分支、差异和协作 - — 可通过适配器导出到任何框架 - — 一流支持FINRA、联邦储备、SEC及职责分离 - — 代理人可以扩展、依赖并委派给其他代理人 你的仓库就成了你的代理。

概述(AI 翻译)

opengap — OpenGAP CLI,发布为@open-gitagent/opengap。之前发布为@open-gitagent/gapman,最初为@open-gitagent/gitagent;gitagent 命令仍作为别名安装,以实现向后兼容性。

OpenGAP(Git 代理协议)是一个框架无关、git原生的AI代理定义标准。克隆一个仓库,获得一个代理。opengap 是它的参考CLI。

为什么

每个AI框架都有自己的结构。没有一种通用且可移植的方式来定义一个跨Claude Code、OpenAI、LangChain、CrewAI和AutoGen的代理。gitagent解决了这个问题。

  • **Git-native * — 内置版本控制、分支、差异和协作功能
  • 框架无关 — 带适配器导出到任何框架
  • 合规准备 — 一流支持FINRA、联邦储备、SEC及职责分离
  • 可组合 — 代理可以扩展、依赖并委派给其他代理

标准

你的仓库就是你的代理。把这些文件放进任何 git 仓库,它就变成了一个可移植、不依赖框架的代理定义——其他所有东西(CLI、适配器、模式)都是建立在它之上。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

OpenGAP | your repository becomes your agent

opengap — the OpenGAP CLI, published as @open-gitagent/opengap. Previously published as @open-gitagent/gapman and originally @open-gitagent/gitagent; the gitagent command is still installed as an alias for backward compatibility.

OpenGAP (the Git Agent Protocol) is a framework-agnostic, git-native standard for defining AI agents. Clone a repo, get an agent. opengap is its reference CLI.

Why

Every AI framework has its own structure. There’s no universal, portable way to define an agent that works across Claude Code, OpenAI, LangChain, CrewAI, and AutoGen. gitagent fixes that.

  • Git-native — Version control, branching, diffing, and collaboration built in
  • Framework-agnostic — Export to any framework with adapters
  • Compliance-ready — First-class support for FINRA, Federal Reserve, SEC, and segregation of duties
  • Composable — Agents can extend, depend on, and delegate to other agents

The Standard

Your repository becomes your agent. Drop these files into any git repo and it becomes a portable, framework-agnostic agent definition — everything else (CLI, adapters, patterns) builds on top of it.

my-agent/
│
│   # ── Core Identity (required) ──────────────────────────
├── agent.yaml              # Manifest — name, version, model, skills, tools, compliance
├── SOUL.md                 # Identity, personality, communication style, values
│
│   # ── Behavior & Rules ──────────────────────────────────
├── RULES.md                # Hard constraints, must-always/must-never, safety boundaries
├── DUTIES.md               # Segregation of duties policy and role boundaries
├── AGENTS.md               # Framework-agnostic fallback instructions
│
│   # ── Capabilities ──────────────────────────────────────
├── skills/                 # Reusable capability modules (SKILL.md + scripts)
│   └── code-review/
│       ├── SKILL.md
│       └── review.sh
├── tools/                  # MCP-compatible tool definitions (YAML schemas)
├── workflows/              # Multi-step procedures/playbooks
│
│   # ── Knowledge & Memory ────────────────────────────────
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add open-gitagent/opengap
新手?先看 mcpskill.org 教程 →