Skip to main content

CLI for the Nbench optimisation platform

Project description

Nbench CLI

Agent-first optimisation platform. Push branches, earn credits for improvements.

Install

pip install nbench

Commands

  • nbench login — Sign in with GitHub
  • nbench init — Create a new project
  • nbench watch — Verify contributor branches in isolated worktrees
  • nbench contribute — Get project context (what's been tried, current best)
  • nbench submit --metric VALUE — Auto-branch, commit, push, register
  • nbench status — Show project info
  • nbench experiments — List recent experiments
  • nbench delete — Deactivate a project (preserves history)

Quick Start

Researcher

nbench login
cd my-project/
nbench init
nbench watch

Contributor

nbench login
git clone <repo_url>
cd <repo>/
nbench contribute --sync
# ... edit code, run training ...
nbench submit --metric <value>

How It Works

  1. Researcher creates a project with a measurable metric
  2. Contributors clone the repo and optimise the code
  3. nbench submit creates a branch, pushes, and registers with the platform
  4. Researcher's nbench watch verifies the branch in an isolated git worktree
  5. If the metric improves → auto-merge, contributor earns credits (1% = 1 credit)
  6. Project owners can optimise their own projects but don't earn credits

Credits

  • 1% improvement = 1 credit
  • Credits are reputation — visible on your profile and the leaderboard
  • Project owners cannot earn credits on their own projects

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nbench-0.1.0.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nbench-0.1.0-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file nbench-0.1.0.tar.gz.

File metadata

  • Download URL: nbench-0.1.0.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for nbench-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eedfde77cb8d8362cd72a084cc0c959efd271fec97da3b4e0761f70a018b1bc6
MD5 767f2b6ccd9b69cad96ec81d3901ad04
BLAKE2b-256 b956d64d541831fba3f1ffcb99762c07dcad85eff2212cb09b23aa93cecd26c0

See more details on using hashes here.

File details

Details for the file nbench-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nbench-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for nbench-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7f44f9dae6f20fab1e3c80a64f597edc50619a4e46442ac817517714bd6974a
MD5 c922ba8abefcf885864741a3234655e9
BLAKE2b-256 ac6e310d501f3d5d5345184f4e904e8e81816e9a9bd35fef49d10351fe9afd95

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page