Skip to main content

What is Marvin?

Marvin is a Python framework for building AI applications with LLMs. Marvin provides a clean, intuitive interface for working with large language models (LLMs) while handling all the complexity of state management, conversation history, and agent coordination.

Quick Examples

Using uv? Run the examples below by copying them to your clipboard and executing:

Simple Tasks

The fastest way to use Marvin is with marvin.run():

Specialized Agents

Create agents with specific skills and personalities:

Structured Data

Get results in exactly the format you need:

Persistent Memory

Give your agents memory that persists across conversations:

Why Marvin?

  • 🎯 Simple Interface: Start with one line of code, scale to complex applications
  • 🧠 Smart Defaults: Sensible defaults that just work, with customization when you need it
  • 🔄 State Management: Built-in conversation history and memory management
  • 📝 Structured Data: Get results in exactly the format you need
  • 🤝 Multi-Agent: Create specialized agents that work together
  • 🔌 Extensible: Easy to integrate with your existing Python code

Next Steps