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.2

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.2
File Size Uploaded Provenance Actions
betterborg-0.2.2.tar.gz 802.3 kB With provenance Details for betterborg-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / betterborg-0.2.2.tar.gz

Download URL betterborg-0.2.2.tar.gz
Size 802.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c43f443053b983a13a64fa1bb382e364da180be042b5fb9ef2b3246ce64515c3
BLAKE2b-256 checksum
How to use checksums
1586d4ac95ab8a281a19500339a42b55ffd30fafe4aa55ed895a1e4f24598f14
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 15, 2026.

Transparency log

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

Download URL betterborg-0.2.2-py3-none-any.whl
Size 438.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a1614731a1284298d8ee9ea60c154bc8f932cec9816a9e757464c0590c50df9
BLAKE2b-256 checksum
How to use checksums
0f129e0cce8816a7b674faae47beff1c723a73c8018dcebc228099efb5020198
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 15, 2026.

Transparency log

Security for betterborg 0.2.2

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.2.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 15, 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