Skip to main content

Measurable code improvement — autonomous optimization loop

Project description

Gradex — autonomous code optimization. Measurable improvement, every run.

PyPI version Python 3.11+ License: MIT

Gradex discovers performance targets, captures a baseline, runs autonomous optimization experiments, and ships the best verified patch.

Install

pip install gradex

60-Second Quickstart

pip install gradex
gradex install cursor
gradex discover "make this repo faster"
gradex optimize
gradex dashboard

Providers

Provider Best for Notes
Groq Free cloud runs Free tier available, fast iteration
Anthropic High quality reasoning Strong patch planning and code edits
OpenAI General purpose Broad model options
Ollama Local/private Runs fully on your machine

CLI Reference

Command Description
gradex install <host> Installs Gradex integration for a coding host
gradex doctor <host> Checks host environment and setup health
gradex dashboard Starts live optimization dashboard
gradex upgrade Checks PyPI for newer Gradex versions
gradex discover [hint] Discovers benchmark target and baseline
gradex optimize Runs autonomous optimization loop
gradex stats Shows run analytics and optional exports
gradex history Lists recent optimization runs

How It Works

+-----------+     +-----------+     +----------------------+     +----------------+
| discover  | --> | baseline  | --> | optimize loop (N)    | --> | best patch out |
+-----------+     +-----------+     +----------------------+     +----------------+
  1. discover analyzes your repo and creates a measurable benchmark target.
  2. Gradex records a baseline score.
  3. optimize runs parallel experiment rounds (patch -> benchmark -> gate checks).
  4. Best validated patch and run analytics are surfaced in dashboard and CLI.

Dashboard

Dashboard screenshot: placeholder

License

MIT

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

gradex-0.1.0.tar.gz (175.1 kB view details)

Uploaded Source

Built Distribution

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

gradex-0.1.0-py3-none-any.whl (56.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gradex-0.1.0.tar.gz
  • Upload date:
  • Size: 175.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gradex-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c0b0c52da591c45b17c24c2daedcc17532ee5bff3baa636ecd39aa6e76b703b6
MD5 055038e81ce286648b9580177ab6b13a
BLAKE2b-256 9b81e4a5c1faae36fa08da37f0925e4c408f72dd3f08ed16feedbf5177748fc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gradex-0.1.0.tar.gz:

Publisher: publish.yml on gradex1606-dev/gradex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: gradex-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 56.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gradex-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2dfef7f4bac7fa3ae1dff3a1398ffce17c53f9162c80be40b29bd8567fd01241
MD5 d2be84aaa500f0b672107e6f166c4044
BLAKE2b-256 cfb3f73e5da7324c74cf1526b22c7e0d832f16dabe6e2c6d83bc962432171c6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gradex-0.1.0-py3-none-any.whl:

Publisher: publish.yml on gradex1606-dev/gradex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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