EvoKernel
CUDA kernel optimization agent powered by OpenEvolve.
Quick Start
# Install as CLI tool (requires Python 3.10-3.13)
pipx install evokernel
# or with uv
uv tool install evokernel
# Setup Modal (GPU evaluator)
modal setup
# Configure OpenRouter API key
evokernel setup
# Run in any project directory
evokernel
Development Install
git clone https://github.com/haladir-ai/EvoKernel.git
cd EvoKernel
uv tool install .
Usage
Just run evokernel in a directory with CUDA kernels and chat with the agent:
> optimize my_kernel.cu
> check status
> show the best result
> apply changes
Current Features
- Speedup optimization: Maximizes kernel throughput via evolutionary search
- EVOLVE markers: Define which code regions to optimize
- Modal GPU evaluation: Compile and benchmark on cloud A100 (default)
- Local GPU evaluation: Run benchmarks on your own GPU (for codebases with dependencies)
- LLM ensemble: Uses Gemini, Claude, GPT via OpenRouter
Evaluator Modes
| Mode | Use Case |
|---|---|
modal (default) |
Self-contained kernels, no local GPU needed |
local |
Kernels with custom headers/dependencies |
Roadmap (Not Yet Implemented)
- Memory optimization goal: Minimize memory usage instead of speedup
- Target hardware selection: Optimize for specific GPUs (A100, H100, V100)
- Energy efficiency goal: Minimize power consumption
Metadata
Release files for evokernel 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| evokernel-0.8.0.tar.gz | 821.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| evokernel-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.8 MB
Release files / evokernel-0.8.0.tar.gz
| Download URL | evokernel-0.8.0.tar.gz |
|---|---|
| Size | 821.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e39f0f1f069ae38b7a91ecc762c220077429a86a9528beb4cd37f3ad72aa930
|
|
BLAKE2b-256 checksum How to use checksums |
bba05093bca5683c1e0dbd81161305ca53ce19f3fff17062a32debb6a6b046f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 7, 2026.
Transparency logRelease files / evokernel-0.8.0-py3-none-any.whl
| Download URL | evokernel-0.8.0-py3-none-any.whl |
|---|---|
| Size | 947.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e46f10ff771e62706446095a132f497aeae62b585f19711b21544fd00cd82f9d
|
|
BLAKE2b-256 checksum How to use checksums |
a78bdb854beedfe2d6f8e9ff5dfd692597c4bb1f397a653d2c9bbe4b07ec1521
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 7, 2026.
Transparency logSecurity for evokernel 0.8.0
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for evokernel-0.8.0.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 Jan 7, 2026.
Transparency logA 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.