A project delivery system that orchestrates frontier coding agents: Think, Build, Prove, Ship.
pip install codeframe-ai==0.9.5 Copy PIP instructions
The IDE of the future is not a better text editor with AI autocomplete. It is a project delivery system where writing code is a subprocess.
Coding agents are getting remarkably good at writing code. But shipping software is not the same as writing code.
Before code gets written, someone has to figure out what to build, decompose it into tasks that an agent can execute, and resolve ambiguities. After code gets written, someone has to verify it actually works, catch regressions, and deploy with confidence. Today, that "someone" is still you.
CodeFRAME owns the edges of the pipeline -- everything that happens before and after the code gets written. The actual coding is delegated to frontier agents (Claude Code, Codex, OpenCode, Kilocode, or CodeFRAME's built-in ReAct agent) that are better at it than any custom agent could be.
THINK What are you building? How should it be broken down? cf prd generate Socratic requirements gathering cf prd stress-test Recursive decomposition, surface ambiguities cf tasks generate Atomic tasks with dependency graphs BUILD Delegate to the best coding agent for the job cf work start --engine Claude Code, Codex, OpenCode, Kilocode, or built-in CodeFRAME owns: verification gates, self-correction, stall detection PROVE Is the output any good? cf proof run 9-gate evidence-based quality system cf proof capture Glitch becomes a permanent requirement cf proof list All active proof obligations cf proof status Summary across all gates cf proof show Requirement detail and evidence cf proof waive Waive a requirement with justification SHIP Deploy with confidence cf pr create PR with proof report attached cf pr merge Only merges if proof passes THE CLOSED LOOP Glitch in production -> cf proof capture -> New requirement -> Enforced on every future build = Quality compounding interest Why CodeFRAME Nobody else does the full upstream pipeline. Most orchestrators assume issues and specs already exist. CodeFRAME generates them through AI-guided Socratic discovery and recursive decomposition.
Agent-agnostic execution. CodeFRAME does not compete with Claude Code or Codex. It orchestrates them. The built-in ReAct agent is a capable fallback, not the point.
Quality memory (PROOF9). Every failure becomes a permanent proof obligation across 9 verification gates. Not just test coverage -- evidence-based verification that compounds over time. The closed loop is what turns a project into a learning system.
Radical simplicity. Single CLI binary, SQLite, no daemons, no infrastructure. Install and start building in under a minute.
uv tool install codeframe-ai # installs the `cf` command globally cf --help # smoke test — should print the command tree No uv? pipx install codeframe-ai works too, or run without installing via uvx codeframe-ai --help. (The PyPI package is codeframe-ai; the command is cf.)
git clone https://github.com/frankbria/codeframe.git && cd codeframe curl -LsSf https://astral.sh/uv/install.sh | sh uv venv && source .venv/bin/activate && uv sync uv run cf --help When working from source, prefix the commands below with uv run.
export ANTHROPIC_API_KEY="sk-ant-..." # get yours at https://console.anthropic.com/ # or store it once instead: cf auth setup --provider anthropic Step 3 — Initialize your project
cf init /path/to/your/project --detect Step 4 — Think: generate a PRD and tasks
cf prd generate # AI-guided Socratic requirements discovery cf tasks generate # Decompose PRD into atomic tasks with dependencies cf tasks list # Review what was generated Step 5 — Promote one task
cf tasks generate creates tasks in BACKLOG so you can review them before an agent touches your code. Pick one and move it to READY — cf tasks list prints an 8-character ID for each task, and that prefix is all you need:
cf tasks list # copy the ID of the task you want cf tasks set status READY # note: id before status Start with one. A generated backlog is typically 20+ tasks, and your first run should show you the loop, not build the whole project in one sitting.
cf work start --execute Step 7 — Prove: capture a requirement, then verify it
PROOF9 verifies obligations, and a new workspace has none — so verifying it first would report that nothing was checked and exit 2. That is deliberate: a run that checked nothing is not a pass. Give it something to check.
cf proof capture \ --title "add() returns the wrong sum for negative numbers" \ --description "Calculation is wrong: add(-1, -1) returned 0 instead of -2" \ --where src/calc.py --severity high --source qa That creates a requirement, picks the gates that would have caught it, and writes a draft test stub per gate under tests/proof/ /. The stubs are named draft_*.py so pytest does not collect them yet, and each one is a placeholder assert False. Turn them into real tests — drop the draft_ prefix from each filename, and replace the placeholder with an assertion that actually proves the bug is fixed:
ls tests/proof/REQ-0001/ # draft_test_..._unit.py, draft_test_..._contract.py # rename each to test_*.py and write the real assertion Now the gates have evidence to collect:
cf proof run --full # -> All obligations satisfied. (exit 0) --full checks every open requirement; plain cf proof run checks only the ones your current diff touches. The unit and contract gates run your project's pytest, so the project needs pytest available (uv add --dev pytest) — a gate with no way to run is reported as unverified, never as a pass.
This is the loop that compounds: every glitch you capture stays a permanent check, and cf pr merge refuses to merge while any of them is open.
cf pr talks to GitHub, so it needs a token and the repository: connect them in the web UI (Settings → Integrations), or export GITHUB_TOKEN (a PAT with repo scope) and GITHUB_REPO=owner/repo.
cf pr create # Open a PR with proof report attached The title defaults to the branch's newest commit (--title overrides it), and the body ends with the workspace's PROOF9 status: requirement counts, the open ones by name, and the latest cf proof run verdict.
That is the entire workflow. An empty directory through a green cf proof run is 5m59s of wall clock on a clean machine — measured, not estimated, in this walkthrough — most of it in cf prd generate and the agent run; Step 7 costs 7 seconds of it. cf pr create needs a GitHub remote, so it is outside that measurement.
If the agent needs a decision it cannot make, it stops and files a blocker rather than guessing — cf blocker list shows it and cf blocker answer "..." unblocks the task.
Once you trust the loop, promote everything and let it run:
cf tasks set status READY --all --from BACKLOG # every BACKLOG task cf work batch run --all-ready # execute them This is long-running — each task is a full agent run, and serial is the default strategy — so start it and watch it from another terminal rather than waiting on the prompt:
cf work batch status # lists recent batches and their IDs cf work batch follow # live progress for one of them --strategy parallel --max-parallel 4 and --retry 2 are worth knowing about before you kick off a large batch; see docs/QUICKSTART.md.
See it run from scratch. Cold start on a clean machine is a narrated walkthrough of exactly these steps in a throwaway container — real transcripts, per-step timings, and the rough edges left in. Reproduce it with scripts/quickstart-cleanroom/run.sh.
YOU | v +-THINK---------------------------------------------+ | cf prd generate Socratic requirements | | cf tasks generate Atomic decomposition | +----------------------------+-----------------------+ | v +-BUILD---------------------------------------------+ | cf work start --engine | | | | +-- Claude Code / Codex / OpenCode / Kilocode / ReAct | | | | | +-- Verification gates (ruff, pytest, BUILD) | | +-- Self-correction loop (up to 5 retries) | | +-- Stall detection -> retry / blocker / fail | +----------------------------+-----------------------+ | v +-PROVE---------------------------------------------+ | cf proof run 9-gate quality system | | cf review Verification gates | +----------------------------+-----------------------+ | v +-SHIP----------------------------------------------+ | cf pr create PR with proof report | | cf pr merge Merge if proof passes | +---------------------------------------------------+ | Glitch in production? | v cf proof capture -> new requirement -> enforced forever (closed loop) The core domain is headless and runs entirely from the CLI. The FastAPI server and web UI are optional adapters for teams that want a dashboard.
All commands below assume the virtual environment is active (source .venv/bin/activate). If it is not active, prefix every cf command with uv run — e.g., uv run cf init ..
# Workspace cf init # Initialize workspace cf init --detect # Auto-detect tech stack cf status # Workspace status # Requirements cf prd generate # AI-guided Socratic PRD creation cf prd generate --template lean # Use a specific template cf prd generate --max-questions 6 # Cap discovery (default 10; /done finishes early) cf prd add # Import existing PRD cf prd show # Display current PRD # Task decomposition cf tasks generate # Generate tasks from PRD (LLM-powered) cf tasks list # List all tasks cf tasks list --status READY # Filter by status cf tasks show # Task details with dependencies # Scheduling cf schedule show # Task schedule with dependencies cf schedule predict # Completion date estimates cf schedule bottlenecks # Identify blocking tasks # Migration / on-ramps cf import ralph [path] # Import a ralph-claude-code project cf import ralph [path] --dry-run # Preview mapping without changes cf import ralph [path] -w # Import into a specific workspace BUILD -- Execution # Single task cf work start --execute # Execute with default engine (ReAct) cf work start --execute --engine plan # Use legacy plan engine cf work start --execute --verbose # Detailed progress output cf work start --execute --dry-run # Preview without applying cf work start --execute --stall-timeout 120 # Custom stall timeout (seconds) cf work start --execute --stall-action retry # Auto-retry on stall (blocker|retry|fail) cf work start --execute --llm-provider openai --llm-model gpt-4o # Use OpenAI cf work start --execute --llm-provider openai --llm-model qwen2.5-coder:7b # Use Ollama cf work follow # Stream live output cf work stop # Cancel a run cf work resume # Resume after answering blockers # Batch execution cf work batch run --all-ready # All READY tasks cf work batch run --strategy parallel # Parallel execution cf work batch run --strategy auto # LLM-inferred dependencies cf work batch run --retry 3 # Auto-retry failures cf work batch status [batch_id] # Batch progress cf work batch resume # Re-run failed tasks # Blockers (human-in-the-loop) cf blocker list # Questions the agent needs answered cf blocker show # Blocker details cf blocker answer "answer" # Unblock the agent # Diagnostics cf work diagnose # Pattern-based failure analysis cf env check # Validate environment cf env doctor # Comprehensive health check PROVE -- Verification # PROOF9 quality memory cf proof run # Run all 9 proof gates cf proof capture # Capture glitch as permanent requirement cf proof list # List all proof requirements cf proof status # Summary status across all gates cf proof show # Detail for a specific requirement cf proof waive --reason "..." # Waive a requirement with justification How each gate is verified. UNIT and CONTRACT run pytest and SEC runs ruff directly. The other gates — E2E, VISUAL, A11Y, PERF, DEMO — have no dedicated tool runner and are enforced through their evidence rules: cf proof capture generates a test_a11y_* / test_perf_* / … stub per obligation, and once you implement that test it is run scoped by name, so the obligation passes or fails on real evidence. A named test that does not exist is a failure, not a pass.
MANUAL is deliberately never machine-verified — its manual_check_* rules mean a human has to look — so a MANUAL obligation reports unverifiable and is resolved by waiving it with a justification.
# Checkpoints and gates cf review # Run verification gates cf checkpoint create "milestone" # Snapshot project state cf checkpoint list # List checkpoints cf checkpoint restore # Restore task statuses (files untouched) # Debugging cf work replay # Replay and debug a past run (built-in react engine) cf dashboard # Launch TUI dashboard SHIP -- Delivery cf pr create --title "Add search" # PR from the current branch, PROOF9 report appended cf pr list # List open PRs cf pr status # PR status, review state and CI checks cf pr get # Details for one PR cf pr merge # Merge it (refused while a requirement is open) cf pr close # Close a PR without merging cf commit create -m "feat: search" # Commit verified changes cf patch export # Export changes as patch What Works Today CodeFRAME delivers the full Think-Build-Prove-Ship loop from the CLI and browser:
# Required (Anthropic is the default provider) export ANTHROPIC_API_KEY=sk-ant-... # Multi-provider LLM (optional — override default Anthropic provider) export CODEFRAME_LLM_PROVIDER=openai # anthropic | openai (OpenAI-compatible) export CODEFRAME_LLM_MODEL=gpt-4o # model name for the chosen provider export OPENAI_API_KEY=sk-... # required when provider=openai export OPENAI_BASE_URL=http://localhost:11434/v1 # for Ollama, vLLM, LM Studio, etc. # Per-workspace: .codeframe/config.yaml supports an `llm:` block for the same options # Optional export DATABASE_PATH=./codeframe.db # Server accounts/keys; default ./.codeframe/platform.db export RATE_LIMIT_ENABLED=true # API rate limiting export RATE_LIMIT_DEFAULT=100/minute # Default limit For server configuration, rate limiting options, and API key setup, see docs/PHASE_2_DEVELOPER_GUIDE.md.
CodeFRAME has opt-in (default off) anonymous telemetry and crash reporting to help us fix beta bugs — command name, duration, exit code, version, and OS only; never code, prompts, arguments, or file paths. Control it with cf config telemetry on|off|status, CODEFRAME_TELEMETRY=on|off, or DO_NOT_TRACK=1. See PRIVACY.md for exactly what is collected, where it goes, and retention.
# Python / CLI uv run pytest # All tests uv run pytest -m v2 # v2 tests only uv run pytest tests/core/ # Core module tests uv run pytest --cov=codeframe --cov-report=html # With coverage # Web UI (Phase 3) cd web-ui && npm test # Jest unit tests cd web-ui && npm run build # Production build verification Documentation Product Roadmap -- Current phase plan and feature status Vision -- Think → Build → Prove → Ship thesis Golden Path -- The CLI-first workflow contract CLI Wireframe -- Command-to-module mapping Agent System Reference -- Agent components, execution flows ReAct Agent Architecture -- Tools, editor, token management Phase 2 Developer Guide -- Server layer patterns Phase 3 UI Architecture -- Web UI information design Contributing Fork and clone the repository Install dependencies: uv sync Install pre-commit hooks: pre-commit install Run tests: uv run pytest Submit PR with tests and clear description Code standards: PEP 8, ruff for linting, type hints required, 80%+ test coverage (enforced by CI via .coveragerc).
During the beta, feature ideas go to Discussions -> Ideas before code. See CONTRIBUTING.md for what's stable, what isn't, and how to propose changes.
AGPL-3.0 -- Free to use, modify, and distribute. Derivative works and network services must release source code under the same license. See LICENSING.md for a plain-language explanation and commercial options.
The code is AGPL-3.0; the CodeFRAME™ name and logo are trademarks of Noatak Enterprises, LLC, dba Bria Strategy Group, and are not licensed under the AGPL -- see TRADEMARKS.md.
GNU Affero General Public License v3 or later (AGPLv3+) (AGPL-3.0-or-later)
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.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.




