Skip to main content

Betterborg CLI

PyPI npm Python License

Betterborg is an AI engineering team for substantial software projects, not a chat window that makes an isolated edit. You give it a task or a PRD; agents investigate your real code, write a reviewed technical plan, decompose it into a dependency graph of tasks, and implement them, each in its own isolated Git worktree. You approve the plan before anything is decomposed, and the estimate before anything runs. It works locally, on your own Claude Code or Codex subscription.

Get started

  1. Install the CLI:

    pip install betterborg
    

    Or install the standalone release binary for Darwin or Linux, which needs no Python toolchain. It selects ARM64 or x86_64 from the release manifest, verifies the SHA-256 digest and exact version before replacing ~/.local/bin/betterborg, and then runs step 2 for you:

    curl -fsSL https://install.betterborg.ai | sh
    
  2. Activate the agent-host integrations:

    betterborg plugins install --all
    

    Then run /reload-plugins in any open Claude Code session, and start a new Codex session when prompted.

  3. From inside a Git repository, run the loop:

    betterborg trust                     # trust this worktree (machine-local)
    betterborg init                      # register and analyze the repository
    betterborg create my-feature         # or: betterborg create my-feature --prd spec.md
    betterborg plan start my-feature     # agents plan, review, and iterate
    betterborg plan approve my-feature   # your gate: nothing is decomposed before this
    betterborg task estimate my-feature  # P50/P80 work and cost
    betterborg execute my-feature        # approve the estimate, then run
    

betterborg execute hands off reviewed local branches. Add --push or --pr to publish them. betterborg --help is the full command index.

To try it without installing:

npx --yes @betterborg/cli version

Plugin activation needs a persistent install, so it is skipped under npx.

Requirements

  • Python 3.11+, on macOS or Linux. On Windows, use a WSL2 shell.
  • One agent transport: a claude or codex CLI on PATH and already logged in, or ANTHROPIC_API_KEY / OPENAI_API_KEY exported in your shell.

Keep provider keys in your shell or a secret manager, never in .betterborg/config.toml or any tracked file.

Documentation

Reporting bugs

File a GitHub issue.

Contributing

See AGENTS.md for repository rules and the standard make targets.

License

Copyright 2026 Betterborg. Licensed under the MIT License. See NOTICE for attribution.

Metadata

Release files for betterborg 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for betterborg 0.2.3
File Size Uploaded Provenance Actions
betterborg-0.2.3.tar.gz 802.9 kB With provenance Details for betterborg-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for betterborg 0.2.3
File Interpreter ABI Platform Actions
betterborg-0.2.3-py3-none-any.whl Python 3 none any Details for betterborg-0.2.3-py3-none-any.whl

Total release size: 1.2 MB

Release files / betterborg-0.2.3.tar.gz

Download URL betterborg-0.2.3.tar.gz
Size 802.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2372bb0a23f6d85e05f3aa4b0af65881c077055822f8c5b845219c03ad01fe0b
BLAKE2b-256 checksum
How to use checksums
2c6c5b8aac7aa0d0858b96911ebe2f93c5fbaf3b74544146ae9cc9f0d4944327
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

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 Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

Release files / betterborg-0.2.3-py3-none-any.whl

Download URL betterborg-0.2.3-py3-none-any.whl
Size 438.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb15b433b1ccf7a61ceda2a90251935097f0bcdbb6ef0e46848dcf99930bd4f4
BLAKE2b-256 checksum
How to use checksums
d46921b94bb72f4c89588c362bf48ec41680a5d5bd74ebd1af4a10d767d889c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

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 Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

Security for betterborg 0.2.3

Provenance

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for betterborg-0.2.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

A note on package security

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page