We raised $4M to scale our Agent-Led Growth Platform:Read more

Introducing optimization

  • Jun Liang Lee
    Co-Founder
2 min read

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

  1. Start from an eval. Pick the runs that failed or took too long.
  2. We write the changes. New sections, examples and redirects for the pages the agents hit, based on what went wrong in each run.
  3. Rerun with the change. The same agents, models and prompt, with only those pages changed.
  4. Keep the best round. Each round builds on the last, and the best one is run again to check it holds.
  5. 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.

  • Jun Liang Lee
    Co-Founder

About the Author

Building Lightsage to help software companies get discovered and used by coding agents. Founder of AI DevTool Demo Night @ AWS SF — 15k+ developer community, 60+ DevTool companies and 3,000+ developer attendees across 4 editions.

Is your API ready for the agent economy?

Developer tools and APIs use Lightsage to get discovered, recommended, and used by AI coding agents.