> ## Documentation Index
> Fetch the complete documentation index at: https://lightsage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Preference

> When a developer asks a coding agent to choose between you and a competitor, see which one it picks, and why.

> [!NOTE]
>
> See [Plans and availability](https://lightsage.com/docs/plans-and-availability.md).

## See who agents pick

It's under **Discovery** in the left rail. Mention rate counts how often you come up; this counts how often you're picked.

### Create an eval

An eval is a question like “should I use Acme or Rival for invoicing?”. Choose **New eval**, pick your brand and one or more competitors, and describe what to compare (write it yourself, or use **AI assisted**). Choose **Create and run**, and Lightsage asks several coding agents and records which brand each one picks.

### Read the overview

**Top winners** ranks the companies by how often agents recommended them. Head-to-head shows you against each competitor, marked Winning, Losing, Tied or No preference.

![The Agent Preference overview with top winners, head-to-head results and the list of evals](https://mintcdn.com/sapient-14d4e375/t04SdukqhUTFetuc/images/guides/agent-preference.jpg?fit=max\&auto=format\&n=t04SdukqhUTFetuc\&q=85\&s=6cad94d6129d595ad01faacc5294f46c)

### Read why the agent chose

Open a run. **Response** shows the agent's answer, and the **Analysis** tab explains why the winner won. That points at what to change, like a missing feature in your docs or hard-to-find pricing.

## Win the comparisons you lose

Find a loss, fix the page the agent relied on, and run the eval again.

**1. Find your biggest losses**

**Head-to-head** lists your biggest losses first. Open a matchup to see its evals, and open the runs you lost.

**2. Fix the page and run it again**

Update the page or doc the agent relied on, then open the eval and choose **Run eval**. Compare the new runs with the old ones to see whether agents now pick you.

**3. Share a report**

Choose **Generate report** at the top right. It takes a few minutes, and Lightsage emails you a link when it's ready.

## A simple routine

What to check, and how often.

| When | What |
| - | - |
| Weekly | Check Head-to-head for competitors gaining or losing ground. |
| After a change | Run the affected evals again, and compare. |
| Monthly | Review your competitors, and add new ones. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.