Optimize_anything: A Universal API for Optimizing Any Text Parameter
Details
- External ID
- 47083674
- Source
- HN
- Company
- —
- Product
- Optimize_anything: A Universal API for Optimizing Any Text Parameter
- Website domain
- github.io
- Launched
- Feb. 20, 2026
- Cohort
- —
- Upvotes
- 8
- Upvotes percentile
- 0.4393530997304582
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
We built optimize_anything, an API that optimizes any artifact representable as text — code, prompts, agent architectures, configs, even SVGs. It extends GEPA (our prompt optimizer, discussed here previously: https://arxiv.org/abs/2507.19457) far beyond prompts.The API is deliberately minimal. You provide what to optimize and how to measure it:import gepa.optimize_anything as oadef evaluate(candidate: str) -> tuple[float, dict]: result = run_my_system(candidate) return result.score, {"error": result.stderr, "runtime": f"{result.time_ms}ms"}result = oa.optimize_anything( seed_candidate="<your artifact>", evaluator=evaluate, )The evaluator returns a score plus diagnostic feedback (we call it "Actionable Side Information" — stack traces, rendered images, profiler output, whatever helps diagnose failures). An LLM proposer reads this feedback during a reflection step and proposes targeted fixes, not blind mutations. Candidates are selected via a Pareto frontier across metrics/examples, so a candidate that's best at one thing survives even if its average is mediocre.Two ideas distinguish this from AlphaEvolve/OpenEvolve/ShinkaEvolve-style LLM evolution: (1) diagnostic feedback is a first-class API concept rather than a framework-specific mechanism, and (2) the API unifies three optimization modes — single-task search (solve one hard problem), multi-task search (solve related problems with cross-transfer), and generalization (build artifacts that transfer to unseen inputs). Prior frameworks only express mode 1.We tested across 8 domains. Selected results:Coding agent skills: Learned repo-specific skills push Claude Code to near-perfect task completion and make it 47% faster Cloud scheduling: Discovered algorithms that cut costs 40%, topping the ADRS leaderboard over expert heuristics and other LLM-evolution frameworks Agent architecture: Evolved a 10-line stub into a 300+ line ARC-AGI agent, improving Gemini Flash from 32.5% → 89.5% Circle packing (n=26): Outperforms AlphaEvolve's published solution Blackbox optimization: Generated problem-specific solvers matching or exceeding Optuna across 56 EvalSet problems CUDA kernels: 87% match or beat baseline; multi-task mode outperforms dedicated single-task runs``` pip install gepa ```Blog with full results and runnable code for all 8 case studies: https://gepa-ai.github.io/gepa/blog/2026/02/18/introducing-o...GitHub: https://github.com/gepa-ai/gepa
Enrichment
- Theme
- decision model runtimes and tools
- Vertical
- Horizontal
- Function
- Agent / copilot
- Audience
- Developer
- AI stance
- AI feature
- Project type
- Commercial product
- Normalized one-liner
- api for text parameter optimization
- Manually corrected
- False
Could you build this?
No This is cutting-edge academic ML research from UC Berkeley/Stanford faculty (Stoica, Zaharia, Khattab) implementing novel discrete optimization algorithms across general text spaces.
What it would actually take: The architecture involves complex reinforcement learning, evolutionary search, and LLM-guided Bayesian optimization algorithms that iteratively mutate, evaluate, and traverse high-dimensional, non-differentiable text spaces. The hard part is the theoretical optimization algorithm design (extending GEPA) to efficiently converge without combinatorial explosion or degenerating outputs. This requires a dedicated team of elite AI/ML research scientists and substantial compute infrastructure.
Discussion
No comments on this launch.
Competitors
Other products that read as similar to this one — 149 launches clear the similarity bar, closest 8 shown.
Attention rank: #78 of 150 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 114 days after the earliest competitor.
- Prompt-refiner · hn · 2025-12-17 · 7 upvotes · similarity 0.45
- Dari-docs · hn · 2026-05-20 · 23 upvotes · similarity 0.42
- Levi · hn · 2026-06-08 · 5 upvotes · similarity 0.40
- Codag: Compression and control for agent tools · yc · 2026-08-16 · 6 upvotes · similarity 0.39
- Autofix Bot · hn · 2025-12-11 · 37 upvotes · similarity 0.39
- Solving complex optimization problems with Google OR-Tools in browser · hn · 2026-06-03 · 12 upvotes · similarity 0.39
- agentic-cuda-optimizer · github · 2026-09-24 · 35 upvotes · similarity 0.39
- I nerfed our coding agents on purpose · hn · 2026-06-05 · 27 upvotes · similarity 0.38
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a agent / copilot tool for Agriculture yet.