Skip to main content

Mosaic AI Agent Framework

Build production-quality retrieval augmented generation (RAG) apps

Retrieval augmented generation (RAG) is a generative AI application pattern that finds data/documents relevant to a question or task and provides them as context for large language models (LLMs) to give more accurate responses.

Mosaic AI Agent Framework is a suite of tooling designed to help developers build and deploy high-quality generative AI applications using RAG for output that is consistently measured and evaluated to be accurate, safe and governed. Mosaic AI Agent Framework makes it easy for developers to evaluate the quality of their RAG application, iterate quickly with the ability to test their hypothesis, redeploy their application easily, and have the appropriate governance and guardrails to ensure quality continuously.

RAG Framework

Highest production quality

Mosaic AI Agent Framework helps organizations deploy production-quality GenAI applications for output that is consistently measured and evaluated to be accurate, safe and governed. Mosaic AI Agent Framework has built-in proprietary AI-assisted evaluation that can automatically determine if outputs are high quality, as well as an intuitive UI to get feedback from human stakeholders.

Rapid development iteration

Rapid development iteration

Mosaic AI Agent Framework makes it easy for developers to take feedback about the GenAI application and rapidly iterate on changes to test every hypothesis. They can then redeploy their application into production with no code changes using an end-to-end LLMOps workflow. Developers can iterate on all aspects of the RAG process: from data preparation, vector databases and model deployment to monitoring, security and governance.

Governance and guardrails

Governance and guardrails

Mosaic AI Agent Framework is seamlessly integrated with the rest of the Databricks Data Intelligence Platform. This means you have everything you need to deploy an end-to-end RAG system, from security and governance to data integration, vector databases, quality evaluation and one-click optimized deployment. With governance and guardrails in place, you can also prevent toxic responses and ensure your application follows your organization’s policies.

Automated real-time pipelines for any type of data

Automated real-time pipelines for any type of data

Mosaic AI natively supports serving and indexing your data for online retrieval. For unstructured data (text, images and video), Vector Search automatically indexes and serves data, making it accessible for RAG applications without needing to create separate data pipelines. Under the hood, Vector Search manages failures, handles retries and optimizes batch sizes to provide you with the best performance, throughput and cost. For structured data, Feature and Function Serving provides millisecond-scale queries of contextual data, such as user or account data, that enterprises often want to inject into prompts in order to customize them based on user information.