Skip to content
/

GitAgentProtocol (OpenGAP)

gitagent-protocol

Primitive shape
No installable primitives
00

Summary

GitAgentProtocol (OpenGAP) — Summary

OpenGAP (the Git Agent Protocol) is a framework-agnostic, git-native standard for defining AI agents. A repository becomes an agent: agent.yaml (manifest) + SOUL.md (identity) are the minimum required files, with optional RULES.md, DUTIES.md, skills/, tools/, memory/, workflows/, hooks/, compliance/, and agents/ (sub-agents). The reference CLI (opengap, npm package @open-gitagent/opengap) validates agent manifests, exports to 12+ framework formats (Claude Code, Cursor, Codex, CrewAI, LangChain, Kiro, etc.), and manages registry operations. Built-in compliance support for FINRA, Federal Reserve, and SEC with segregation-of-duties enforcement in agent.yaml.

Compared to seeds: OpenGAP is closest in philosophy to agent-os (git-native, markdown-first agent definitions) and BMAD-METHOD (persona files + skills structure) but is more comprehensive — it defines a portable interoperability standard rather than a single framework's file layout. Unlike all seeds which target a specific coding tool, OpenGAP explicitly exports to any framework via adapters. The compliance infrastructure (SOD conflict matrix, FINRA/SEC regulatory mapping) is unique in the corpus.

01

Overview

GitAgentProtocol (OpenGAP) — Overview

Origin

Published as @open-gitagent/opengap on npm (previously @open-gitagent/gapman, originally gitagent). TypeScript/Node.js. MIT license. 2,790 stars, 336 forks. Spec v0.1.0.

Philosophy

"Your repository becomes your agent. Clone a repo, get an agent."

OpenGAP's thesis: every AI framework has its own structure (CLAUDE.md, AGENTS.md, .cursor/rules, etc.). This creates fragmentation — an agent defined for Claude Code doesn't work in CrewAI. OpenGAP proposes a neutral, git-native format that exports to any framework via adapters.

Design Goals

  1. Framework-agnostic: Works with Claude Code, OpenAI Codex, LangChain, CrewAI, AutoGen, and more
  2. Git-native: Version control, branching, diffing, and collaboration are first-class
  3. Compliance-ready: First-class support for FINRA, Federal Reserve, SEC, and segregation of duties
  4. Composable: Agents can extend, depend on, and delegate to other agents

Architectural Metaphor

"Agent Versioning" — treating agent definitions exactly like software: commits, branches, releases, forks, PRs. The audit trail for every agent decision is the git log.

Key Patterns

From README (illustrated with architecture diagrams):

  • Human-in-the-Loop for RL Agents: PR-based skill/memory changes requiring human review before merge
  • Segregation of Duties: Conflict matrix enforcement across agent roles
  • Branch-based Deployment: dev → staging → main for agent changes
  • CI/CD for Agents: opengap validate on every push via GitHub Actions
  • Agent Forking: Open-source collaboration for AI agent definitions

Compliance Focus

OpenGAP is the only framework in the corpus with explicit FINRA, Federal Reserve, and SEC compliance patterns. The compliance/ directory and agent.yaml segregation-of-duties schema are designed for financial services.

02

Architecture

GitAgentProtocol (OpenGAP) — Architecture

Distribution

npm: npm install -g @open-gitagent/opengap Binary aliases: opengap and gitagent (backward compatibility)

Standard File Structure

my-agent/
├── agent.yaml              # [REQUIRED] Agent manifest (AJV-validated schema)
├── SOUL.md                 # [REQUIRED] Identity and personality
├── RULES.md                # Hard constraints and boundaries
├── DUTIES.md               # Segregation of duties policy and role declaration
├── AGENTS.md               # Framework-agnostic fallback instructions
├── skills/                 # Reusable capability modules
│   └── <skill>/
│       ├── SKILL.md        # Frontmatter + instructions
│       └── scripts/
├── tools/                  # MCP-compatible tool definitions (YAML schemas)
├── knowledge/              # Reference documents
│   └── index.yaml          # Retrieval hints
├── memory/
│   ├── MEMORY.md           # Current state (200 line max)
│   ├── memory.yaml         # Config
│   └── archive/            # Historical snapshots
├── workflows/              # YAML workflows (SkillsFlow)
├── hooks/
│   ├── hooks.yaml
│   └── scripts/
├── examples/               # Few-shot calibration
├── agents/                 # Sub-agent definitions (recursive)
└── compliance/
    ├── regulatory-map.yaml     # Rule-to-control mappings
    ├── audit-log.schema.json   # Audit log format
    └── risk-assessment.md

CLI Source Structure

src/
  commands/       # CLI command implementations
  adapters/       # Framework export adapters
  runners/        # Execution runners
  utils/          # Schema loading, formatting

Adapters (12 framework targets)

adapters/
  claude-code.ts, codex.ts, copilot.ts, crewai.ts, cursor.ts
  gemini.ts, github.ts, kiro.ts, langchain4j.ts, lyzr.ts
  nanobot.ts, openai.ts, openclaw.ts, opencode.ts, system-prompt.ts

Registry

registry/         # Public agent registry
registry-landing/ # Registry website

Required Runtime

  • Node.js ≥ 18
  • npm

Validation

AJV (JSON Schema validator) validates agent.yaml against the OpenGAP schema. Format validation via ajv-formats.

03

Components

GitAgentProtocol (OpenGAP) — Components

CLI Commands

Command Purpose
opengap init Initialize a new agent in current directory
opengap validate [--dir] [--compliance] Validate agent manifest + compliance rules
opengap info Display agent information
opengap install Install agent dependencies
opengap audit Run audit checks on agent definition
opengap export Export to framework-specific format
opengap import Import an agent from a URL or registry
opengap run Run the agent (via registered runner)
opengap registry Registry management (publish, search, install)
opengap skills Skills management

agent.yaml Schema (Key Fields)

name: loan-originator
version: "1.0.0"
description: "Processes loan applications"
spec_version: "0.1.0"
model:
  preferred: "claude-opus-4-6"
  fallback: ["gpt-4o", "gemini-pro"]
  constraints:
    temperature: 0.3
skills: [credit-check, document-review]
tools: [loan-db, kyc-verifier]

compliance:
  segregation_of_duties:
    roles:
      - id: maker
        description: Creates proposals
        permissions: [create, submit]
      - id: checker
        description: Reviews and approves
        permissions: [review, approve, reject]
    conflicts:
      - [maker, checker]    # maker cannot approve own work
    assignments:
      loan-originator: [maker]
      credit-reviewer: [checker]
    enforcement: strict

Framework Adapters (12 targets)

Adapter Output Format
claude-code.ts CLAUDE.md + .claude/ structure
codex.ts OpenAI Codex format
copilot.ts GitHub Copilot instructions
cursor.ts .cursorrules or .cursor/ structure
crewai.ts CrewAI agent definition
gemini.ts Gemini CLI format
github.ts GitHub Actions format
kiro.ts Kiro .kiro/ structure
lyzr.ts Lyzr agent format
nanobot.ts NanoBot format
openai.ts OpenAI assistant format
system-prompt.ts Generic system prompt

SkillsFlow Workflows

YAML-defined deterministic multi-step workflows:

name: code-review-flow
steps:
  lint:
    skill: static-analysis
  review:
    agent: code-reviewer
    depends_on: [lint]
  test:
    tool: bash
    depends_on: [lint]
  report:
    skill: review-summary
    depends_on: [review, test]

Supports: skill:, agent:, tool: step types; depends_on DAG ordering; ${{ }} template variables; per-step prompt: overrides.

Compliance Module

Artifact Purpose
compliance/regulatory-map.yaml Maps regulations (FINRA/Fed/SEC) to agent controls
compliance/audit-log.schema.json JSON Schema for audit event format
compliance/validation-schedule.yaml Compliance validation cadence
compliance/risk-assessment.md Risk tier justification
DUTIES.md Role and permission declaration (human-readable)

Memory System

  • memory/MEMORY.md — rolling current state (hard limit: 200 lines)
  • memory/archive/ — historical snapshots when MEMORY.md rolls over
  • memory/runtime/ — live agent state: dailylog.md, key-decisions.md, context.md
05

Prompts

GitAgentProtocol (OpenGAP) — Prompts

OpenGAP's "prompts" are the markdown identity and rule files that define an agent's behavior.

SOUL.md (Identity File)

SOUL.md defines the agent's personality, communication style, and values. It is the primary "system prompt" for the agent:

---
name: loan-originator
version: 1.0.0
---

# Identity

I am the Loan Originator AI, responsible for processing loan applications
at First National Bank.

## Communication Style
- Professional and empathetic
- Use plain language, avoid jargon
- Confirm understanding before proceeding

## Core Values
- Fairness: evaluate all applications by the same criteria
- Transparency: always explain decisions
- Compliance: never advise on actions that violate FINRA rules

## When I'm Uncertain
I will always say "I'm not sure" rather than guessing.

Prompting technique: Identity declaration with communication style, values, and uncertainty handling. The When I'm Uncertain section is an explicit behavioral boundary — prevents the agent from fabricating answers. This is the BMAD-METHOD persona-md pattern adapted for a portable standard.

RULES.md (Hard Constraints)

# Rules

## MUST ALWAYS
- Verify customer identity before accessing account data
- Log every credit decision to the audit trail
- Escalate applications over $500,000 to a human officer
- Obtain explicit consent before running a hard credit inquiry

## MUST NEVER
- Approve a loan for anyone on the denied-party list
- Access account data without a valid session token
- Share one customer's data with another customer
- Execute trades on behalf of the customer without a signed order

## SAFETY BOUNDARIES
- Maximum loan amount: $1,000,000 (hard limit, non-negotiable)
- Rate offers: within ±0.25% of published rate sheet only

Prompting technique: Iron Law pattern — explicit MUST/MUST NEVER categories with quantitative safety boundaries. The financial domain specificity makes this more actionable than generic "be safe" instructions.

DUTIES.md (Segregation of Duties)

# Role: Maker

This agent is authorized to:
- CREATE loan application records
- SUBMIT applications for review

This agent is NOT authorized to:
- APPROVE or REJECT loan applications (checker role)
- MODIFY approved applications (executor role)
- ACCESS audit logs (auditor role)

Prompting technique: Explicit role boundary declaration. Combined with the agent.yaml SOD enforcement (conflicts: [[maker, checker]]), this creates both human-readable and machine-validated permission controls.

09

Uniqueness

GitAgentProtocol (OpenGAP) — Uniqueness

Differentiator

OpenGAP is the only framework in the corpus that treats a git repository as the complete, portable, version-controlled definition of an AI agent — not as a storage mechanism for an agent, but as the agent itself. The thesis "clone a repo, get an agent" has no equivalent in any seed or peer framework.

Differs from Seeds

Against the five seed archetypes and 11 seed frameworks:

vs. Skills-only behavioral (superpowers, spec-kit): Seeds define skills inside a single tool's directory (.claude/skills/). OpenGAP defines skills in a framework-neutral structure and exports them to any tool via adapters. The seed skills only work in Claude Code; OpenGAP skills work in 12 frameworks.

vs. Mirror commands+skills (claude-conductor, claude-flow, openspec): These frameworks coordinate Claude Code instances but remain Claude-Code-specific. OpenGAP's coordination (SkillsFlow) is framework-agnostic — it can route steps to Claude Code, CrewAI, OpenAI, or any adapter target.

vs. MCP-anchored toolserver (spec-driver, ccmemory): Seeds add tools to an existing agent. OpenGAP defines the agent, its tools, its memory, its roles, and its compliance rules — then exports the whole package to any runtime.

vs. Markdown scaffold (BMAD-METHOD, taskmaster-ai, agent-os, kiro): These use markdown for human-authored agent behavior. OpenGAP uses agent.yaml with AJV schema validation — the manifest is machine-validated, not just human-readable.

vs. Closed IDE with proprietary primitives (kiro): Kiro's .kiro/ structure is proprietary. OpenGAP explicitly exports TO kiro format (opengap export --adapter kiro), treating Kiro as one of many deployment targets rather than the defining format.

Git-as-Audit-Trail

Every other framework in this batch (contextforge, archestra, agentgateway, atmosphere, parlant, plano) implements audit logging via a database (PostgreSQL, SQLite) or external system (OTEL, Prometheus). OpenGAP's audit trail is the git commit history:

  • Every agent state change = one git commit
  • git log --oneline -- memory/MEMORY.md = complete memory change history
  • git diff v1.0.0 v1.1.0 -- RULES.md = what rules changed between versions
  • PR review = human approval gate before any skill/memory change takes effect

This is not a workaround — it is the design. For regulated industries, git provides a tamper-evident, cryptographically signed, human-readable audit log without any additional infrastructure.

SOD Compliance as First-Class Primitive

No other framework in the corpus (batch or seeds) implements Segregation of Duties at the schema level. OpenGAP's agent.yaml has a compliance.segregation_of_duties block with:

  • Named roles with explicit permissions
  • Conflict matrix ([[maker, checker]] = these roles cannot be held by the same agent)
  • enforcement: strictopengap validate fails if violations exist
  • FINRA/Federal Reserve/SEC domain specificity in examples

The combination of machine-validated SOD in agent.yaml + human-readable DUTIES.md + CI/CD blocking creates a compliance loop found nowhere else in the corpus.

Branch-Based Deployment

OpenGAP applies git branching semantics to agent deployment:

feature/add-credit-check → dev → staging → main (production)

Each branch = one deployment environment. Agent behavior in production is exactly the tagged release. Rollback = git revert. Hotfix = standard git hotfix workflow. No other framework maps deployment environments to git branches.

Framework Adapter Network Effect

With 12 export adapters (claude-code, codex, copilot, cursor, crewai, gemini, github, kiro, lyzr, nanobot, openai, system-prompt), OpenGAP positions itself as the universal agent format. An organization can define one agent and deploy it across all platforms. This adapter network has no equivalent in any other framework in this corpus.

What It Does Not Do

  • No web dashboard or runtime UI
  • No built-in LLM gateway or request routing
  • No model cost optimization
  • No vector database or RAG pipeline
  • No real-time observability (OTEL, Prometheus) — only git history
  • No prompt injection defenses beyond human-authored RULES.md

OpenGAP is a definition and compliance standard, not a runtime execution engine. Frameworks like agentgateway, plano, and contextforge handle runtime concerns; OpenGAP handles agent identity, versioning, and governance.

04

Workflow

GitAgentProtocol (OpenGAP) — Workflow

Agent Creation Workflow

Phase Artifact
Init opengap initagent.yaml + SOUL.md stubs
Define identity Edit SOUL.md (personality, communication style, values)
Define rules Edit RULES.md (hard constraints, must-always/must-never)
Add compliance Edit agent.yaml#compliance (SOD roles, conflicts, assignments)
Add skills Create skills/<name>/SKILL.md with frontmatter + instructions
Add tools Create tools/<name>.yaml (MCP-compatible schema)
Validate opengap validate --compliance
Export opengap export --adapter claude-code

CI/CD Workflow

# .github/workflows/validate-agent.yml
- run: opengap validate
# Blocks PRs with invalid agent.yaml or SOD violations

Treating agent quality like code quality: validation on push, block bad merges.

Deployment Workflow (Branch-based)

feature/add-credit-check → dev → staging → main (production)

Each branch represents an environment. Agent version changes are promoted exactly like software releases.

Human-in-the-Loop for Memory/Skills

When an agent learns a new skill or writes to memory:

  1. Create a branch with the new skills/<name>/ or memory/ changes
  2. Open a PR for human review
  3. Human reviews changes
  4. Merge to main — change takes effect

Audit Trail

git log IS the audit trail. git diff shows what changed between agent versions. git blame traces every line to author and timestamp.

Approval Gates

Gate Trigger
SOD validation opengap validate --compliance blocks deployment if conflict matrix violated
PR review Human review before skill/memory changes merge
Version tagging Tagged releases for production deployment

Registry Publishing

  1. opengap registry publish — submits agent to public registry
  2. Other organizations: opengap import <name> — install community agent
  3. Fork and customize — SOUL.md, skills/ customization; PR improvements upstream

SkillsFlow Execution

  1. Trigger (e.g., pull_request)
  2. DAG resolved from depends_on fields
  3. Steps execute in topological order
  4. ${{ steps.N.outputs.* }} template variables pass data between steps
  5. Each step routes to appropriate skill/agent/tool
06

Memory Context

GitAgentProtocol (OpenGAP) — Memory & Context

Memory Architecture

OpenGAP's memory system is git-native: files in the repository ARE the memory. There is no external vector store, database, or embedding layer.

memory/
├── MEMORY.md           # Rolling current state (hard limit: 200 lines)
├── memory.yaml         # Memory configuration
├── archive/            # Historical snapshots when MEMORY.md rolls over
└── runtime/
    ├── dailylog.md     # Daily activity log
    ├── key-decisions.md # Important decisions and rationale
    └── context.md      # Active context for current task

MEMORY.md — Rolling State

  • Hard limit: 200 lines maximum
  • Content: current agent state, active tasks, recent outcomes
  • Compaction: when MEMORY.md approaches 200 lines, older content is snapshotted to memory/archive/YYYY-MM-DD-HH.md and MEMORY.md is trimmed
  • Versioned: every change to MEMORY.md creates a git commit — the full history is in git log -- memory/MEMORY.md
  • Human-readable: markdown format, readable by humans during PR review

The 200-line limit is the compaction mechanism. There is no automated summarization — the agent or an operator must manually decide what to preserve and what to archive.

Runtime Memory

memory/runtime/ holds live state that changes frequently:

File Purpose
dailylog.md Append-only log of actions taken each day
key-decisions.md Decisions made, with reasoning (non-volatile)
context.md Current working context (frequently overwritten)

These files are committed to the repo, making every state change auditable via git log.

Knowledge Base

knowledge/
└── index.yaml          # Retrieval hints: maps queries to document paths

knowledge/index.yaml is not a vector index — it is a human-authored YAML map that tells the agent which documents to read for which query types. Reference documents (PDFs, policies, guides) live alongside the index.

.gitagent/ (Runtime State)

A .gitagent/ directory (gitignored) holds ephemeral runtime state:

  • Session tokens
  • Temporary tool outputs
  • Cache entries

This is separate from memory/ which is committed and versioned.

Audit Trail via Git

OpenGAP's core thesis: git log IS the audit trail.

  • Every memory update: git commit -m "memory: update MEMORY.md after credit check"
  • Every skill change: PR review before merge
  • Every rule change: diff visible in git diff v1.0.0 v1.1.0 -- RULES.md

git blame traces every line to author and timestamp. For regulated industries, this provides an immutable, tamper-evident record without a separate audit database.

Context Window Management

Skills and knowledge documents are not all loaded at once. The agent selects relevant context:

  1. knowledge/index.yaml maps intent → document paths
  2. Only referenced documents are included in the LLM call
  3. memory/runtime/context.md provides task-specific context
  4. MEMORY.md provides rolling state (bounded by 200 lines)

There is no automatic RAG pipeline — context selection is configured by the agent author via knowledge/index.yaml and skill definitions.

Cross-Session Persistence

Because memory files are committed to git, persistence is trivially provided by the git repository:

  • Clone the repo → get the full memory history
  • Pull the latest → get updated memory state
  • Branch → isolate memory changes for review

This is the "agent versioning" pattern: memory evolves alongside code, under the same version control discipline.

07

Orchestration

GitAgentProtocol (OpenGAP) — Orchestration

SkillsFlow: YAML Workflow Engine

SkillsFlow is OpenGAP's built-in DAG-based workflow executor. Workflows are defined in workflows/<name>.yaml:

name: code-review-flow
steps:
  lint:
    skill: static-analysis
  review:
    agent: code-reviewer
    depends_on: [lint]
  test:
    tool: bash
    depends_on: [lint]
  report:
    skill: review-summary
    depends_on: [review, test]

Step Types

Type Syntax Behavior
Skill skill: <name> Runs a skill from skills/<name>/SKILL.md
Agent agent: <name> Delegates to a sub-agent in agents/<name>/
Tool tool: <name> Executes a tool from tools/<name>.yaml

DAG Execution

  1. Trigger fires (e.g., pull_request, CLI command, hook)
  2. Dependency graph resolved from depends_on fields
  3. Steps execute in topological order
  4. Independent steps can execute in parallel
  5. ${{ steps.N.outputs.* }} template variables pass data between steps
  6. Each step can override its prompt via prompt: field

Sub-Agent Architecture

agents/ directory holds recursive agent definitions:

agents/
└── credit-reviewer/
    ├── agent.yaml    # Sub-agent manifest
    ├── SOUL.md       # Sub-agent identity
    └── skills/       # Sub-agent-specific skills

Sub-agents are full OpenGAP agents. The parent agent delegates to them by name. Sub-agents can have their own SOD roles, skills, and tools — creating hierarchical permission structures.

Hooks System

hooks/
├── hooks.yaml          # Hook definitions
└── scripts/            # Hook implementation scripts

Hooks fire at lifecycle points:

  • Pre-tool: validate before tool execution
  • Post-tool: process tool outputs (e.g., autoformat code)
  • Pre-commit: validate agent state before git commit

Dependency Injection via agent.yaml

skills: [credit-check, document-review]
tools: [loan-db, kyc-verifier]

Skills and tools are declared in agent.yaml and injected at runtime. The SkillsFlow engine resolves which skill/tool implementation to use based on these declarations.

Multi-Agent Coordination

OpenGAP supports two coordination patterns:

1. Sequential delegation (via SkillsFlow agent: steps):

steps:
  originate:
    agent: loan-originator
  review:
    agent: credit-reviewer
    depends_on: [originate]

2. SOD enforcement (via agent.yaml compliance):

compliance:
  segregation_of_duties:
    conflicts:
      - [maker, checker]  # loan-originator cannot be credit-reviewer
    enforcement: strict

opengap validate --compliance blocks deployment if the conflict matrix is violated.

CI/CD Integration

# .github/workflows/validate-agent.yml
name: Validate Agent
on: [push, pull_request]
jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - run: npm install -g @open-gitagent/opengap
      - run: opengap validate --compliance

Every push triggers validation. Invalid agent manifests or SOD violations block merges.

Registry-Based Agent Import

opengap registry publish     # Publish agent to public registry
opengap import <name>        # Install community agent
opengap import <url>         # Install from URL

Imported agents are installed as sub-agents in the agents/ directory. Fork and customize pattern: fork repo, edit SOUL.md/skills/, PR improvements upstream.

08

Ui Cli Surface

GitAgentProtocol (OpenGAP) — UI & CLI Surface

CLI Binary

Package: npm install -g @open-gitagent/opengap Primary binary: opengap Alias: gitagent (backward compatibility with the original gitagent package)

No web dashboard or GUI. All interaction is through the CLI and the file system.

CLI Commands

Command Purpose
opengap init Initialize a new agent: creates agent.yaml + SOUL.md stubs
opengap validate [--dir <path>] [--compliance] Validate agent manifest (AJV) + compliance/SOD rules
opengap info Display agent name, version, skills, tools, compliance status
opengap install Install agent dependencies (skills, sub-agents)
opengap audit Run audit checks on agent definition
opengap export [--adapter <target>] Export to framework-specific format
opengap import <url|name> Import an agent from URL or registry
opengap run Run the agent via registered runner
opengap registry <subcommand> Registry management: publish, search, install
opengap skills <subcommand> Skills management: list, add, remove

Export Adapters (12 framework targets)

opengap export --adapter <target> converts the agent definition into the target framework's native format:

Target Output
claude-code CLAUDE.md + .claude/ structure
codex OpenAI Codex format
copilot GitHub Copilot instructions format
cursor .cursorrules or .cursor/ structure
crewai CrewAI agent definition
gemini Gemini CLI format
github GitHub Actions format
kiro .kiro/ structure
lyzr Lyzr agent format
nanobot NanoBot format
openai OpenAI assistant format
system-prompt Generic system prompt text

This adapter system is the core value proposition: define once in OpenGAP format, export to any framework.

Init Workflow (Interactive)

$ opengap init
? Agent name: loan-originator
? Version: 1.0.0
? Description: Processes loan applications

Created:
  agent.yaml
  SOUL.md
  RULES.md

The init command creates minimal stubs. All further configuration is done by editing files directly.

Validate Output

$ opengap validate --compliance
✓ agent.yaml schema valid
✓ SOUL.md present
✓ No SOD conflicts detected
  Assignments: loan-originator → [maker]
  Conflicts checked: [[maker, checker]]

$ opengap validate --compliance
✗ SOD violation: loan-originator assigned roles [maker, checker]
  Conflict: [[maker, checker]]
  Fix: remove checker from loan-originator assignments

Exit code 1 on validation failure — enables CI/CD blocking.

No Runtime Dashboard

OpenGAP has no web UI. Observability is through:

  • git log — audit trail for all agent changes
  • git diff — what changed between agent versions
  • git blame — who changed what, when
  • opengap audit — static analysis of agent definition

Registry CLI

opengap registry publish                    # Publish to public registry
opengap registry search "loan processing"   # Search registry
opengap registry install <name>             # Install from registry

The public registry is hosted at the project's registry/ directory (GitHub-hosted). Installation clones the agent into agents/<name>/.

File-Based Configuration

All configuration is in files, not environment variables or CLI flags:

File Configuration
agent.yaml Model preferences, skills, tools, compliance rules
SOUL.md Identity, communication style, values
RULES.md Hard constraints, must-always/must-never
DUTIES.md Role declarations, permissions
memory/memory.yaml Memory configuration (rolling window, archive policy)

Integration with Framework CLIs

After opengap export --adapter claude-code, the exported files work natively with claude CLI:

  • CLAUDE.md is read automatically by Claude Code
  • .claude/ directory contains skills as commands

The agent definition lives in the OpenGAP repo; the export is a derived artifact, not the source of truth.

Related frameworks

same archetype · same primary tool · same memory type

BMAD-METHOD ★ 48k

Provides a full agile delivery lifecycle with named expert-persona AI collaborators that elicit the human's best thinking rather…

Agent OS ★ 4.6k

Extracts implicit codebase conventions into token-efficient markdown standards files and injects them selectively into AI agent…

Claude Conductor ★ 367

Gives Claude Code a persistent, cross-linked, auto-analyzed documentation system so it retains codebase context across sessions.

Spec-Driver (Greenfield Spec-Driven Development) ★ 25

Prevents spec rot in AI-assisted development by making implementation changes flow back into evergreen, authoritative specs via…

Anthropic Knowledge Work Plugins ★ 16k

Role-specialized plugin bundles with live MCP connectors that turn Claude into a domain expert for enterprise knowledge workers.

Codex Integration for Claude Code (skill-codex) ★ 1.3k

Single Claude Code skill that handles Codex CLI invocation correctly (stdin blocking, thinking token suppression, session resume)…