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)→

Original post →

More from coding & agent

coding & agent channel →