GraphCode

Run graphs of live, steerable CLI coding-agent sessions on macOS — connect them, leave them unattended, still attach and correct mid-run.

Source repo
scgopi/GraphCode
Stars
★ 160
Last updated
6d ago v0.1.85
FARS reviewed
Nov 08, 2026 +1 new
License
NOASSERTION
Primary language
Swift

At a glance

How it runs
Desktop appCLI
Works with
Portable with changesChatGPT · Codex · Claude Code
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
macOS 15+ on Apple Silicon (arm64)at least one agent CLI on PATH: claude, copilot, codex, opencode or pizmx session daemonGhosttyKitShell / CLINetwork accessLocal filesystem
Typical use
You are pushing several independent lines of work in one repo (a refactor, a broken build, an issue queue) and want a canvas showing when one should hand off to another instead of ten terminal windows you babysit. You express each as a loop, connect them with edges and watch the graph.
Not a fit if
  • Teams on Windows or Intel Macs — the shipping build is macOS 15+ on Apple Silicon only
  • Users expecting bundled models or agent CLIs — GraphCode installs none of them
  • Anyone who needs to ship a competing commercial product built from it under FSL-1.1-MIT
Website
graphcode.app ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-19latest release v0.1.85 (2026-11-19)

What does this agent do, and when should you use it?

GraphCode is a macOS app that arranges real CLI coding-agent sessions into a graph: each node is a loop, a unit of work inside one session run by Claude Code, GitHub Copilot CLI, Codex, OpenCode or pi, chosen per loop; each edge is a hand-off, message or spawn between them, and an edge never needs to know which agent sits on either end. Loops come in four types — turn-based, goal-based, time-based and composite — differing in what you stop doing by hand: the check, the stop condition, the trigger, or the prompt. GraphCode schedules nothing itself: a time-based loop's cadence lives inside its session as the agent's own /loop skill, while the graphcoded daemon only fires hand-off edges, polls goal predicates and keeps sessions alive. Every loop's terminal is a zmx session, so it survives quitting the app and rebooting, and relaunching resumes the conversation with --resume rather than starting a duplicate — which is what keeps a running loop attachable and correctable instead of a job that already finished. State lives in ~/.graphcode/ and nothing is written inside a project folder you open; separate Workspaces under ~/.graphcode-<name> are entirely isolated.

GraphCode ships as four moving parts. The UI, graphcode.app, gives you the project sidebar, the graph canvas and a per-loop terminal workspace with tabs, splits, ⌘K to jump to any loop and ⌘⇧R to walk the loops asking for you. The background daemon graphcoded (a launchd agent) owns every project's graph, fires hand-off edges, polls goal predicates and keeps unattended sessions alive whether or not the app is open. The graphcode CLI drives the same daemon — graphcode projects, graphcode status <project>, graphcode node create --backend claudeCode|copilotCLI|codex|openCode|pi, graphcode node send --follow-up, graphcode reap --dry-run. Underneath, the third-party zmx session daemon keeps each loop's PTY alive and GhosttyKit renders each surface. In practice: add a project (local folder, clone from URL, or a remote repository over SSH where loops run while this Mac steers them), create a loop on the canvas with its prompt and agent (Claude Code unless you change Settings ▸ New loops use), open the node to attach to that live session, then drag edges between nodes and set each edge as a hand-off (fires when the source resolves), a message or a spawn, optionally with a condition and cycle guard. A goal loop's done check can be a shell predicate, testable at creation time the way the daemon will run it. Copilot loops can be pinned to a published CLI version via Settings ▸ Preferred versions or "copilotPreferredVersion" in ~/.graphcode/settings.json, applied to new and resumed Copilot sessions plus title and summary requests.

  1. You are pushing several independent lines of work in one repo (a refactor, a broken build, an issue queue) and want a canvas showing when one should hand off to another instead of ten terminal windows you babysit. You express each as a loop, connect them with edges and watch the graph.
  2. You want 'fix the build' to run until it is actually fixed: create a goal-based loop whose done check is a shell predicate such as make test exiting 0, leave it unattended, and attach when you want to intervene. Turn-based loops fit refactors you want to eyeball turn by turn.
  3. You need recurring work such as hourly issue triage: a time-based loop puts the cadence in the prompt with /loop 1h …, so the recurrence lives in the session rather than an external scheduler.
  4. You are wiring a multi-step pipeline where steps depend on each other: a composite loop runs a sub-graph end to end, and one loop can spawn children that inherit its own agent unless they name another.
  5. You work across machines and want loops running on a remote host over SSH (key auth and zmx on the server) while you steer them from this Mac.
  6. You run unrelated lines of business side by side: separate Workspaces (⌥⌘1…⌥⌘9 to switch) keep their own graphs, loops and terminal sessions fully apart, each with its own Dock tile.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • brew install --cask scgopi/graphcode/graphcode
  • npm install -g @github/[email protected]
Environment variables
GRAPHCODE_SUPPORT_DIR
Config files
.env.example .env.local ~/.graphcode-work
Install notes cover
macOS

How do you install or deploy this agent?

Requirements: macOS 15+ on Apple Silicon (arm64), with at least one agent CLI on your PATH — claude, copilot, codex, opencode or pi. GraphCode bundles none of them.

Install with Homebrew:

brew install --cask scgopi/graphcode/graphcode

Or drag GraphCode into Applications from the latest .dmg (releases are Developer ID signed and notarized):

open https://github.com/scgopi/GraphCode/releases/latest/download/graphcode-macos-arm64.dmg

Building from source needs mise (Xcode, tuist, swiftlint and zig come through it) plus the submodules:

git submodule update --init --recursive
make doctor
make third-party     # builds zmx and GhosttyKit (zig)
make install-zmx install-cli daemon-install
make run-app
make test            # unit tests
make check           # swiftlint + swift-format, both strict

To run a local build beside an installed release, copy .env.example to .env.local and choose your own bundle-ID prefix:

make dev-run-app

How do you use this agent?

Start by adding a project, then create a loop, then open and connect it.

In the app: the sidebar's ⊕ menu adds a project (local folder, clone from a URL, or a remote repo over SSH); ⊕ on the canvas creates a loop where you write the prompt and pick the agent that runs it (Claude Code unless you change Settings ▸ New loops use); clicking a node opens that loop's terminal workspace, with ⌘K to jump to any loop and ⌘⇧R to walk the ones asking for you; dragging between nodes creates an edge.

The same daemon is drivable from a shell:

graphcode projects
graphcode --help
graphcode status <project>
graphcode node create --backend claudeCode
graphcode node send --follow-up
graphcode reap --dry-run

To pin a Copilot CLI version, first install that version on every machine that runs Copilot, including remote hosts:

npm install -g @github/[email protected]
copilot --prefer-version 1.0.84-5 --version

Then set Settings ▸ Preferred versions ▸ Copilot CLI, or write the settings file directly (read on each launch, so no daemon restart):

{
  "copilotPreferredVersion": "1.0.84-5"
}

Switch between workspaces with ⌥⌘1…⌥⌘9, step with ⌘ / ⌘⇧ and create one with ⌥⌘N; from the CLI, follow the same variable the app sets:

GRAPHCODE_SUPPORT_DIR=~/.graphcode-work graphcode status <project>

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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Mixed-agent graphs are first-class: a Codex loop hands off to a Claude Code loop that messages a Copilot one, because an edge never asks which agent is on either end.
  • Sessions outlive everything — each loop's PTY is a zmx session, so after quitting the app or rebooting it resumes with --resume instead of duplicating the conversation, keeping every running loop attachable and correctable.
  • The graphcoded daemon is independent of the UI: it fires hand-off edges, polls goal predicates and keeps sessions alive whether or not the app is open.
  • State is confined to ~/.graphcode/; the README states that nothing is ever written inside a project folder you open.
  • Workspaces are genuinely separate directories with their own graphs and their own graphcoded, each with its own Dock tile, so unrelated work can be kept apart and even placed on a second screen.
Limitations
  • The shipping platform is macOS 15+ on Apple Silicon (arm64) only; the Windows port is explicitly a preview, not a shipping-platform claim.
  • GraphCode bundles no agent CLI and installs nothing itself, so you must provision claude, copilot, codex, opencode or pi on every host — local and remote — and pay their model or subscription costs.
  • Time-based loops on Codex, OpenCode and pi depend on the experimental Daemon heartbeat setting in Settings, since those CLIs have no /loop skill.
  • Licensing is FSL-1.1-MIT: use, modification, self-hosting and redistribution are allowed, but shipping a competing commercial product built from it is not, and each release only converts to plain MIT two years after it goes out (GraphcodeKit/ and graphcode-cli/ are MIT).
  • Some workflows carry manual prerequisites — for example, a version you have not installed on the host will not be there when a pinned Copilot loop launches.

How does this agent compare with similar options?

The README credits Supacode as the inspiration: both share the spine of daemon-kept terminal sessions, but Supacode's unit is the worktree while GraphCode's is the graph of loops. GraphCode is built on Ghostty for terminal rendering and zmx for session persistence, and is designed to drive the Claude Code, GitHub Copilot CLI, Codex, OpenCode and pi agent CLIs rather than replace them.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
GraphCode This agent 53 · Major gaps Desktop appFree + model costs ★ 160 6d ago Swift ChatGPT · Codex · Claude Code
Yardlet 80 · Good Desktop appFree ★ 47 today Swift Codex · Claude Code
hcom 70 · Some gaps CLIFree + model costs ★ 673 1mo ago Rust Codex · Claude Code
Vigil Multi-Agent Terminal Orchestrator 68 · Some gaps Desktop appFree + model costs ★ 29 2d ago Swift Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
53/ 100 5-point scale 2.7 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 1 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 11/29
Reliability 8/14
Adaptability 12/18
Convention 10/18
Effectiveness 7/13
Verifiability 5/8
Why each dimension lost points
Trust11 / 29 · 1.9/5

The README says state is kept under ~/.graphcode and not written into project folders, describes local and SSH sessions, and the runtime reads Nod-specific Keychain items while assigning Claude a separate config directory. Deductions: the sample does not show permission boundaries, credential lifecycle, or confirmation policy for external actions; the CLI can run shell predicates, launch agent sessions, and end workspace sessions, while recovery detail is limited. Publisher identity is unknown and maintainer attribution is not verifiable.

Reliability8 / 14 · 2.9/5

The README describes loop stop conditions, time-loop constraints, and persistent sessions; ControlSocket test source covers malformed input, handler errors, and continued service, while the contract test is designed to cover the Swift/runtime protocol. Deductions: test files are source evidence only and do not establish that tests ran; builds depend on Xcode, mise, Tuist, Zig, GhosttyKit, and other components whose availability may vary.

Adaptability12 / 18 · 3.3/5

The README targets developers managing multiple coding-agent sessions and names Claude Code, Copilot CLI, Codex, OpenCode, pi, and several loop scenarios; it also specifies macOS 15+ Apple Silicon and calls the Windows port a preview. Deductions: engine availability varies by runtime; the NodRuntime sample shows only Claude and Copilot, and suitability boundaries for non-developers or other environments are incomplete.

Convention10 / 18 · 2.8/5

The README organizes installation, use, building, and workspace guidance; AGENTS.md is contributor workflow guidance rather than product instructions; the license clearly identifies FSL-1.1-MIT coverage and MIT exceptions. Deductions: the sample does not establish a responsible maintainer or support commitment, the release badge provides versioning but no changelog content is supplied, and limitations are only partly documented.

Effectiveness7 / 13 · 2.7/5

The product organizes real CLI sessions into a connected graph users can attach to and steer, with workspace isolation and terminal controls; the README gives concrete workflows. Deductions: value is mainly asserted in product description, with no static evidence quantifying relative cost, resource use, or suitable tradeoffs; output quality cannot be assessed without execution evidence.

Verifiability5 / 8 · 3.1/5

Some README claims about installation, loops, and architecture are corroborated by the runtime entry point, credential code, and test source; the README distinguishes experimental heartbeat behavior, platform support, and CLI requirements. Deductions: many product behaviors appear only as README claims, test source does not prove execution or correctness, and the packet is not the complete repository.

Risks and how to mitigate them
  • This is a low-confidence static review; no program or listed test was run. Review agent CLI permissions and prompts before use because loops may run unattended.
  • The README says deleting a workspace ends its terminal sessions and moves its directory to Trash; confirm that effect is intended before deleting one.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision fd8d15164308 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/graphcode.svg)](https://followagents.com/en/agents/graphcode)
<a href="https://followagents.com/en/agents/graphcode"><img src="https://followagents.com/badge/graphcode.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.1.85 0.1.85 — no more CPU spin after opening links
    Release notes excerpt
    Fixes high CPU and log flooding after opening a link whose handler writes to stderr.
    View on GitHub ↗
  2. v0.1.84 0.1.84 — remote folders without git, clearer node restart
    Release notes excerpt
    - Remote folders no longer need to be git repositories. - graphcode node restart now explains why it refused, and graphcode status shows finished loops as finished.
    View on GitHub ↗
  3. v0.1.83 0.1.83 — JSON output for projects and workspaces

FAQ

Do I pay for models through GraphCode?
No. GraphCode bundles no agent CLI and installs nothing itself; it launches whichever CLI a loop names from your PATH, so model usage, subscriptions or API keys are yours and are not included.
What happens to running loops when I quit the app or reboot?
Each loop's terminal is a zmx session, so it survives quitting and rebooting; relaunching resumes the conversation using the persisted backend session ID with --resume rather than starting a duplicate.
Does it write anything into my repositories?
Per the README, all state — graphs, recents, layouts, the daemon socket and logs, and installed binaries — lives in ~/.graphcode/, and nothing is ever written inside a project folder you open.
Can it run a loop on a fixed cadence?
Yes, as a time-based loop, but the cadence lives inside the session prompt via the agent's own /loop skill rather than in an external scheduler; Codex, OpenCode and pi lack that skill and need the experimental Daemon heartbeat in Settings.
Can I keep multiple unrelated orchestrations apart?
Yes. A Workspace is its own directory (~/.graphcode by default, otherwise ~/.graphcode-<name>) with its own graphs and its own graphcoded; nothing is shared between them, and the CLI follows GRAPHCODE_SUPPORT_DIR to match.
Is GraphCode open source?
The source code is public on GitHub (scgopi/GraphCode), but the repository does not declare a recognised licence, so the rights to reuse or modify it are unclear. Ask the author or check the README before building on it.
Is GraphCode safe to use?
FollowAgents' FARS review (Nov 08, 2026) scored GraphCode 11/29 on trust and safety. None of the eight safety controls the review checks for was missing outright. The repository has changed since that review.
Is GraphCode still maintained?
Yes. The latest commit on GitHub is from 2026-11-19, within the last 30 days. The latest release is v0.1.85 (2026-11-19).
Who makes GraphCode?
GraphCode is published on GitHub by the account scgopi. FollowAgents has not verified which person or company is behind that account.
What is GraphCode's official website?
The project's GitHub repository lists https://graphcode.app as its website. That link is set by the repository owner; the source code itself is on GitHub (scgopi/GraphCode).
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts