Skip to main content

The Graphene mark

Graphene

One plan for your coding agents. Clear boundaries. Tested commits.

Claude Code or Codex proposes a plan before it writes (Cursor's own Agent does not plan with Graphene yet). You read and shape it on a graph in VS Code or Cursor, start it, and approve what lands.

PyPI Python CI License

Graphene's graph in an editor tab. Across the top: the goal, then Plan, Run and Review. On the graph: four task cards under one sub-goal, three done and one working with its three attempts, each card with its files and, at its foot, its check, all leading into the goal. Beside them, the selected task's Scope pane: the files it may change, its check failing before the work and passing after it, what it may run, how a write outside its files is held, and the write it was stopped from making

The graph, replaying the bundled demo: a scripted stand-in, no model ran.

  • A graph you watch and shape. One pipeline, Plan → Run → Review. You edit a task before it starts, and one switch, Stop after the plan, decides whether the run waits for you.
  • Scope you can see. Select a task and its pane says which files it may change, what it may run, how a write outside them is held, which writes were stopped, and what its check said before and after the work.

What it solves

More agents means overlapping edits, hidden dependencies, and changes that look finished until you run the tests.

  • Parallel work stays separate. Each task owns its files and its own Git worktree; one that needs another waits.
  • “Done” is defined before work starts. Graphene runs each task's check itself, in a clean copy, and merges only what passes; when attempts race one task, a fixed rule keeps one.
  • You stay in control. Edit the plan or stop a run; each task lands as a merge commit you can revert.

In VS Code or Cursor

The CLI from PyPI and the extension from the release, 0.10.0 each (the extension is not on the Marketplace or Open VSX):

uv tool install graphene-map   # installed already: uv tool upgrade graphene-map
curl -LO https://github.com/Alex-lop/Graphene/releases/download/v0.10.0/graphene-0.10.0.vsix
cursor --install-extension graphene-0.10.0.vsix

In VS Code: code --install-extension graphene-0.10.0.vsix. From a clone instead: uv tool install ., then npm ci && npm run package in editors/vscode (Node 22+).

Graphene: Watch the Demo (in the palette) replays a run on the graph: no key, no model. Then, on your repository:

  1. Click Graphene in the activity bar: the graph opens in an editor tab; Home, in the side bar, sets up the folder.
  2. Ask Claude Code or Codex for something, in its own chat. Graphene's hooks have it propose a plan first, on the graph.
  3. Read it: click a task to change its files, check or attempts; answer its questions; Add task draws one.
  4. Click Start, then review each finished task: Open changes, then Approve or Send back with a note.

With Stop after the plan off, a plan runs as soon as it appears, within your limits. Save as workflow writes the graph to workflows/<name>.md for Home to run again on new inputs, with no planner call; a run: command that pushes or opens a pull request (git push, gh pr) waits past the leaves your machine line for your approval (an example). The extension guide has the rest.

In the terminal

Try the scripted replay first: uvx graphene-map demo --auto needs no API key and writes nothing to your project. Graphene needs Python 3.12+, uv and Git, on macOS or Linux (Windows via WSL). On your repository, with Claude Code or Codex installed and signed in:

uv tool install graphene-map     # installed already: uv tool upgrade graphene-map
cd your-repo
graphene init    # choose the planner and executor; installs the Claude Code and Codex hooks
graphene watch   # the cockpit: the plan the editor shows

From then on, your agent proposes a plan before it writes (restart an open Codex session and trust the project). In the cockpit, A accepts the plan and R runs ready tasks; it asks first when more than one task could start. graphene ask "…" asks the planner yourself: the graph draws each task as Claude Code writes it, and a Codex plan appears whole. graphene auto "…" --budget 10 plans, runs and fixes a whole goal; the budget is not a hard cap. graphene plan first off lets quick changes through, graphene init --remove removes the hooks, and uv tool uninstall graphene-map uninstalls.

Know the limits

Graphene is early. Trusted, loaded hooks and the built-in executor block supported writes outside a task's files; a hook that is not loaded or fails lets writes through, and Git checks tracked changes again before merging. This is file coordination, not a security sandbox, and a check is only as strong as your tests. Live auto mode is not yet validated, and nobody has used the graph or workflows on a real run: they were checked against a scripted stand-in. Enforcement limits · Privacy.

How it works · A real run · Comparisons · Changelog · Contributing · Feedback

Metadata

Release files for graphene-map 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for graphene-map 0.10.0
File Size Uploaded Provenance Actions
graphene_map-0.10.0.tar.gz 19.5 MB With provenance Details for graphene_map-0.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for graphene-map 0.10.0
File Interpreter ABI Platform Actions
graphene_map-0.10.0-py3-none-any.whl Python 3 none any Details for graphene_map-0.10.0-py3-none-any.whl

Total release size: 20.1 MB

Release files / graphene_map-0.10.0.tar.gz

Download URL graphene_map-0.10.0.tar.gz
Size 19.5 MB
Tags Source
SHA-256 checksum
How to use checksums
ccf3b392b5dab0b211354f251eb57b1dcf69b8a00fc2cc24f9c8620c4321ad71
BLAKE2b-256 checksum
How to use checksums
cb8de5adf8d9765e2de2af7da52b091e4a1561f6373449e2709a257215c36846
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / graphene_map-0.10.0-py3-none-any.whl

Download URL graphene_map-0.10.0-py3-none-any.whl
Size 613.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8b7731fee8044343c2a81ac9325b7ea8bad7b5b2b2199d447f8ab606edc6f96
BLAKE2b-256 checksum
How to use checksums
b9311a710e21f4408f68afae656cb70a29a71347a135a83d9f45a8aaae781a09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for graphene-map 0.10.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for graphene_map-0.10.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page