Measurable code improvement — autonomous optimization loop
Project description
Gradex — autonomous code optimization. Measurable improvement, every run.
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 |
+-----------+ +-----------+ +----------------------+ +----------------+
discoveranalyzes your repo and creates a measurable benchmark target.- Gradex records a baseline score.
optimizeruns parallel experiment rounds (patch -> benchmark -> gate checks).- Best validated patch and run analytics are surfaced in dashboard and CLI.
Dashboard
Dashboard screenshot: placeholder
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0b0c52da591c45b17c24c2daedcc17532ee5bff3baa636ecd39aa6e76b703b6
|
|
| MD5 |
055038e81ce286648b9580177ab6b13a
|
|
| BLAKE2b-256 |
9b81e4a5c1faae36fa08da37f0925e4c408f72dd3f08ed16feedbf5177748fc2
|
Provenance
The following attestation bundles were made for gradex-0.1.0.tar.gz:
Publisher:
publish.yml on gradex1606-dev/gradex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gradex-0.1.0.tar.gz -
Subject digest:
c0b0c52da591c45b17c24c2daedcc17532ee5bff3baa636ecd39aa6e76b703b6 - Sigstore transparency entry: 1833585721
- Sigstore integration time:
-
Permalink:
gradex1606-dev/gradex@99df89ffb9c9c17b7bed47a6979c936eaba246ea -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/gradex1606-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@99df89ffb9c9c17b7bed47a6979c936eaba246ea -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2dfef7f4bac7fa3ae1dff3a1398ffce17c53f9162c80be40b29bd8567fd01241
|
|
| MD5 |
d2be84aaa500f0b672107e6f166c4044
|
|
| BLAKE2b-256 |
cfb3f73e5da7324c74cf1526b22c7e0d832f16dabe6e2c6d83bc962432171c6e
|
Provenance
The following attestation bundles were made for gradex-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on gradex1606-dev/gradex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gradex-0.1.0-py3-none-any.whl -
Subject digest:
2dfef7f4bac7fa3ae1dff3a1398ffce17c53f9162c80be40b29bd8567fd01241 - Sigstore transparency entry: 1833585976
- Sigstore integration time:
-
Permalink:
gradex1606-dev/gradex@99df89ffb9c9c17b7bed47a6979c936eaba246ea -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/gradex1606-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@99df89ffb9c9c17b7bed47a6979c936eaba246ea -
Trigger Event:
push
-
Statement type: