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

# Agent Lens

> Overview of Agent Lens on CoreWeave

CoreWeave Agent Lens is an agent observability platform that helps you gain insights into your agent's or harness's performance and behaviors. The platform lets you instrument and trace your agent's and harness's conversations, performance metrics, tool calls, reasoning, and errors. This can help you:

* Surface trends about what customers ask your agents
* Debug tool calls regularly failed
* Evaluate the quality of your agent's output
* Track costs

## Get started

<CardGroup cols={3}>
  <Card title="Integrate Agent Lens" icon="plug" href="/products/agent-lens/get-started/integrations">
    Pick a built-in integration for your agent SDK or harness and start tracing sessions, turns, LLM calls, and tool calls in the Agents Lens UI.
  </Card>

  <Card title="Send OpenTelemetry spans to Agent Lens" icon="code" href="/products/agent-lens/get-started/opentelemetry">
    Quickly configure your OTel-instrumented agent to send traces to Agent Lens's OTLP endpoint. No Agent Lens SDK installation required.
  </Card>

  <Card title="View agent metrics in the Agent Lens UI" icon="chart-line" href="/products/agent-lens/conversations/view-activity">
    Review your agent's conversations, metrics, and trends in the Agent Lens UI.
  </Card>
</CardGroup>

## Automatically instrument your agent

Start by installing the Agent Lens instrumentation skill using `npx`:

```bash theme={"system"}
npx skills add wandb/skills
```

When the installer asks which skills to install, select `agentlens-tracing-instrument`. You don't need the repository's other skills to instrument your agent.

After installing the skill, open your coding agent of choice and run the skill to instrument your code:

```text theme={"system"}
/agentlens-tracing-instrument
```

After the agent has instrumented the code, review it, and then set your Forge API key as the following environment variable:

```bash theme={"system"}
export WANDB_API_KEY=[YOUR-API-KEY]
```

After you instrument your agent and run it, it sends tracing data to Agent Lens and you can [view its activity](/products/agent-lens/conversations/view-activity) in the UI.


## Related topics

- [Agent Lens](/redirects/forge/agent-lens.md)
