Agent-driven hill climbing makes Distilled SDK up to 108.9x faster than official SDKs
samgoodwin89 · x · 2026-10-30
samgoodwin89 highlights Distilled's optimization results as "a nice example of hill climbing in practice," calling Distilled the most optimal JS-native SDK, built purely on Effect.
The quoted post: MKassabov spent a few days optimizing Distilled with an agent—the agent did "some funky stuff," but the result is dramatically faster. Benchmarks vs official SDKs on identical calls: vs AWS SDK v3, 2.6x smaller bundle, 5.8x faster added latency, 3.3x less import memory, 2.0x faster cold start; vs Cloudflare workers.scripts.list, 5.1x faster and 23.5x less memory; vs @google-cloud/storage getBuckets, 108.9x faster with a 6.0x smaller bundle.
The workflow is the real story: let an agent hill-climb with unconventional changes, then verify gains with benchmarks.
Related event: Alchemy Agent Optimizes SDK, Claims Big Wins Over Official SDKs(3 posts)→
More from coding & agent
- YC F26's Composal sends agent swarms to test your product like real users — ycombinator · 2026-10-30
- KreaMossMix ComfyUI workflow chains MOSS-Image and Krea 2 for four image variants per prompt — Plane-Implement1044 · 2026-10-30
- Dev builds fail-closed MCP tool that refuses to PASS unverified US businesses — cstill_dev · 2026-10-30
- Claude Code v2.1.314 adds write-blocking outside workdirs, idle compaction, gateway fixes — ashwin-ant · 2026-10-30
- ComfyArt: open-source Lovart-style AI design canvas running fully on your own GPU — Far-Driver-2904 · 2026-10-30
- Particle-1, a $0.25/$1 codegen model with 1M context, goes live on agent harness Capy — garrytan · 2026-10-30