Start here
How the Blueprint example library is structured and how to use it effectively.
What the examples are
Each example is a concrete implementation that demonstrates one or more Blueprint principles in a real pattern. Examples are not tutorials — they are implementation evidence. They show what a principle looks like when it is correctly applied in code, not just described in prose.
Two ways to browse
Browse by problem if you have a specific design challenge — the by-problem view groups examples by the failure mode they prevent. Browse by runtime if you are working with a specific library or framework — the by-runtime view filters to your stack. Both views link to the same examples.
How to use an example
Read the linked principle first, then the example. The example should clarify what the principle requires — if it does not, the principle description is more authoritative. For live retrieval during a session, use get_example(slug) via MCP rather than reading the static page.
Beginner examples15
Foundational patterns for building your first agentic experience.
Tutorial: Notebook to Web App in Five Minutes
This notebook shows how to turn a small Python function into a shareable interface with Gradio or Streamlit. It focuses on one clear input -> processing -> output flow so the app wrapper stays explicit and easy to review.
Quickstart
Runnable example (beginner) for script using pydantic.
Mem0 Cloud Quickstart
Runnable example (beginner) for script using mem0, mem0ai.
Mem0 Oss Quickstart
Runnable example (beginner) for script using mem0, mem0ai.
Introduction
Runnable example (beginner) for script using openai, python-dotenv.
Making Requests
Runnable example (beginner) for script using openai.
Streaming
Runnable example (beginner) for script using openai.
Introduction
Runnable example (beginner) for script using openai.
Also in this section