> ## 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 Experience

> Test whether coding agents such as Claude Code and Cursor can build with your product, and fix where they get stuck.

> [!TIP]
>
> To run evals from a terminal or your own agent instead, see [Running evals](https://lightsage.com/docs/guides/running-evals.md).

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

This page describes the new Agent Experience layout, with every eval kind as a tab under **Experience** in the left rail. It is available on request: contact Lightsage to turn it on for your team. Teams without it see the earlier layout, with a separate page for each kind of eval.

## Set up your first evals

An eval gives a coding agent a real task with your product, like “add payments with our API”, and records where it gets stuck. Everything here is under Experience in the left rail.

**1. Connect your API, SDK, MCP server, CLI or skills**

Choose **+** next to the tabs at the top of the page, then pick what to connect. Each one takes four steps:

1. Details: for example your MCP server's URL or your CLI's install command
2. Discover: Lightsage finds its endpoints, methods, tools, commands or skills
3. Create evals: Lightsage writes evals for what it found
4. Run evals: pick the agents and Runs each, then choose **Run**

**2. Write a custom eval**

A custom eval tests a job your users do, which can use several tools at once. In **Evals**, open the **Custom** tab and choose **New custom eval**. Your first time, you can also Start from a suggestion, Compare with a competitor, Use a template, or use one of the suggested starter evals.

**3. Run evals**

In **Evals**, tick the evals to run and choose **Run**. Pick the agents and Runs each (1 to 10), then confirm. Runs use credits. Several runs per agent show whether a result holds up.

![The Evals list grouped by kind, with each eval's agent results, pass rate and schedule](https://mintcdn.com/sapient-14d4e375/t04SdukqhUTFetuc/images/guides/experience-evals.jpg?fit=max\&auto=format\&n=t04SdukqhUTFetuc\&q=85\&s=44c71bba32e2fee4a43404bd6cac2282)

## Read the results

Each page covers every kind of eval. Use the tabs at the top to see one kind.

### Activity: what ran, and what happened?

Every run, newest first and grouped by day, with the agent, time, tool calls, cost and result. Runs in progress are under Running now. Filter by agent or result, and open a run to read each step the agent took.

### Analytics: are agents getting better?

Pass rate, agent time, tool calls, errors and cost per run, by agent and by kind, over the last 7, 30 or 90 days. Open these for more detail:

![Agent Experience Analytics with pass rate, agent time, tool calls, errors and cost per run](https://mintcdn.com/sapient-14d4e375/t04SdukqhUTFetuc/images/guides/experience-analytics.jpg?fit=max\&auto=format\&n=t04SdukqhUTFetuc\&q=85\&s=899760eaf6dd77b785c5d693475ed93b)

* Why runs fail: the most common causes
* Tool coverage: which tools agents called, and which failed
* Agent journey: the pages agents read, and the ones that broke

### Tools: where do agents struggle?

Every endpoint, method, tool or command you connected, with its coverage, pass rate, calls in the last 30 days, failures, last run and number of evals. Coverage reads Passing, Failing, Not run or Not tested; Not tested means no eval covers it yet.

![Agent Experience Tools listing each tool with its coverage, pass rate and failures](https://mintcdn.com/sapient-14d4e375/t04SdukqhUTFetuc/images/guides/experience-tools.jpg?fit=max\&auto=format\&n=t04SdukqhUTFetuc\&q=85\&s=733e358bd44e91436e83b235ff349d93)

## Fix where agents get stuck

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

Lightsage writes a fix and tests it before you ship.

**1. Create an optimization**

On a run or an eval, choose **Create optimization** and pick the runs to improve. Only runs with findings can be picked. Lightsage changes your docs, tool descriptions or help text, then runs the same evals again. The eval's Optimizations tab shows pass rate, tool calls, time and tokens before and after.

**2. Run again after you ship**

Once the change is live, run the same evals again and check Analytics and Tools.

## Compare agents and competitors

See which agents do best with your product, and whether agents pick you.

### Compare: which agent does best?

Pick a first and second agent to compare pass rate, time, tool calls, failed tool calls and cost per pass, and see the evals where they differ most. On custom evals you can also compare prompts, environments, or runs with and without skills.

### Competitors: do agents pick you?

From your custom evals: which providers agents picked and named, with share of voice and average position, and how your docs rank against other brands on quality, calls, 404s and time.

## Share and benchmark

Show your results publicly, and see how you compare with others. Both are under **Leaderboards** in the Agent Experience panel.

### AX Leaderboard: show how agents do with your product

A team admin turns on the public leaderboard under **Settings** > **Navigation**, with **Public Agent Experience Leaderboard**.

Publish a branded public leaderboard of how coding agents do on your custom evals. Developers can see which agents work best with your product before they start.

* Preview it privately first.
* Choose which eval categories to show.
* Embed it on your site, or use your own domain.
* It updates as new runs finish.

### Benchmarks: how do you rank?

See how your developer tools do against others in the DevTool Arena and Agent Experience benchmarks. It shows where you stand against competitors and what to fix first.

## A simple routine

What to check, and how often.

| When | What |
| - | - |
| Weekly | Read a few failed runs in Activity, and optimize one eval. |
| After a release | Run your evals again, and check Analytics for drops. |
| Monthly | Check Tools for anything not tested, then Compare and Competitors. |


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