---
title: "Claude Code"
url: "/docs/proxy/lens/coding-agents/claude-code"
canonical_url: "https://docs.litellm.ai/docs/proxy/lens/coding-agents/claude-code"
type: "docs"
last_updated: "2026-10-03"
summary: "Connect personal Claude Code sessions to LiteLLM Lens using the maintained setup guides."
related:
  - "/docs/proxy/lens/coding-agents"
  - "/docs/proxy/lens/coding-agents/codex"
---
# Claude Code

> Index of all LiteLLM docs: https://docs.litellm.ai/llms.txt

<!-- Generated from BerriAI/litellm-lens-example/claude-code/README.md at a6cce7983ec78ef9183627a0b05e0e3ce548b98a. Edit the source README. -->

# Claude Code

Send your personal Claude Code sessions to [LiteLLM Lens](/docs/proxy/lens). This folder links to the maintained integration instructions.

## Prerequisites

You need Claude Code, a LiteLLM gateway with [tracing enabled](/docs/proxy/lens/deployment#configure-an-existing-proxy), and a LiteLLM key.

## Setup

Follow the [Lens coding agent setup guide](/docs/proxy/lens/coding-agents) for gateway-specific instructions. See the [Claude Code monitoring guide](https://code.claude.com/docs/en/monitoring-usage) for the integration’s configuration and supported telemetry.

## Verify the trace

Complete a new session turn, then open **Lens > Traces** on your gateway. Find the session using the agent name configured by the integration and inspect its recorded activity.

## Troubleshooting

If the session is missing, check the setup guide’s recording and export instructions, the gateway URL, and the key. Check the maintained integration documentation for supported activity and platform requirements.

## Related pages

- [Trace coding agent sessions](https://docs.litellm.ai/docs/proxy/lens/coding-agents.md)
- [Codex](https://docs.litellm.ai/docs/proxy/lens/coding-agents/codex.md)
