The Linux Foundation Projects
Skip to main content

Discover LF AI & Data Projects with TAC Talks Watch Now

We are thrilled to introduce Monocle, LF AI & Data’s latest sandbox project. Monocle, founded by Okahu, is redefining how developers monitor generative AI (GenAI) applications, addressing the growing needs within the dynamic GenAI ecosystem. As open source technologies continue to evolve, ensuring robust, production-ready applications has become paramount. Monocle offers an innovative, domain-specific tracing framework designed specifically for this purpose.

Introducing Monocle: An Eye on GenAI

Monocle is an open source tracing  framework to reduce work for developers and bring consistency in monitoring GenAI applications built using distributed components, languages, frameworks and tools. It includes a suite of Python libraries that automatically instrument GenAI application code, with upcoming support for TypeScript. This automation capturestraces without the need for extensive manual coding to reduce work for developers

Not only this, Monocle introduces an observability focused metamodel—a sophisticated way to articulate GenAI application attributes and the interdependencies among various components, such as workflows, models, and cloud infrastructure. This feature ensures a unified view across different technologies and vendors, bringing consistency and significantly simplifying monitoring distributed GenAI applications.

Seamless Integration and Support

Monocle offers out-of-the-box support for multiple GenAI application frameworks and model hosting services, enabling no-code or low-code implementation of tracing functionalities. This comprehensive support framework ensures that developers can easily integrate Monocle into their existing projects, facilitating a smoother transition to production-ready applications. This seamless integration allows developers to focus more on innovation and less on the operational intricacies of their applications.

Comprehensive Tracing and Storage Solutions

Monocle’s tracing capabilities are designed to capture every facet of GenAI application operation, from individual model inferences to complex interactions across multiple components and services. This comprehensive capture ensures that developers have a full spectrum view of their applications’ performance and dependencies. 

“Being part of LF AI & Data means Monocle is developed in a transparent, community-driven environment. Everyone building GenAI applications needs monitoring. This open-source model is essential for a foundational industry-wide utility to be shaped by those who use it most – researchers, developers, SREs and organizations involved in making GenAI safe, reliable and impactful.” – Prasad Mujumdar, Co-founder & CTO of Okahu

Community-Driven Development

As a project under the LF AI & Data Foundation, Monocle benefits from the collaborative, open-source model of development. This means it not only evolves based on real-world use cases but also incorporates diverse perspectives and expertise from across the global technology community. Such collaboration is essential for creating robust, versatile tools that can keep pace with the rapid advancements in AI technology.

“Our mission at LF AI & Data is to cultivate an ecosystem where advancements in artificial intelligence and data sciences thrive, supported by impartial technical governance and a neutral hosting organization that manages project assets, offering crucial resources and infrastructure. With the introduction of Monocle, we are thrilled to provide a tool that not only boosts developer productivity but also advances the entire Generative AI field. This project will thrive under open-source neutral governance, ensuring a transparent and collaborative space that fosters rapid innovation while maintaining robust stability and security.” – Ibrahim Haddad, Executive Director of LF AI & Data

Get Involved

We encourage developers and contributors in the AI community to explore Monocle and contribute to its evolution. To learn more about the Monocle project and how you can contribute, please visit the Monocle GitHub repository or monocle2ai.org.

LF AI & Data Resources

Access other resources on LF AI & Data’s GitHub or Wiki