Learn Mirascope¶
This section is designed to help you master Mirascope, a toolkit for building AI-powered applications with Large Language Models (LLMs).
Our documentation is tailored for developers who have at least some experience with Python and LLMs. Whether you're coming from other development tool libraries or have worked directly with provider SDKs and APIs, Mirascope offers a familiar but enhanced experience.
If you haven't already, we recommend checking out Getting Started and Why Use Mirascope.
Key Features and Benefits¶
-
Pythonic By Design
Our design approach is to remain Pythonic so you can build your way
-
Editor Support & Type Hints
Rich automplete, inline documentation, and type hints to catch errors before runtime
-
Provider-Agnostic & Provider-Specific
Seamlessly engineer prompts agnostic or specific to various LLM providers
-
Comprehensive Tooling
Complete suite of tools for every aspect of working with LLM provider APIs
Core Components¶
Mirascope is built around these core components, each designed to handle specific aspects of working with LLM provider APIs.
We encourage you to dive into each component's documentation to gain a deeper understanding of Mirascope's capabilities. Start with the topics that align most closely with your immediate needs, but don't hesitate to explore all areas – you might discover new ways to enhance your LLM applications!
-
Prompts
Learn how to create and manage prompts effectively
-
Calls
Understand how to make calls to LLMs using Mirascope
-
Streams
Explore streaming responses for real-time applications
-
Chaining
Understand the art of chaining multiple LLM calls for complex tasks
-
Response Models
Define and use structured output models with automatic validation
-
JSON Mode
Work with structured JSON data responses from LLMs
-
Output Parsers
Process and transform custom LLM output structures effectively
-
Tools
Discover how to extend LLM capabilities with custom tools
-
Agents
Put everything together to build advanced AI agents using Mirascope
-
Evals
Apply core components to build evaluation strategies for your LLM applications
-
Async
Maximize efficiecy with asynchronous programming
-
Retries
Understand how to automatically retry failed API calls
As you progress, you'll find advanced topics and best practices throughout the documentation. These will help you optimize your use of Mirascope and build increasingly sophisticated AI-powered applications.
Happy learning, and welcome to the world of development with Mirascope!