monocle
by monocle2ai
Monocle is a framework for tracing GenAI app code. This repo contains implementation of Monocle for GenAI apps written in Python.
From the README
Open-source tracing & testing for GenAI apps and agents. A GitHub Star goes a long way. How It Works · Quick Start · Testing · Frameworks · Integrations · Contributing Built under the Linux Foundation AI & Data umbrella, designed to plug into your existing OpenTelemetry stack. With a few lines of code (or none at all), you get rich traces, CI-friendly tests, and deep visibility across LLMs, agents, tools, and vector stores. How it works At its core, Monocle is a GenAI-specific observability layer built on OpenTelemetry. 🧬 Metamodel — defines entities such as agents, prompts,…
Excerpt from the project's README on GitHub.
Skills
An open-source project — explore the code and self-host it from GitHub.