agent active

codeflash

Maker: codeflash-ai License: BSL-1.1 Stars: 246 First released: 2025-02-13 Language: Python
IDE

About

Codeflash automates performance work that ordinarily waits for a human to profile, rewrite, and benchmark by hand. The tool generates multiple optimization candidates for Python functions with LLMs, checks each candidate against the existing test suite for correctness, benchmarks runtime against the original, and opens a pull request containing the fastest verified optimization. Teams run it continuously through a GitHub Action so new code gets optimized in every pull request, or run one-off optimizations over an existing codebase or script from the CLI and a VS Code extension. It focuses on performance rather than general development: typical targets include AI agent code, computer vision, PyTorch, numerical, and backend Python, and teams such as Pydantic, Roboflow, Unstructured, and Langflow use it. Access requires an API key from Codeflash's hosted service.