A small, fast coding agent for your terminal.

Built for Qwen3.8 Flash-Next on Strata, running on your own GPU. You type a task; it reads, edits, runs and checks your code until it's done.

The short version

  1. 1
    Install

    One command. Python 3.11+ and git.

  2. 2
    Point it at a model

    Strata on port 8080 needs no config.

  3. 3
    Type a task

    Run cracked in your project folder.

Install

Linux. Windows works too, in beta.

1 Check your model server is up

Strata serving Qwen3.8 Flash-Next, on its default port:

curl -s http://127.0.0.1:8080/v1/models

2 Install Cracked Code

uv tool install git+https://github.com/LGadd/Cracked-Code.git@v0.1.0

No uv? Use pipx instead:

pipx install git+https://github.com/LGadd/Cracked-Code.git@v0.1.0

3 Run it in your project

cd ~/my-project
cracked

Or one task and exit: cracked -p "add a --verbose flag to cli.py"

Using another server? (llama.cpp, Ollama, LM Studio)

Put this in ~/.config/cracked/config.toml. These work, but only Strata is tuned and tested.

base_url = "http://127.0.0.1:11434/v1"
model = "your-model-name"
On Windows? (beta)

Install Git for Windows first: the model's shell commands run in Git Bash. Then use the same uv tool install command. Tested on Windows 11 with Ollama. Full guide: docs/windows.md.

What a task looks like

One line per step. The answer under a green bar. A rule when it's done.

>_ add a --verbose flag to cli.py and test it
● Reading the entry point first.
  ✓ read   cli.py  84 lines
  ✓ edit   cli.py  +6 −1
  ✓ shell  python -m pytest -q  3 lines · 2.4s

│ Added --verbose: it sets logging to DEBUG.
│ All 12 tests pass.

── done · 31s · 4 turns · 3 tool calls · 1 file +6 −1 ────────

Why it's fast

Same model, same 11 tasks, same score. Less waiting.

On a local GPU, every prompt token costs reading time. Cracked keeps its prompt small (about 1,100 tokens) and does more per turn, so the model reads less and you wait less.

Whole suite, Qwen3.8 Flash-Next on one RTX 5070 Ti. Lower is better.
Cracked Code404 s
Claude Code592 s
Qwen Code825 s
All three harnesses scored 68/68 on every model. Median of 3 runs, 2026-11-07.
HarnessQwen3.8 (local)GLM 5.3 Flash (cloud)DeepSeek V4.1 Flash (cloud)
Cracked Code404 s · 174k tok126 s · 134k tok80 s · 159k tok
Claude Code592 s · 1.43M tok144 s · 1.27M tok137 s · 1.10M tok
Qwen Code825 s · 1.74M tok359 s · 1.30M tok167 s · 1.31M tok

The commands you'll use

Type /help for the full list.

/undo
Put the files back to before the last task.
/diff
See everything changed this session.
/plan <goal>
Research and write a plan, then run it step by step.
/btw <question>
Ask a side question. It isn't kept.
@file
Send a file with your task. Saves a turn.
cracked -c
Carry on with this folder's last session.

Keys

Shift+Tab
Change mode (below).
Ctrl+O
Show the details: reasoning, turns, diffs.
Esc
Stop the task. The conversation is kept.
Type + Enter
Steer it while it works. It reads your message next.

Three modes

Safety: read this

It runs shell commands on your machine, with no sandbox. The model can do anything your user account can do.

  • Snapshots: before every turn your folder is saved to a separate git store, so /undo and /diff always work. Your own git history is untouched.
  • Approvals: in manual mode, edits ask first. Deletes always ask.
  • Deny-list: blocks the unrecoverable (rm -rf /, mkfs, …). It's a seatbelt, not a security boundary.

Point it at a project folder, not your home folder. Use a VM for anything you can't afford to lose.

What you need