Skip to main content

ShardStitch

"Rate limit reached." "Context window full." "VRAM out of memory."

Your code is half-written. Your plan is in your head. ShardStitch captures your entire session — git diff, changed files, dependency graph, intent — and stitches it into the next AI tool. One hotkey. Keep building like nothing happened.

Install

pip install shardstitch
shardstitch

What it does

When Claude, Cursor, Codex, or Gemini locks you out mid-session, ShardStitch:

  1. Scans your project — git diff, changed files, recent commits, your notes
  2. Builds a dependency graph — impact radius, architecture communities — and warns the next AI what's dangerous to touch
  3. Generates a continuation prompt formatted for the target tool
  4. Injects it into the tool's pickup file (CLAUDE.md, AGENTS.md, GEMINI.md, .cursorrules) for automatic discovery

Under 30 seconds, end to end.

Not just for switching tools

The same trick fixes a bloated session in the same tool. Long AI chats accumulate a huge context tree — token burn climbs, responses slow down, and eventually you hit "Service is busy" even with quota left. ShardStitch is the clean-restart button: extract a compact context, open a fresh window of the same tool, paste, keep going.

22 supported AI tools

Claude Code, Claude Desktop, Cursor, Codex CLI, Gemini CLI, Windsurf, Aider, Kiro, Amazon Q Developer, DeepSeek, OpenCode, Trae, Factory Droid, OpenClaw, Amp, Cline, Roo Code, Kilo Code, Crush, Kimi, Qwen Code, and Antigravity.

Coming soon: Cody, Continue, Replit Agent, JetBrains AI, Tabnine.

7 surfaces

  • Web dashboard — scan, generate, copy, download
  • VS Code / Cursor extension — Alt+G hotkey
  • MCP server — Claude Code and Cursor call it directly
  • CLIpip install shardstitch && shardstitch
  • Desktop app — standalone Windows exe
  • Autosave hooks — auto-inject on session end
  • Local LLM failover — Ollama, vLLM, LM Studio (zero cloud)

Key features

  • Per-agent formatting — 22 format adapters, one for each tool
  • AI task router — semantic matching picks the best tool for each task
  • Persistent memory — project decisions survive across sessions
  • Team coordination — shared .shardstitch/ directory
  • Tamper-evident audit trail — hash-chained timeline logs
  • Dependency graph analysis — impact radius, god nodes, architecture communities

100% local

Your code never leaves your machine. No cloud, no telemetry, no account required. All processing happens on your hardware.

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shardstitch-0.0.11.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shardstitch-0.0.11-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file shardstitch-0.0.11.tar.gz.

File metadata

  • Download URL: shardstitch-0.0.11.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for shardstitch-0.0.11.tar.gz
Algorithm Hash digest
SHA256 fc13dc0ea0371f86f1675d0efd2e5b7bb9513ed0b167c019949d891542e241c2
MD5 33d71c1738a8f586bbe94934aebf5e28
BLAKE2b-256 d03eea4140419188c55a15777d538b28629e35b5b0decd96bcf161e96052501c

See more details on using hashes here.

File details

Details for the file shardstitch-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: shardstitch-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for shardstitch-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b6c1cb5169231d3be8c022447afc779e64ac56206dcfb49088bf8884cac940b5
MD5 7151b2bf18ac189c3bd4acaba4fd4ec5
BLAKE2b-256 14e72616191d09254c897849918c8f78a8a30bd4bd4b68bc9c9ac65ed58865cb

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

This release

0.0.11 This release

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

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