Open Source · Lokale CLI

Je CI faalt.
Stitch lost het op.

Draai je CI lokaal. Los fouten op met AI. Stitch leest je bestaande CI-config, draait jobs binnen seconden op je machine en geeft fouten door aan een AI-agent die ze oplost. Geen API-sleutels, geen configuratiebestanden.

Aan de slag
01 —— how it works

A bird that weaves the loose threads of your pipeline.

Stitch runs your CI config — but on your machine, before you push. When it finds a failure, it hands the context to Claude and applies the patch. No broken PR opened.

Read .github/workflows/ci.yml
Run jobs locally (Docker)
Detect failures and collect context
Hand errors + stack to the agent
Apply the patch and re-test
Green. Ready to push.
~/acme-api · stitch-agent live
0
Configbestanden
2
AI-agents
~10s
Feedbacktijd
100%
Van je CI
02 —— principles

Local by design.
Transparent by principle.

We never ship your code anywhere you did not authorize yourself. The agent reads, runs, patches — all inside your machine.

Drie fasen. Volledig lokaal.

Van config tot groene CI voert Stitch de hele lus uit op jouw machine zonder de terminal te verlaten.

Parsen

Voer stitch run claude uit. Stitch parset je .gitlab-ci.yml of GitHub Actions workflows, classificeert jobs, en slaat infrastructuur-jobs automatisch over.

Uitvoeren

Jobs draaien lokaal met timeouts en isolatie. Resultaten verschijnen in een live TUI met voortgangstracking. Seconden, geen minuten.

Oplossen

Gefaalde jobs gaan naar je AI-agent (Claude Code of Codex). De agent onderzoekt, bewerkt bestanden, en Stitch voert opnieuw uit ter verificatie. Tot 3 pogingen voor escalatie naar jou.

I

Your repo. Your machine.

No intermediate server. Stitch runs in your shell, reads your file tree, and writes patches on top. Shut it down and nothing lingers.

II

Zero new API keys.

Uses the Claude Code credentials you already have. We do not ask for tokens, we do not store anything.

III

Everything is reversible.

Every patch lands in an isolated commit. git reset takes you back exactly where you were.

IV

No magic.

Whatever you would see in your cloud CI, you see in your terminal. Same jobs, same containers, same result — without the wait cycle.

03 —— Functies

Alles wat je CI-pipeline nodig heeft om zichzelf te herstellen

Stitch vangt wat door codereview glipt — lintfouten, typemismatches, kapotte tests — en herstelt ze voordat je het doorhebt.

Nul configuratie

Gebruikt je bestaande .gitlab-ci.yml of GitHub Actions. Geen setup, geen rewrite, geen extra YAML.

Local-First

Draait jobs binnen seconden op je machine. Geen wachten op remote runners of pipelinequeues.

Plug-and-play AI-agents

Gebruik Claude Code of OpenAI Codex. Via je bestaande abonnement. Geen API-sleutels om te beheren.

Interactieve TUI

Mooie terminal-UI met live voortgang, jobstatus en driveractiviteit terwijl Stitch werkt.

Watch-modus

Continue validatie terwijl je codeert. Draait jobs automatisch opnieuw als bestanden wijzigen.

Slimme jobfiltering

Classificeert en slaat deploy-, publish- en infra-jobs over. Draait alleen wat er lokaal toe doet.

Automatisch committen & pushen

Als fixes slagen, committet en pusht Stitch automatisch. Jij blijft in flow.

Multi-platform

GitLab CI en GitHub Actions, inclusief self-hosted. Leest je bestaande config zoals die is.

04 —— Echte output. Geen mockup.

Dit is Stitch. Draaiend op een echte machine.

Al het andere op deze pagina is wat Stitch doet. De opnames hieronder laten zien hoe Stitch eruitziet terwijl het dat doet. Opgenomen uit een echte terminal, ongemonteerd.

Live run

De agent neemt over als een job faalt

Eén commando. Stitch leest je CI-config, draait verify-jobs lokaal, geeft fouten door aan Claude Code of Codex en herverifieert de fix. Alles loopt in één terminalvenster.

  • Pipeline stepper Parse-, execute- en fix-fases met een live voortgangsindicator bovenaan.
  • Live job table Elke job met status, aantal pogingen en tijd, live bijgewerkt.
  • Driver panel Je ziet wat de agent werkelijk doet: welke bestanden gelezen, welke commando's uitgevoerd, welke patches toegepast.
~/repo $ npx stitch-agent run claude
Animated terminal recording of stitch run claude showing the TUI with pipeline stepper, job table, and agent driver panel
~/repo $ stitch history
Terminal screenshot of stitch history command showing STITCH ASCII logo, agent info, and a table of recent runs with pass, fixed, and ongoing states
Run-historie

Elke run wordt bewaard. Reeksen, fixes, escalaties.

Stitch registreert elke run op een repo. Je ziet in één oogopslag welke jobs vanzelf slagen, welke de agent nodig hadden en welke geëscaleerd zijn. Geen dashboard, geen account. Gewoon een bestand op je machine.

  • Streaks PASS-reeksen tonen de verify-jobs die zonder ingrijpen blijven slagen.
  • Fixes FIXED-entries leggen vast wanneer de agent een fout heeft opgelost, met aantal pogingen en commit.
  • Escalations Fouten die de agent niet binnen de limiet kon oplossen worden zichtbaar gemaakt, niet verborgen.
05 —— Claude Code native

Je agent valideert je code. Je hoeft er niet om te vragen.

Stitch komt met een Claude Code skill. Eenmaal geïnstalleerd draait Claude Stitch automatisch op de vier momenten waarop kapotte code doorgaans doorglipt. Geen flag, geen commando, geen prompt.

Hoe het voelt

1
Jij

Typ "commit and push" in Claude Code.

2
Claude

Draait Stitch lokaal binnen seconden, met de TUI live inline.

3
Resultaat

Groen, de push gaat door. Rood, Claude fixt het eerst en pusht dan pas.

Vier automatische triggers

Voor elke push

Vraag Claude om te pushen, committen of een PR te openen. Stitch draait eerst. Gaat er iets mis, dan blijft de commit op je machine.

Aan het einde van een taak

Feature klaar, bug opgelost, refactor rond. Claude draait Stitch als laatste stap voor het werk af wordt verklaard.

Voor het afvinken van een todo

Als een TodoWrite-item code raakt die een pipeline zou controleren, draait Claude Stitch voor hij het vinkje zet.

Bij contextwissel

Stap je over naar een andere wijziging, dan checkt Claude de vorige zodat er niks kapots achterblijft.

Installeer de skill een keer

Eén symlink. Claude Code pikt hem automatisch op en triggert op natuurlijke taal als "valideer dit" of "fix de pipeline". Je kunt hem ook expliciet aanroepen met /stitch.

Vanuit een lokale clone
$ ln -s "$(pwd)/skills/stitch" ~/.claude/skills/stitch
Vanuit een globale npm install
$ ln -s "$(npm root -g)/stitch-agent/skills/stitch" ~/.claude/skills/stitch
06 —— Vergelijken

Hoe Stitch zich verhoudt

De meeste CI-assistenten willen dat je hun cloud, hun monorepo of hun SDK overneemt. Stitch leest wat je al hebt en draait op de machine die je al hebt.

Mogelijkheid Stitch Gitar Nx Cloud Dagger + AI
Gebruikt je bestaande CI-config
Draait jobs lokaal Alleen cloud Alleen cloud Containers
Uitwisselbare AI-agent Elke CLI-agent Alleen ingebouwd Alleen ingebouwd Alleen ingebouwd
Vereist nieuwe infrastructuur Geen SaaS-account Nx-monorepo Dagger SDK
Native Claude Code integratie Komt met een skill
Prijs Gratis Vanaf $20/gebruiker/maand Nx Cloud plan Gratis (OSS)
07 —— Gebruik

Eén commando. Je bestaande config.

Stitch leest de CI-config die je al hebt en draait dezelfde jobs lokaal. Geen pipelinewijzigingen, geen extra diensten, geen nieuwe YAML om te onderhouden.

terminal
# Run every CI job locally
$ stitch run claude

# Only the jobs you care about
$ stitch run claude --jobs lint,test

# See what would run, without running it
$ stitch run claude --dry-run

# Re-run automatically on every file change
$ stitch run claude --watch --jobs lint,test
.gitlab-ci.yml
# Your existing CI config. Stitch reads it,
# no jobs to add, no changes to make.

lint:
  image: node:20
  script:
    - bun install
    - bun run lint

test:
  image: node:20
  script:
    - bun install
    - bun test

typecheck:
  image: node:20
  script:
    - bun install
    - bun run typecheck
08 —— Veiligheid

Echte veiligheidsmaatregelen, geen schijnveiligheid

Stitch draait binnen je repo met harde grenzen aan tijd, scope en wat je machine kan verlaten. Er gebeurt niets achter je rug om.

Uitvoering-Timeouts

Elke job draait met een configureerbare timeout. Op hol geslagen commands worden met SIGKILL beëindigd, nooit laten hangen.

Infrastructuur Auto-Skip

Deploy-, publish- en release-jobs worden als infra geclassificeerd en automatisch overgeslagen. Alleen verify-jobs draaien lokaal.

Git-Clean-Check

Auto-commit en push worden alleen getriggerd als de branch schoon was voordat Stitch startte. Je ongecommite werk is onaantastbaar.

Begrensde Pogingen

Gefaalde jobs proberen opnieuw tot max_attempts (standaard 3). Daarna escaleert Stitch naar jou in plaats van tokens te verbranden.

Blijft Lokaal

Jobs, logs en fixes draaien allemaal op jouw machine. Geen cloud, geen telemetrie, geen webhooks tenzij je ze configureert.

.stitch.yml
languages: [typescript, python]
linter: eslint
test_runner: vitest
package_manager: pnpm
max_attempts: 3

conventions:
  - "Always use explicit return types on public functions."
  - "Never downgrade dependency versions."

auto_fix: [lint, format, simple_types, config_ci]
escalate: [logic_errors, breaking_changes, dependency_conflicts]

notify:
  channels:
    - type: slack
      webhook_url: https://hooks.slack.com/...
09 —— installation · 12 seconds

One command.
Zero config files.

node ≥20
v20.0+
claude code
installed
docker
optional
telemetry
never
10 —— questions

Questions we hear,
answered in plain words.

What does Stitch actually do?

Stitch reads your existing CI config (GitHub Actions or GitLab CI), runs the verify jobs locally on your machine, and hands any failure to your AI agent (Claude Code or Codex) to fix. When the fix passes locally, Stitch commits and pushes. No remote runner needed for the verify loop.

How is Stitch different from Nx Cloud, Gitar, or Dagger?

Nx Cloud, Gitar, and Dagger ask you to adopt their cloud, monorepo, or SDK. Stitch reads the CI config you already have and runs on the machine you already own. There is no SaaS account, no DSL, and the AI agent is whatever CLI you already use.

Does Stitch require API keys?

No. Stitch uses the Claude Code or Codex credentials you already have on your machine. There is nothing extra to manage and nothing extra to bill.

What CI providers are supported?

GitHub Actions and GitLab CI today, including self-hosted GitLab. Stitch parses the existing config and only runs verify-class jobs locally; deploy and publish jobs are skipped automatically.

Is Stitch free?

Yes. Stitch is open source under the MIT license, distributed on npm as stitch-agent. The only cost is whatever you already pay for your AI agent (Claude Code or Codex).

Does Stitch send my code anywhere?

No. Stitch runs locally. Your code stays on your machine. Your AI agent talks to its own API directly using your existing credentials, exactly the way it does when you run it manually. Stitch has no telemetry and no webhooks unless you configure them.

Can I use Stitch without Claude Code?

Yes. The agent layer is pluggable. Codex CLI works today; any CLI agent that takes a task description and returns code patches can be wired in. Claude Code is the default because we built the integration first, not because it is locked in.