Skip to main content

Elution — Timer-Bound AI Research Loop for Code Optimization

GitHub stars License: MIT Python 3.13 Runtime: stdlib only Version 0.2.0

Elution is a skills-native, timer-bound AI research loop with BM25 memory for benchmark-driven code optimization. Type /elution 120 in OpenCode, Claude Code, or Pi: subagents research → propose → review → implement → measure until the deadline.

Born for the Yukon competition, extensible to any repo with a measure script.

Yukon result

Record-holder run on matrices.fast (sparse elimination ordering): 0.86136× cheapest ordering, rank 01/11.

Yukon matrices.fast result — gdonninelli record holder, 0.86136x, standing 01/11

Install

pip install git+https://github.com/gdonninelli/elution.git
# or: uv tool install git+https://github.com/gdonninelli/elution.git
# dev: uv sync --group dev

Update

pip install -U git+https://github.com/gdonninelli/elution.git
# dev: git pull && uv sync --group dev

Uninstall

pip uninstall elution
rm -rf .elution  # generated run state only

Usage

elution init --minutes 120 --baseline 1.0 --direction minimize
elution search "sparse carry path" --top 8
elution add --kind knowledge --text "..." --source "https://..."
elution deadline   # running | expired — timer is the only stop rule
elution best --show

In your agent harness:

/elution 120

How it works: researchers gather facts → lead proposes ONE change (after search --top 8) → reviewer approves/refines/rejects → coder makes the smallest diff → you measure (yukon run or your benchmark) → save to memory, repeat. Submit only on >0.10% gain over best-so-far, else once at deadline. Details: skills/elution/SKILL.md, docs/features.md, examples/yukon-generic.md.

For AI agents: read AGENTS.md (repo guide) and AGENT.md (quick pointer), then skills/elution/SKILL.md.

License

MIT. See LICENSE.

Metadata

Release files for elution 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for elution 0.2.0
File Size Uploaded
elution-0.2.0.tar.gz 4.6 MB Details

Built distribution (wheel)

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

Total release size: 4.6 MB

Release files / elution-0.2.0.tar.gz

Download URL elution-0.2.0.tar.gz
Size 4.6 MB
Tags Source
SHA-256 checksum
How to use checksums
eedb987eb87acd8833bc249c983cc3bfd9ef14bc1da72afb4cfb1d2da88ebfd3
BLAKE2b-256 checksum
How to use checksums
692babec5a6df55c2e21b93693183dc3da6ef4ee02bf05ea16939728daad0c35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / elution-0.2.0-py3-none-any.whl

Download URL elution-0.2.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a184248dbfd58d2b6c1f15322cb5c7917ad23e232f9ccb3d7cce172d07ac7d9f
BLAKE2b-256 checksum
How to use checksums
d4414cd106a9403e3020b5e5f70ee4da07f621ccff8a59e954e4e0a97b486c73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

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