Skip to main content
An OpenGAP agent is your git repository as an agent: complete with version control, branching, pull requests, and collaboration built in.

Full Structure

Identity Files

SOUL.md Example

Memory Layout

The memory/ folder has two layers:
  • MEMORY.md: persistent, git-committed agent memory
  • runtime/: live execution state across sessions (dailylog.md, key-decisions.md, context.md)

Hooks

hooks/bootstrap.md and hooks/teardown.md define what the agent does on startup and shutdown. hooks/hooks.yaml maps lifecycle events to scripts.

Shared Context in Monorepos

Anything placed at the root: context.md, skills/, tools/: is automatically shared across every agent in the monorepo. No duplication, one source of truth.

agent.yaml Reference

All manifest fields: model, tools, compliance, MCP, A2A

Skills

SKILL.md format and the skills discovery system

SkillsFlow

Chain skills into deterministic multi-step workflows

Design Patterns

16 architectural patterns built on git-native agents