aiagent.club
中文
GitHub repo

PrefectHQ/marvin

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

#305 of 813 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-10-27
Forks 412 2026-10-27
Commits 4.0k 2026-10-27
Releases 88 2026-10-27
Watchers 33 2026-10-27
Open issues 66 2026-10-27
Open PRs 53 2026-10-27