marvin
Basic Information
Marvin is a Python framework for producing structured outputs and building agentic AI workflows. It provides a high-level API to define observable tasks, assign specialized AI agents, and compose tasks into threads to orchestrate multi-step behavior. The library includes structured-output utilities for extracting, casting, classifying, and generating typed values from unstructured input. Marvin integrates with Pydantic AI for LLM access and supports multiple model providers, with OpenAI as the default. It is designed for developers who want to create reproducible, type-safe interactions with language models, break complex objectives into discrete steps, and orchestrate collaboration between multiple agents, swarms, or teams while tracking progress and results.