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.

23 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, Antigravity, and Grok.

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 per-agent format adapters across the 23 supported tools
  • 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.13.tar.gz (7.5 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.13-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shardstitch-0.0.13.tar.gz
  • Upload date:
  • Size: 7.5 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.13.tar.gz
Algorithm Hash digest
SHA256 8a32ebe772f0274885135658facc860f4cbc8004c99d81b4722c2de8e72bb97c
MD5 0c9d2d1f1dcdb84f0299d56609202c70
BLAKE2b-256 e4605cd1d68ef460148dcb181620ada04df3f5c67459edab61c11850307e1d99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shardstitch-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 e32c66321b062c070e9960e7e57060c8c476b08f742c3aa6c5d51b564032cb2d
MD5 055b72f7805169177ef641acba37d759
BLAKE2b-256 ec0a4f17112c967df7a7c888df643a752f92a73f19e312860ed3edf82edc31c6

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.14

2 files

This release

0.0.13 This release

2 files

0.0.12

2 files

0.0.11

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