GAAI — Governed Agentic AI Infrastructure
A .gaai/ folder you drop into any git repo so AI coding tools build only what was scoped — Discovery defines it, Delivery executes in isolated processes until criteria pass.
- Source repo
- digipulse-engineering/GAAI-framework
- Stars
- ★ 161
- Last updated
- 2mo ago
- FARS reviewed
- Sep 17, 2026
- License
- NOASSERTION
- Primary language
- Shell
- FA score
- 45/100 · Major gaps
At a glance
- How it runs
- Works with
- Portable with changesCodex · Claude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A solo founder with a clear spec who wants "add rate limiting — 100 req/min per user, 429 on exceeded" turned into a Story with testable criteria and shipped by a background daemon while they keep working on something else.
- Not a fit if
- Teams that need programmatic enforcement — governance relies on the agent following files
- Projects without a git repo and a staging branch, or machines without tmux
- Teams that need a validated Linux or Windows setup today — only macOS (Apple Silicon) is tested
- Maintenance
- Commits in the last 6 monthslast commit 2026-09-16
- Source review
- 45/100 · Major gaps
What does this agent do, and when should you use it?
GAAI is a .gaai/ directory you copy into any git project: Markdown, YAML and bash, plus a vendored Python runtime and a few Node helpers — no SDK, no npm or pip install, nothing fetched at install time. It splits work across two contexts that never share a window: Discovery, driven by /gaai-discover inside your existing AI coding tool, clarifies scope and writes Epics and Stories with acceptance criteria into contexts/backlog/; Delivery always runs as a separate OS process, with /gaai-deliver handling one Story in the current session and /gaai-daemon running a background daemon that delivers several Stories in parallel inside a private tmux server. Each Story passes through Planning, Implementation and QA sub-agents and is only marked done after every acceptance criterion passes, then merged to staging. The backlog is the contract between the two tracks — nothing outside it gets built. Installation runs install.sh to copy .gaai/ and deploy a thin per-tool adapter (CLAUDE.md, AGENTS.md, or .cursor/rules/*.mdc); autonomous delivery is currently limited to the Claude Code CLI and Codex CLI executors and requires tmux. The code is source-available under the Elastic License 2.0.
The installed .gaai/ has two halves: core/ holds the framework engine (agent specs, skills, contexts/rules/, workflows, bash scripts, a git hook dispatcher and per-tool adapters under compat/), while project/ holds your own data (custom agents and skills, rule overrides, contexts/memory/ for persistent decisions and patterns, contexts/backlog/ for the execution queue, contexts/artefacts/ for stories, epics, plans and reports) and is never overwritten by updates.
The installer install.sh --target . --tool <tool> --yes copies the tree and deploys the matching adapter: Claude Code gets CLAUDE.md plus .claude/commands/, while Codex CLI, Gemini CLI, Windsurf, OpenCode and Antigravity get AGENTS.md, and Cursor gets .cursor/rules/*.mdc.
You then invoke /gaai-discover: the Discovery agent asks what to build, checks contexts/memory/ for existing middleware or structure patterns, generates an Epic and a Story with acceptance criteria, writes them to contexts/backlog/ as status: refined, and validates the artefact for completeness, testable criteria and scope drift.
Delivery is a separate OS process. /gaai-deliver handles one Story in the current session. /gaai-daemon (after a one-time daemon-setup.sh) polls the backlog for refined Stories and launches up to N parallel claude -p (or Codex) sessions inside a tmux server whose socket is digest-bound to the repository; per Story a Planning sub-agent produces an execution plan, an Implementation sub-agent writes the code, and a QA sub-agent checks each acceptance criterion before the Story is marked done and merged to staging. The daemon also exposes --status, --monitor and --stop, and handles health monitoring, retries and archiving.
- A solo founder with a clear spec who wants "add rate limiting — 100 req/min per user, 429 on exceeded" turned into a Story with testable criteria and shipped by a background daemon while they keep working on something else.
- A senior engineer who has been burned by an agent editing files outside the task, and wants every change behind a backlog gate that Delivery cannot widen on its own.
- A team already spread across Claude Code, Cursor, Codex CLI and Gemini CLI that wants one canonical
.gaai/source with thin adapters instead of four drifting rule files. - A developer running long autonomous sessions who needs
/gaai-daemon --max-concurrent 3to deliver several Stories in parallel and watch them throughtmux attachor the--monitordashboard. - An agency or consultant handing a repository to someone else, where decisions, patterns, Stories and QA reports persist as Markdown in
contexts/memory/andcontexts/artefacts/.
How do you install or deploy this agent?
Prerequisites: a git repository, and git, python3 and node on PATH — the install itself fetches no dependencies because PyYAML is vendored in .gaai/core/vendor/. Using the Delivery Daemon additionally requires tmux and either claude (default executor) or codex (selected with GAAI_DAEMON_EXECUTOR=codex) on PATH.
The direct path is the CLI installer — swap claude-code for cursor, windsurf or other to match your tool:
rm -rf /tmp/gaai
git clone https://github.com/Fr-e-d/GAAI-framework.git /tmp/gaai
bash /tmp/gaai/.gaai/core/scripts/install.sh --target . --tool claude-code --yes
rm -rf /tmp/gaaiAlternatively, run the interactive wizard and answer its prompts:
git clone https://github.com/Fr-e-d/GAAI-framework.git /tmp/gaai && \
bash /tmp/gaai/.gaai/core/scripts/install.sh --wizard && \
rm -rf /tmp/gaaiAfter installing, follow the next steps the installer prints and tell your AI tool to read .gaai/core/README.md and bootstrap the project. For autonomous delivery, run the one-time daemon setup:
.gaai/core/scripts/daemon-setup.shThis is the only command allowed to create or update the dedicated daemon home worktree; startup verifies that worktree and refuses if it is absent, stale, dirty, foreign or on the wrong branch, with no fallback to your working checkout.
How do you use this agent?
Day-to-day use is two steps: Discovery, then Delivery. Discovery runs inside your current AI coding tool session and only reasons — it never executes.
/gaai-discoverDelivery runs in an isolated process. Deliver a single Story in the current session:
/gaai-deliverOr let the daemon work through the backlog (requires a git repo with a staging branch):
/gaai-daemon
/gaai-daemon --max-concurrent 3
/gaai-daemon --status
/gaai-daemon --monitor
/gaai-daemon --stopdaemon-setup.sh and daemon-start.sh are executables with a #!/bin/bash -p shebang and must be invoked directly; prefixing them with a plain bash interpreter is refused with entry_authority_invalid. To start from a clean environment, the README documents:
env -i PATH=/usr/bin:/bin HOME="$HOME" TERM="$TERM" .gaai/core/scripts/daemon-start.shPersistent project state lives under .gaai/project/: contexts/backlog/ is the execution queue (active, blocked, done), contexts/memory/ holds cross-session decisions and patterns, and contexts/artefacts/ holds stories, epics, plans and reports.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Two genuinely isolated contexts: Discovery reasons without executing, Delivery executes without deciding scope, and each Story runs in its own
claude -pprocess launched through tmux, so system prompts and conversation history cannot contaminate each other. - The backlog is the contract — even a one-line task must pass as a Story with acceptance criteria and a QA gate before it is marked done, which gives scope authorization a concrete home.
- Nothing is fetched at install time: governance is markdown, YAML and bash that both humans and any AI tool can read, PyYAML is vendored in-tree, and one canonical
.gaai/source plus thin adapters covers Claude Code, Codex CLI, Gemini CLI, Cursor, Windsurf and OpenCode. - The Delivery Daemon adds real parallelism and process safety: configurable concurrent slots, health monitoring, retries, archiving, and a private tmux server digest-bound to the repository so a second checkout cannot join or clobber the lifecycle.
- Governance is advisory: the README states plainly that there is no programmatic enforcement, so the rules only hold if the agent follows the files.
- Autonomous delivery is tightly bounded: it needs a git repo with a
stagingbranch, tmux (no Terminal.app ornohupfallback), python3, node, and Claude Code CLI or Codex CLI; an unknown executor stops before governed work begins. - Tested only on macOS (Apple Silicon); Linux and WSL are expected to work but are not yet validated.
- ELv2 is source-available rather than an OSI open-source licence, and the vendored Python runtime ships as a binary zipapp instead of readable source.
How does this agent compare with similar options?
The README positions GAAI against four alternatives: versus AGENTS.md / cursor rules it adds cross-session memory, scope authorization and structured delivery; versus BMAD-METHOD it is lighter on Discovery and more rigid on Delivery governance; versus LangGraph, AutoGen and CrewAI — code-first orchestration for building AI systems — it operates at a different abstraction level, governing the use of AI coding tools rather than constructing agents; versus GitHub Spec Kit's spec → plan → tasks → implement pipeline, it adds governance enforcement, multi-agent delivery with QA gates, structured cross-session memory and automated daemon delivery.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| GAAI — Governed Agentic AI Infrastructure This agent | 45 · Major gaps | CLIFree + model costs | ★ 161 | 2mo ago | Shell | Codex · Claude Code |
| Archcore | 40 · Major gaps | — | ★ 79 | 8d ago | TypeScript | Codex · Claude Code |
| Elephant-Goldfish Model (EGM) | 76 · Good | Agent plugin / skillFree + model costs | ★ 23k | 2d ago | Python | Codex · Claude Code |
| Context Engineering Kit | 46 · Major gaps | Agent plugin / skillFree + model costs | ★ 1.9k | 3mo ago | TypeScript | Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows meaningful privilege discipline around the daemon entry: daemon-setup.sh/daemon-start.sh use #!/bin/bash -p, refuse a non-privileged interpreter, rebuild a closed configuration allowlist, and reject environment injection such as GIT_EDITOR, GIT_CONFIG_COUNT and PYTHONPATH; the agent-phase-home-containment test verifies private-HOME snapshot/restore and that repair logs never carry credential material. Deductions are concrete: the README install prompt has an AI tool run rm -rf /tmp/gaai and git clone then execute install.sh without itemized user confirmation; the delivery daemon auto-merges PRs to staging and pushes by default with no human confirmation gate; dependency security only states PyYAML is vendored as a binary zipapp with no version, hash or vulnerability audit; external effects and rollback rely on git branches and force-with-lease with no explicit rollback path for merged deliveries; source attribution is only the README/LICENSE credit to Frédéric Geens with an unverified publisher. Most items therefore score 1, while sensitive_data_handling earns 2 for concrete test evidence.
Failure messages are comparatively strong: the daemon emits named errors for unknown executors, missing/stale/dirty/foreign daemon home, and missing tmux (e.g. entry_authority_invalid, source_unavailable), and tests assert readable events such as AGENT_HANG_DETECTED and AGENT_HANG_SIGKILL, so failure_messages scores 2. Self-consistency only scores 1: the README claims 'No SDK. No package. No external services.' while delivery requires python3, node, tmux, git and a vendored PyYAML, and the daemon calls the Anthropic API; the repository also ships a GitHub Actions workflow that calls api.anthropic.com directly, which sits in tension with the 'no external services' wording. Dependency availability also scores 1: only macOS is stated as tested, Linux/WSL are unvalidated, tmux 3.2 is a nominal floor, and the vendored runtime is an unreadable binary with no version pin or checksum.
Audience and scenarios are clearly described, distinguishing solo founders, senior engineers and small teams, with comparisons against AGENTS.md, BMAD, LangGraph and Spec Kit, so audience_and_scenarios scores 2. Capability boundaries are also explicit: Discovery reasons but never executes, Delivery executes but never decides scope, the two run in isolated processes, and the daemon supports only Claude Code and Codex CLI as local headless executors, so capability_boundaries scores 2. Trigger precision only scores 1: the /gaai-discover, /gaai-deliver and /gaai-daemon triggers, arguments and conflict handling appear only as examples, without a full command contract. Environment fit only scores 1: it requires a git repo, a staging branch, tmux, python3 and node, is validated only on macOS, and leaves Linux/WSL unvalidated, which is a high bar for ordinary users.
Information architecture scores 2: the README covers install, how it works, directory tree, compatibility, trade-offs and a documentation index. Install notes score 2: both an AI-tool install and a CLI install are given, with adapter deployment explained. Naming stability only scores 1: version 2.49.0 and an ELv2 badge exist, but there is no compatibility promise or deprecation policy for commands or file names. Examples and FAQ score 2: there is a See It in Action example, a Quick Start link and multiple guides. Known limitations score 2: Honest Trade-offs lists lightweight Discovery, the mandatory backlog gate for trivial tasks, non-zero dependencies, no programmatic enforcement, and a young community. License scores 2: the LICENSE is the full ELv2 text, though repository metadata is NOASSERTION and ELv2 restricts hosted/managed service use. Versioning/changelog only scores 1: a VERSION file and badge exist but no CHANGELOG is present. Maintenance responsibility only scores 1: an individual author and sponsor link, with an unverified publisher and no governance or security-response process.
Output usability scores 2: deliverables are backlog Stories, acceptance criteria, plans and reports with clear structure, and the daemon offers a tmux monitoring dashboard, which is adequate for ordinary use. Marginal value only scores 1: against AGENTS.md, Spec Kit and BMAD the differentiation is mainly governance and cross-session memory, but the README comparisons are largely assertions without reproducible comparative evidence. Cost-benefit only scores 1: it needs git, python3, node, tmux, a staging branch and a private daemon home, and the daemon launches multiple parallel Claude/Codex sessions, so token and operational cost is non-trivial; the mandatory backlog gate for trivial tasks is not weighed against quantified benefit.
claim_traceability only scores 1: most capability claims (isolated contexts, no scope drift, cross-device coordination) point to documentation rather than verifiable tests or code paths, and no revision-level references are given. cross_source_corroboration only scores 1: the test files do cover concrete behaviors such as agent hang detection, kill targeting and HOME containment, corroborating part of the README, but coverage is narrow and cannot support all claims. fact_inference_separation only scores 1: the README blends design intent with fact, e.g. 'No external services' coexisting with a workflow that calls the Anthropic API, making it hard for a reader to separate verified fact from design assertion.
- The install prompt has an AI tool run rm -rf /tmp/gaai and git clone then execute install.sh; confirm each command before running to avoid acting in an unintended directory or environment.
- The delivery daemon auto-merges PRs to staging and pushes by default, and launches multiple parallel Claude/Codex sessions; verify branch protection, permission scope and token cost before enabling it in a controlled repository.
- The README claims 'no external services', yet the daemon and a repository GitHub Actions workflow call the Anthropic API; assess data egress and key management yourself.
- PyYAML is vendored as an unreadable binary zipapp with no version, hash or vulnerability audit; tmux, python3, node and git versions and security updates are your responsibility.
- Only macOS is tested; Linux and WSL are unvalidated, and tmux 3.2 is a nominal floor with a real capability probe as the admission authority, so validate in your target environment.
- The license is ELv2, which restricts providing the software to third parties as a hosted or managed service; repository metadata is NOASSERTION, so check license boundaries before commercial use.
- Publisher identity is unverified and maintenance responsibility and security-response process are unclear; assess long-term maintenance risk for critical projects.
FAQ
Do I need a Claude Code subscription to use it?
.gaai/core/README.md, including via AGENTS.md or .cursor/rules/*.mdc. Only autonomous delivery is constrained: the daemon supports two local headless executors — Claude Code CLI (claude on PATH, the default) and Codex CLI (GAAI_DAEMON_EXECUTOR=codex) — and stops with an actionable error on an unknown executor.What actually stops the agent from touching code it shouldn't?
Does it run on Linux or Windows?
Can I use it commercially?
LICENSE file in the repository for the actual terms before adopting it commercially.What does installing actually put on my machine?
git clone, nothing is fetched. The installer copies the .gaai/ tree and deploys one adapter for your tool. git, python3 and node must already be on PATH, and the daemon additionally needs tmux plus claude or codex.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.