Skip to main content

Documentation Index

Fetch the complete documentation index at: https://gump.build/docs/llms.txt

Use this file to discover all available pages before exploring further.

Your First Run

Let’s run a workflow end-to-end. You’ll write a spec, launch Gump, and see the result.

Write a spec

Create a file called spec.md in your repo:
Add a /healthz endpoint to the HTTP server that returns 200 OK
with a JSON body containing the server uptime and version.
The spec can be anything — a feature description, a bug report, a task breakdown. Gump passes it to the agent as context.

Run a workflow

gump run cheap2sota --spec spec.md
Gump will:
  1. Create an isolated Git worktree (your main branch stays clean)
  2. Ask Claude Sonnet to decompose the spec into independent tasks
  3. Implement each task using Qwen (the cheapest agent)
  4. Validate each step with compile + test gates
  5. If a gate fails, retry or escalate to a stronger agent
  6. Run a final quality gate (compile + lint + test)
You’ll see the progress in your terminal:
[decompose]                  running  (claude-sonnet)
[decompose]                  pass     2 tasks

[build/task-1/impl]          running  (qwen)  attempt 1
[build/task-1/impl]          gate     compile ✓  test ✓
[build/task-1/impl]          pass

[build/task-2/impl]          running  (qwen)  attempt 1
[build/task-2/impl]          gate     compile ✗
[build/task-2/impl]          retry    attempt 2
[build/task-2/impl]          running  (qwen)  attempt 2
[build/task-2/impl]          gate     compile ✓  test ✓
[build/task-2/impl]          pass

[quality]                    gate     compile ✓  lint ✓  test ✓
[quality]                    pass

Run completed: pass  duration: 52s  cost: $0.83

Preview without running

If you want to see what Gump will do before launching agents:
gump run cheap2sota --spec spec.md --dry-run
This parses the workflow, validates it, and prints the execution plan — without creating a worktree or calling any agent.

What just happened

Gump created a worktree in .gump/worktrees/run-<uuid>, ran the agents inside it, validated every step, and committed a snapshot after each one. The result is ready to merge. Check the report:
gump report
Now apply the result to your branch.