Introducing optimization
Jun Liang LeeCo-Founder
Today we're launching optimization. Lightsage writes changes to the docs pages coding agents stumbled on, then reruns the same eval with real agents, with only those pages changed. You get the fix that worked, before you ship anything.
Why we built this
Yesterday's custom evals show you where agents guess URLs and hit dead links. Fixing it the usual way means editing your docs, shipping, rerunning and checking, again and again. Optimization does those rounds for you, in the background.
How it works
- Start from an eval. Pick the runs that failed or took too long.
- We write the changes. New sections, examples and redirects for the pages the agents hit, based on what went wrong in each run.
- Rerun with the change. The same agents, models and prompt, with only those pages changed.
- Keep the best round. Each round builds on the last, and the best one is run again to check it holds.
- Ship it. Copy the fix into your docs, or publish it as a GitHub pull request or straight to your CMS.
What you can fix
- Docs pages and llms.txt.
- Redirects for the URLs agents guess.
- Custom evals and agent preference, from the runs that went wrong.
Get started
Book a demo and we'll run your first eval and optimization with you.
This post is part of Lightsage launch week. Yesterday: custom evals.