New:Socket for Asana Is Now Available.Learn more
Get Started

@tpypan/graphcraft

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tpypan/graphcraft

Progress-aware execution for durable coding agents.

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
12
-7.69%
Maintainers
1
Weekly downloads
 
Created
Source

Graphcraft

Keep coding agents working as long as they are still making useful progress.

Graphcraft is a local execution layer for long-running coding agents. It turns a repository task into a durable execution and governance graph, runs bounded workers through Codex or Claude Code, checks progress with repository evidence, survives interruption, and stops safely when a changed strategy is no longer productive.

[!WARNING] Graphcraft v0.1 is an alpha. It supports local verification and atomic-commit finish lines. It does not yet push, open pull requests, monitor CI, merge, or deploy.

Install the alpha

Requirements: Git, Node.js 22+, and an authenticated Codex or Claude Code CLI.

The public npm package is @tpypan/graphcraft; the unscoped graphcraft name belongs to an unrelated project. Once the first npm publication is live, install it globally with either package manager:

npm install --global @tpypan/graphcraft
graphcraft install --host codex
pnpm add --global @tpypan/graphcraft
graphcraft install --host claude

Until that registry publication is complete, install the same executable directly from GitHub:

npm install --global https://github.com/tpypan/graphcraft/archive/refs/heads/main.tar.gz
graphcraft install --host codex

For a one-shot installation, use npx @tpypan/graphcraft install --host codex or pnpm dlx @tpypan/graphcraft install --host claude after publication. The installer copies its MCP runtime to ~/.graphcraft/runtime/<version>/ before host registration, so clearing the package-manager cache does not break Graphcraft.

Installation registers one local MCP tool; Graphcraft does not inject a large prompt or install a skill. Start a new coding-agent session after installation.

You can also run Graphcraft directly:

graphcraft run --host claude \
  "migrate every v2 client call to v3 and verify the repository"

Graphcraft displays a concise run contract before doing work. Use --yes only when you have already reviewed and approved that contract.

What v0.1 does

  • Compiles a user request into linked execution and governance graphs.
  • Keeps the finish line, permissions, repository policy, and acceptance anchors outside worker control.
  • Creates an isolated Git worktree without stashing, cleaning, or resetting the current checkout.
  • Stores a hashed append-only event log and rebuildable state under the repository's local .graphcraft/ directory.
  • Gives each worker a small context capsule instead of replaying raw transcripts.
  • Runs deterministic repository probes and classifies progress as advanced, learning, stalled, regressed, oscillating, blocked, or done.
  • Schedules one evidence-driven repair when verification fails, then stops if the changed strategy does not clear the failure.
  • Resumes interrupted runs without repeating accepted nodes and can switch between Codex and Claude Code.
  • Tracks cached, uncached, output, reasoning, and total tokens when the host exposes them.

Commands

graphcraft install --host <codex|claude>
graphcraft run <task>
graphcraft status [run]
graphcraft inspect [run]
graphcraft pause [run]
graphcraft resume [run]
graphcraft stop [run]
graphcraft trace [run]
graphcraft doctor
graphcraft uninstall --host <codex|claude>

Small localized tasks bypass Graphcraft by default. Pass --force when you deliberately want a durable graph.

Evidence and scope

The v0.1 implementation report records the acceptance boundary, architecture, tests, real-host dogfood, and known gaps. The product plan remains authoritative for the path to stable. Research and competitive rationale live under docs/research.

Graphcraft does not yet claim the stable plan's reliability or 20% token-savings gate. Those require the matched multi-task, dual-host benchmark described in the plan.

Development

pnpm install
pnpm check

pnpm check formats, typechecks, tests, bundles both executables, enforces the plugin discovery-context limit, and verifies the exact npm tarball contents.

License

MIT

Keywords

ai-agents

FAQs

Package last updated on 21 Jul 2026

Related posts