Skip to content
BerriAIPublic

About

Lens tracing and investigation platform, standalone and embedded in LiteLLM

Resources

Contributing

Stars

8 stars

Watchers

0 watching

Forks

Repository files navigation

LiteLLM Lens

Self-improving agents, on your infrastructure.

Start locally with Git and Docker, or Set it up for me with your coding agent

Copy a setup prompt
Set up Lens for this project using https://github.com/BerriAI/lens/blob/main/docs/setup-with-agent.md. Inspect the existing project and deployment first. Reuse a working Lens installation if one exists; otherwise start standalone Lens with ClickHouse using the documented source quickstart. Ask only for consequential missing choices. Preserve configuration, data, secrets, and my agent's model connection. Connect this project's instrumentation and verify a real run by its trace ID, including its input, output, and tool calls. Report the Lens URL, changes made, and verification results without exposing credentials.

Agent swarms flow through the LiteLLM gateway into one trace per run, and Lens loops what it learns back into your agents



Your agents run. Lens watches every run, finds what went wrong, and feeds it back.
The next run is better.


Early access   ·   Docs   ·   Contributing   ·   Launch post   ·   4K film



Lens traces



Lens finding



Lens dataset




Run Lens on its own or open it inside LiteLLM. Your traces stay in your own ClickHouse.
Point Claude Code or Codex at them and let your agents improve your agents.


Get started

About

Lens tracing and investigation platform, standalone and embedded in LiteLLM

Resources

Contributing

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages