GraphyLoop

The one-command agentic workflow kit for AI coding agents

GraphyLoop is a one-command agentic workflow kit for AI coding agents: it wires Claude Code, OpenCode, Codex, Cursor, Gemini CLI, Oh My Pi and DeepSeek Harness with a 25-agent squad, parallel wave planning, persistent memory and an MCP server. Zero dependencies.

npx graphyloop
  • 7 harnesses
  • Claude Code plugin
  • MCP Registry
  • 25-agent squad
  • 15 MCP tools
  • 70 Agent Skills
  • Zero dependencies
  • Node ≥ 20
  • MIT

Quick start

  1. 1. npx (all 7 harnesses)

    npx graphyloop wires every detected harness (or all seven on a fresh machine). Target specific ones with --harness claude,omp and verify with npx graphyloop doctor (GRAPH_LOOP_DOCTOR_OK).

  2. 2. Claude Code plugin

    Run /plugin marketplace add chadixearth/graphyloop then /plugin install graphyloop@graphyloop (start with /graphyloop:chadi-init). Use the plugin or npx for Claude Code, not both.

  3. 3. MCP Registry

    Install server io.github.chadixearth/graphyloop (runs npx -y graphyloop mcp over stdio). Then open a real project and run /chadi-init (Codex: /prompts:chadi-init).

Supported harnesses

  • OpenCode

    --harness opencode

    Plugin with graphyloop_* tools, 26 agents, 15 /chadi-* commands.

  • Claude Code

    --harness claude or plugin

    MCP server, 26 agents, 15 slash commands, ~/.claude/rules/graphyloop-workflow.md — or install via /plugin install graphyloop@graphyloop.

  • Codex

    --harness codex

    MCP server, 15 prompts (/prompts:chadi-init) and 70 bundled skills in ~/.agents/skills/.

  • Cursor / Windsurf

    --harness cursor

    MCP server and 70 bundled skills in ~/.agents/skills/ (workflow loads from graphyloop-workflow; project init writes AGENTS.md).

  • DeepSeek Harness

    --harness dsh

    MCP server, 26 role prompts and the graphyloop-squad skill.

  • Oh My Pi

    --harness omp

    MCP server in ~/.omp/agent/mcp.json, 26 squad agents and bundled skills.

  • Gemini CLI

    --harness gemini

    MCP server in ~/.gemini/settings.json, /chadi-* TOML commands and bundled skills (requires API key, Vertex AI, or Standard/Enterprise license).

Per-harness file locations and verification: harness guide.

How the workflow works (Workflow v3)

Workflow v3 is harness-neutral: the same 12 rules run in every harness above.

  1. Recall first, record last

    memory_search before planning; memory_store one dense line after, including the why and the commit/PR it landed in.

  2. Goal + proof up front

    State the end state, the measurable check that proves it, and the invariant it must not break (never weaken a test to make it pass).

  3. Inline first (measured)

    Up to 8 known files in any mix of layers when mappable in one batched read pass (inlineThreshold: 8).

  4. Fan out 2+ independent slices

    Only for slices of ~5+ minutes each: 1–3 lanes (max 4), strictly disjoint files; the driver keeps the largest or most coupled slice.

  5. Context pack before dispatch

    Write ctx-<slug>.md (path:line, current code, pattern to copy) so lanes start editing instead of rediscovering.

  6. Freeze the contract

    contract-<slug>.md is the only cross-lane dependency.

  7. Turn economy

    Batch reads, first edit by turn 5, done in about 20 turns (40+ = mis-sized).

  8. Isolate what collides

    A lane that runs servers, databases or browsers gets its own worktree, port and database name.

  9. No polling; schedule follow-ups

    Use background jobs or blocking commands; run post-deploy checks via the harness scheduler/loop (e.g. /loop or /schedule), never a sleep loop.

  10. Proof, not claims

    Failing-before/passing-after test, real-browser screenshot for UI, same-machine before/after numbers for perf, live URL answering for deploys.

  11. Review by blast radius

    Reviewer/security lanes only for migrations, auth/RBAC, payments, secrets, tenant boundaries, public API contracts and named central files.

  12. Evidence-first report

    Changed / Files / Verified (command + verbatim output) / Skills / Blocked.

Keep the rules honest: always-loaded rules stay short while procedures live in skills loaded on demand (progressive disclosure); test guidance with control-vs-treatment runs and delete what shows no effect; don't hand-manage tokens (compaction works), but persist anything needed after compaction into files (ctx-<slug>.md, contract-<slug>.md, memory).

Features

  • Swarm orchestration

    Spawn, distribute and track agents. State lives in .graphyloop/state.json; no API keys.

  • Persistent memory

    Decisions, patterns and lessons survive restarts and context compaction.

  • 25-agent squad

    Explorer, backend, frontend, test, security, reviewer, architect, data, devops and more.

  • Wave planner

    plan_feature (inlineThreshold: 8) turns a request into context pack, contract, parallel builders, integration and verifiers.

  • Universal MCP bridge

    15 tools that work in every MCP-capable harness.

  • Claude Code plugin

    Marketplace install (/plugin marketplace add chadixearth/graphyloop + /plugin install graphyloop@graphyloop) with 15 commands, 26 agents, 3 core skills and MCP.

  • MCP Registry

    Published as io.github.chadixearth/graphyloop (server.json), running npx -y graphyloop mcp over stdio.

  • 15 slash commands

    /chadi-init, /chadi-plan, /chadi-review, /chadi-deploy and more.

  • 70 Agent Skills

    Installed into ~/.agents/skills for Codex and Cursor (and each harness's skill root). Your own skills are never overwritten.

  • Config safety

    Timestamped backups, no overwritten keys, idempotent re-runs, uninstall removes only byte-identical files.

  • Zero dependencies

    Pure Node 20+, MIT licensed, identical on Windows, macOS and Linux.

Harness alone vs + GraphyLoop

CapabilityHarness alone+ GraphyLoop
Agent collaborationIsolated sessionsSwarm with shared memory
OrchestrationManualWorkflow v3: inline ≤ 8 files, context pack, frozen contract, one parallel wave
MemorySession-onlyPersistent, searchable, survives restarts
Multi-harnessOne tool, one rules fileSame workflow in 7 harnesses
SetupHand-written rules per toolnpx graphyloop, Claude Code plugin, or MCP Registry
Safety—Backup-first merges, content-matched uninstall

Frequently asked questions

What is GraphyLoop?

GraphyLoop is a one-command agentic workflow kit for AI coding agents. It installs a 25-agent squad, parallel wave planning, persistent memory and an MCP server into the harnesses you already use. It is open source (MIT) with zero runtime dependencies.

What changed in Workflow v3?

Workflow v3 (12 rules) raises the measured inline threshold to up to 8 known files (inlineThreshold: 8 in plan_feature), fans out only when there are 2+ independent slices of about 5+ minutes each while the driver keeps the largest or most coupled slice, tightens turn economy to ~20 turns (first edit by turn 5), adds explicit rules for goal + proof up front, isolating colliding resources (worktree, port, DB), scheduling follow-ups instead of polling, proof over claims, and review by blast radius, and adds a "Keep the rules honest" section on progressive disclosure, control-vs-treatment rule testing, and compaction-safe file persistence.

Can I install GraphyLoop as a Claude Code plugin?

Yes. In Claude Code run /plugin marketplace add chadixearth/graphyloop and then /plugin install graphyloop@graphyloop. The plugin (integrations/claude-code/) installs 15 /graphyloop:chadi-* commands, 26 agents, 3 core skills (graphyloop-workflow, graphyloop-waves, swarm-memory) and the graphyloop MCP server. Use the plugin OR npx graphyloop --harness claude, not both, to avoid duplicate tools and agents.

Is GraphyLoop in the MCP Registry?

Yes. It is registered as io.github.chadixearth/graphyloop (defined in server.json) and runs the npm package graphyloop over stdio via npx -y graphyloop mcp. Any MCP client that resolves servers from the MCP Registry can install it by that name.

Does GraphyLoop follow the Agent Skills standard?

Yes. Every bundled skill is a directory with a SKILL.md manifest, and --harness codex and --harness cursor install all 70 bundled skills into ~/.agents/skills — the cross-tool user skills directory read by Codex and Cursor (and also recognized by GitHub Copilot / VS Code and as an alias by Gemini CLI). Untouched shipped skills are refreshed on update, your edited skills are kept, and uninstall removes untouched skills from ~/.agents/skills only when no other GraphyLoop harness using that directory (codex, cursor) stays installed.

Does GraphyLoop work with Claude Code, Cursor and Gemini CLI?

Yes. For Claude Code it registers an MCP server in ~/.claude.json, installs 26 agent files, 15 /chadi-* slash commands, skills and the workflow rule at ~/.claude/rules/graphyloop-workflow.md (or install via the Claude Code plugin instead — use one or the other, not both). For Cursor and Windsurf it adds the MCP server to ~/.cursor/mcp.json and installs the 70 bundled skills into ~/.agents/skills/ — Cursor ignores plain .md files in .cursor/rules/ and keeps global User Rules in its settings UI, so no rules file is written; the workflow loads from the graphyloop-workflow skill in ~/.agents/skills/ (and running workflow init in a project writes <project>/AGENTS.md). For Gemini CLI it adds the MCP server to ~/.gemini/settings.json, installs the commands as TOML files in ~/.gemini/commands/, and installs the bundled skills in ~/.gemini/skills/ (or reuses ~/.agents/skills/ when Codex/Cursor is present) without overwriting an existing GEMINI.md. Note: since June 18, 2026 Google no longer serves personal Google sign-ins in Gemini CLI (This client is no longer supported for Gemini Code Assist for individuals); it still works with a Gemini API key, Vertex AI, or a Code Assist Standard/Enterprise license, while Google's successor for individuals — Antigravity CLI (agy) — is not supported yet.

Which other harnesses are supported?

Seven in total: OpenCode, Claude Code, Codex, Cursor, DeepSeek Harness (dsh), Oh My Pi (omp) and Gemini CLI. For Codex, GraphyLoop wires [mcp_servers.graphyloop] in ~/.codex/config.toml, 15 /prompts:chadi-* prompts, AGENTS.md, and the 70 bundled skills in ~/.agents/skills/. Anything else that speaks MCP can use the same server via npx graphyloop mcp or io.github.chadixearth/graphyloop from the MCP Registry. See docs/harnesses.md for what is written where.

Is GraphyLoop free?

Yes. It is MIT licensed and free to use, fork and modify. It uses the model your harness already has; GraphyLoop itself adds no subscription or usage fee.

Does GraphyLoop need API keys?

No. The swarm, memory and MCP tools run locally with no API keys. The only optional key is DEEPSEEK_API_KEY, for letting the engine call DeepSeek directly, and nothing requires it.

How is it different from a plain AGENTS.md or CLAUDE.md?

A rules file is static text that one tool reads. GraphyLoop adds a live engine behind an MCP server (persistent memory, a wave planner that writes the contract and context pack, task and file-ownership tracking) and a 25-agent squad, and installs the same workflow into seven harnesses instead of one.

How do I uninstall GraphyLoop?

Run npx graphyloop uninstall. It removes the MCP entries it added and the agents, commands, skills and rules files that are still byte-identical to what it shipped. It removes the core in ~/.graphyloop/ once no tool uses it, and --harness <name> removes just one tool and leaves the others working. For ~/.agents/skills/, untouched copies are removed only when no Codex, Cursor or Gemini CLI install still uses them. Anything you edited, and all backups, stay.

Does GraphyLoop send my data anywhere, and does it work on Windows?

It sends nothing anywhere: state and memory are plain files in <project>/.graphyloop/, the MCP server runs locally over stdio, and stored credentials are chmod 600 and never returned to the model. It works on Windows, macOS and Linux; CI runs all three on Node 20, 22 and 24, and on Windows a server-guard keeps npm run dev from hanging an agent session.