Skip to main content

Claude Code

Send your personal Claude Code sessions to LiteLLM Lens. This folder links to the maintained integration instructions.

Prerequisites​

You need Claude Code, a LiteLLM gateway with tracing enabled, and a LiteLLM key.

Setup​

Follow the Lens coding agent setup guide for gateway-specific instructions. See the Claude Code monitoring guide 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.

LiteLLM Enterprise
SSO/SAML, audit logs, spend tracking, multi-team management, and guardrails, built for production.
Learn more →