RUMBO: an end-to-end framework for building software with AI coding agents (ANCLA at its core).
An end-to-end framework for building software with AI coding agents (Claude Code first, others possible), without losing control of the what and the why. Python projects, teams of one to three people, from prototype to production.
Recognize → Unify → Model → Build with ANCLA → Operate/Observe/Optimize, with a transversal human compass. ANCLA is the loop of every change: Anchor in verifiers → Navigate with a plan → Close the loop in a sandbox → Limit and review → Learn And measure.
AI amplifies the discipline that already exists; it does not replace it. RUMBO therefore invests in executable verifiers (tests, properties, types, architecture contracts, evals, hooks) and in keeping the human in charge of the decisions, not in prompts.
mkdir my-project && cd my-project && git init -b main uvx --from git+https://github.com/padillacm/RUMBO rumbo init # four questions, then the harness uv run python scripts/rumbo_check.py # green, offline Just want the sensors, not the method? Answer rumbo init with --no-llm --rigor prototype: you get the check runner, the anti-cheat sensor, the Claude Code hooks and AGENTS.md, and you can ignore gates and templates until you want them.
Three pieces that work together (how the documents are organised and what Parts, A-steps, gates and section numbers refer to is explained in the glossary):
The cycle, in one paragraph (every term below is defined in the glossary). Recognize: the human writes the brief first; the agent critiques it (gate G1). Unify: EARS specs with requirement ids and explicit data contracts, a PRD, a dataset of real questions when there is an LLM (G2). Model: ADRs with fitness functions, layered packages (hexagonal by default) enforced by import-linter, a threat model with the lethal trifecta and the OWASP LLM/Agentic checklist (G3). Build with ANCLA: one spec per fresh session, failing tests approved by the human before the code, small diffs, a second review by a clean session and a guided tour for the human (G4, per PR). Operate: immutable image, rehearsed rollback, SLOs, a per-request budget and GenAI telemetry, runbook, blameless postmortems, production failures turned into eval cases (G5). Across all of it the human compass: the human sketches design decisions first, passes the explanation test before a merge, and logs decisions in docs/decisions.md.
Who it is for. Developers and small teams that already use Claude Code (or a similar agent) and want the speed without the instability, the cognitive debt or the security holes that the evidence associates with unsupervised agent use. The method is language-agnostic; the CLI and the templates are Python (uv, ruff, pyright, pytest, Hypothesis, import-linter, bandit, pip-audit, mutmut, FastAPI for LLM products).
Requirements: Python ≥ 3.11, uv, git. Claude Code to work with the agent. Windows, macOS and Linux are supported natively: the harness needs no make and no POSIX shell (make targets are optional aliases; mutation testing with mutmut still needs Linux, macOS or WSL).
rumbo init --yes --name "XM Agent" --package xm_agent \ --llm --provider claude-code --rigor mvp --case "agent over XM market data" Option Values --kind service (default: HTTP skeleton, infra/, runbook, SLOs), library or cli (CHANGELOG, release workflow with Trusted Publishing, CI matrix; a cli also gets [project.scripts]), data (evals/ with deterministic graders, infra/, runbook) --layout / --layers hexagonal (default for a service: domain/app/adapters/api with import contracts), flat (default otherwise: no imposed packages, no import-linter), layered with --layers outer,...,inner (contracts generated from your list; the innermost layer is pure) --llm / --no-llm LLM products get evals/, prompts/, the offline guard, budget and telemetry, and the provider SDK; the skeleton is async-first (an async Completion port and answer, the request id in a context variable) and forces the hexagonal layout --provider anthropic, openai, google, mistral, claude-code (the Claude Code CLI with your own login: no API key anywhere), other (with --sdk-package, --sdk-module, --sdk-env-key) --rigor prototype, mvp, production (scales the check, the dev dependencies, CI, nightly, Dependabot and the gates; rumbo promote moves up) --types pyright (default) or mypy: the dev tool, the types step and the [tool.pyright]/[tool.mypy] section follow it; the inner layer is strict under both (ty when it leaves preview) --python minimum Python the project promises (3.11 by default, up to the newest rumbo supports); feeds requires-python, ruff's target-version, the CI matrix, the Dockerfile and .python-version --no-install write files only; skip uv add and pre-commit --adopt existing project: detect package, kind, layout and tests directory; harness only (no skeleton); strict checks on changed files ({changed}), --full for the whole tree --force overwrite existing files (keeps .bak copies). pyproject.toml and .gitignore are always merged, never replaced In an existing project use rumbo init --adopt: it detects the package (from [project].name or the single top-level package), the kind ([project.scripts] → cli, a web framework dependency → service, else library), the layout and the tests directory (tests or test), writes the harness without the src/ and tests skeleton, keeps an existing CI workflow and prints the two steps to add, and writes lint, format and types with {changed} so the strict tools run on the files a change touches; uv run python scripts/rumbo_check.py --full (or rumbo check --full) measures the whole tree and the nightly runs it. Nothing is overwritten: the missing [tool.*] sections are merged into pyproject.toml, missing lines into .gitignore, and everything skipped is reported. The adoption commit touches protected files, so you make it yourself. Two more things only you can do: replace @your-handle in .github/CODEOWNERS and the contact in SECURITY.md.
Permanent install: uv tool install git+https://github.com/padillacm/RUMBO. Pin a release tag: …/RUMBO@v0.4.0. Inside a generated project the agent calls it directly (rumbo gate G4, rumbo trace, rumbo tour origin/main --out docs/reviews/); nothing needs make.
Interactive mode asks the four questions, then writes the files, runs uv add for the dev tools (and the LLM runtime when applicable), runs pre-commit autoupdate and pre-commit install, logs the answers in docs/decisions.md and prints "Next steps": uv run python scripts/rumbo_check.py, the first commit, and the sentence to open Claude Code with. Expect the check to take a minute the first time (pyright downloads its runtime). rumbo doctor confirms the harness is complete.
Without the CLI: copy RUMBO.md to the repository root and ask Claude Code to "Read RUMBO.md and run Part A" (Part A of RUMBO.md is the step-by-step mounting of the harness).
Open Claude Code in the project and say "Read AGENTS.md and RUMBO.md; let's start phase R", or use the slash commands. First time? Follow the tutorial.
Every document the harness generates starts with . You delete that line when the document is complete; rumbo gate checks it and the agent cannot remove it. Gates print the automatic checks and a checklist that only the human signs (rumbo decision "G4 signed").
Slash commands installed in .claude/commands/: /rumbo-r, /rumbo-u, /rumbo-m, /rumbo-ancla, /rumbo-fix (the fix lane: red regression test, minimal change, diff ≤ 150, one approval), /rumbo-review, /rumbo-o, /rumbo-gate, /rumbo-tour.
rumbo init [--yes ...] # mount the harness (RUMBO.md Part A); see the table above rumbo update [--diff] # refresh framework-owned files; --diff previews and writes nothing rumbo promote mvp|production [--no-install] # raise the rigor: deps, checks table, nightly, Dependabot rumbo doctor # structure complete, AGENTS.md ≤ 100 lines, harness up to date rumbo new adr|spec|postmortem "T" # docs/adr/0001-t.md · specs/0001-t.md · docs/postmortems/ -t.md rumbo decision "title" --why "..." [--who human|ci] # append to docs/decisions.md rumbo gate G1|G2|G3|G4|G5 [--no-run] # automatic checks (by rigor) + the human checklist; exit 1 on failure rumbo check-tests [--base REF] [--strict] # anti-cheat sensor (tests not weakened) rumbo verify-dep NAME... [--index URL] # existence and versions on your index (or PyPI); age, repository, typosquatting, OSV on PyPI rumbo tour [BASE] [--head H] [--out FILE] # guided, pedagogical review of a git range rumbo trace [--strict] # requirement (F-NNNN.Rk) → test/eval table; G4 reads it rumbo eval add SUITE --input '{...}' --expected '{...}' --grader NAME [--id --tag --source --note] rumbo metrics [--days 30] [--json] # specs closed, sessions per spec, gates signed, deploys/incidents, evals rumbo --version Conventions rumbo metrics understands in docs/decisions.md: F-000N closed with --why "k sessions", Gk signed, titles starting with deploy or incident.
In a generated project, uv run python scripts/rumbo_check.py (or rumbo check) runs the whole harness, offline, in the order of the [tool.rumbo.checks] table in pyproject.toml (lint, format, types, test, arch, security, security-scripts, audit, evals, sensor); name steps to run a subset (... rumbo_check.py lint types), add --brief so only the failing tail reaches the agent (full log in .rumbo-check.log), --full to expand {changed} to the whole tree in an adopted project. Exit codes: 0 green, 1 a verification failed, 3 the environment is broken. The Makefile keeps optional one-line aliases (make check, make check-brief, make lint, make types, make test, make arch, make security, make sensor, make evals) and the targets make fmt, make review, make evals-live, make mutation, make sbom, make hooks, make rumbo ARGS="...". The Makefile uses a locally installed rumbo when there is one and uvx otherwise (RUMBO=... make review overrides it); BASE is origin/main when it exists, else main (make review BASE=develop overrides it).
The full tree is in RUMBO.md, Part A, step A1 "Repository structure".
Rules are prose until a hook enforces them. The generated .claude/settings.json pre-approves the harness commands (the check runner, pytest, ruff, read-only git) and wires scripts/rumbo_guard.py as Claude Code hooks:
Any other agent (Cursor, Codex, Gemini CLI, Aider…) meets the same rules at commit time: rumbo init installs the guard as git pre-commit and commit-msg hooks through pre-commit. They refuse a staged protected file, a removed template mark and the approval mark when the actor is an agent (an environment marker from [tool.rumbo].agent_env is set, or nobody has declared the clone human). You declare yourself once per clone with git config rumbo.human true; rumbo init does it where it runs and rumbo doctor reminds you elsewhere. On a fresh clone, run that command before your first commit: until you do, the hooks treat a hand-made commit of a harness file as an agent's and refuse it with that hint.
Your signature is the template mark. Once you remove it from an ADR or a spec and commit, the document is read-only for the agent (ADR-0017): it proposes changes or writes a new document that supersedes it; drafts and documents still under the mark stay editable.
You are never blocked: edits by hand skip the Claude Code hook, and your commits pass the git hooks once the clone is declared. To relax a rule for yourself, keep the project hooks and add a .claude/settings.local.json (git-ignored) that, for example, turns them off while you refactor the harness itself:
{ "disableAllHooks": true } To skip only the check at Stop, export RUMBO_GUARD_SKIP_CHECK=1 in the shell that runs Claude Code. rumbo update refreshes the guard; CODEOWNERS plus branch protection make the same rules binding on GitHub.
What matters is the worst plausible impact, not the size of the code. The full practice table is in RUMBO.md, Part E "Scaling the rigor".
There is no safe token threshold: quality degrades from the first few thousand tokens and bug fixing collapses long before the advertised window (docs/method.md, section 3.1 "Working within the agent's effective context"; full report in reports/). The harness keeps units of work small: one spec per fresh session, specs with explicit data contracts and file ownership, --brief so only failures reach the agent's context, # Compact instructions in AGENTS.md, decisions in files, and a one-writer rule with read-only parallel agents. Parallelize at the level of specs (3–5 worktrees, small PRs merged in series), not inside them. rumbo metrics tells you how many sessions each spec takes; above two, split it.
Agent-written changes are cheap to produce and expensive to understand. rumbo tour builds, from the diff of a git range, a per-commit guide for the human: intent and kind (behavioral, structural, tests, docs), risk hotspots first (CI, secrets, dependencies, weakened tests), a reading order (tests first, never alphabetical), a budget of ~300 lines per sitting, the commands that verify the change and three explanation-test questions with the hints folded away. /rumbo-tour asks Claude Code to replace the template questions with real ones written from the diff; /rumbo-review is the independent second review by a fresh session, starting from the rumbo trace table. Design rationale in docs/method.md, section 3 "Reviewing agent-written changes without drowning the human".
rumbo doctor # warns when the harness is older than the CLI rumbo update --diff # what would change: owned files replaced, harness files that drifted rumbo update # replaces only framework-owned files (RUMBO.md, scripts/, .claude/commands, 0000 templates) update never touches the documents you edited (brief, specs, ADRs…). For Makefile, pyproject.toml, CI or AGENTS.md it only tells you they differ from the current template; --diff shows how, so you merge by hand.
uv sync make check # lint, types and the CLI test suite make e2e # mounts real projects in several configurations and requires their check (`scripts/rumbo_check.py`) rumbo tour origin/main --out docs/reviews/ # guided review of your branch Templates live in src/rumbo/templates/: .tmpl files are rendered ({{var}}, {{#flag}}…{{/flag}}, {{^flag}}…{{/flag}}), __pkg__ becomes the package name and dot_ becomes .. The canonical sensors (check runner, anti-cheat and guard hook) are in src/rumbo/sensors/. The framework's own decisions are ADRs in docs/adr/. CI runs on Python 3.11–3.13 (Linux, macOS) plus the e2e matrix; a vX.Y.Z tag triggers the release workflow (GitHub Release from the CHANGELOG, optional PyPI trusted publishing). See CONTRIBUTING.md and CHANGELOG.md.
Open an issue or a discussion at https://github.com/padillacm/RUMBO. Bugs in the templates affect every project that uses them: report them even if you fixed them locally.
ai-agents claude-code evals harness software-engineering
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




