aiagent.club
中文
GitHub repo

PrefectHQ/marvin

Python Tracked since 2023-03-10 Updated 2026-11-10 View source ↗

#311 of 814 by Stars among GitHub repos

6.2k Stars

an ambient intelligence library

About

Marvin is a Python framework for producing structured outputs and building agentic AI workflows.

Marvin provides an intuitive API for defining workflows and delegating work to LLMs:

Configure your LLM provider (Marvin uses OpenAI by default but natively supports all Pydantic AI models):

Marvin offers a few intuitive ways to work with AI:

The gang's all here - you can find all the structured-output utilities from marvin 2.x at the top level of the package.

How to use extract, cast, classify, and generate

Classify unstructured input as one of a set of predefined labels:

Generate some number of structured objects from a description:

marvin 3.0 introduces a new way to work with AI,…

Excerpted from github.com/PrefectHQ/marvin

Latest metrics

Stars 6.2k 2026-11-10
Forks 414 2026-11-10
Commits 4.0k 2026-11-10
Releases 91 2026-11-10
Watchers 33 2026-11-10
Open issues 66 2026-11-10
Open PRs 59 2026-11-10