#6464th of 82 in Agent frameworks and SDKs

marvin

Python framework for structured LLM outputs and task-based agent workflows

Stars
6.2k
License
Apache-2.0
Last commit
Oct 2026
Last release
Oct 2026
Language
Python
Stars, last 30 weeks+132
3 Apr 2026: 6,075 stars10 Apr 2026: 6,089 stars17 Apr 2026: 6,099 stars24 Apr 2026: 6,107 stars1 May 2026: 6,113 stars8 May 2026: 6,118 stars15 May 2026: 6,126 stars22 May 2026: 6,128 stars29 May 2026: 6,133 stars5 Jun 2026: 6,138 stars12 Jun 2026: 6,143 stars19 Jun 2026: 6,147 stars26 Jun 2026: 6,151 stars3 Jul 2026: 6,155 stars10 Jul 2026: 6,159 stars17 Jul 2026: 6,161 stars24 Jul 2026: 6,163 stars31 Jul 2026: 6,166 stars7 Aug 2026: 6,169 stars14 Aug 2026: 6,172 stars21 Aug 2026: 6,175 stars28 Aug 2026: 6,176 stars4 Sept 2026: 6,179 stars11 Sept 2026: 6,184 stars18 Sept 2026: 6,185 stars25 Sept 2026: 6,187 stars2 Oct 2026: 6,194 stars9 Oct 2026: 6,199 stars16 Oct 2026: 6,202 stars23 Oct 2026: 6,205 stars30 Oct 2026: 6,207 stars

6,075 on 3 Apr 20266,207 on 30 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Marvin is a Python library that turns LLM calls into typed results (extract, cast, classify, generate) and runs agentic workflows built from tasks, agents and threads. Version 3.0 ports the ControlFlow engine and uses Pydantic AI for model access, so it works with the providers Pydantic AI supports. Thread and message history is stored in SQLite.

Who it is for: Python developers adding typed LLM outputs and agent workflows to code

Strengths

  • Typed, validated results via Pydantic types, e.g. result_type=int or custom models
  • Works with all Pydantic AI model providers; OpenAI is the default
  • Small API: run, Task, Agent, Thread, plus extract, cast, classify, generate
  • Threads share context and history across tasks; marvin.plan breaks goals into tasks

Weaknesses

  • No database migrations yet; README says to expect resetting data on updates
  • README's tool example runs untrusted shell commands; no sandboxing described
  • 3.0 renamed ControlFlow concepts (Flow to Thread, @flow removed), so migration is needed
  • No web UI or deployment tooling in README; observability is console output

What it needs

  • no GPU
  • Needs LLM provider API key (OpenAI by default), SQLite (thread history)
  • Models: OpenAI, Anthropic, All Pydantic AI models

Quick answers

Is marvin open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Does marvin need a GPU?

No, it runs without one.

Also in Agent frameworks and SDKs

See all 82
Also in Agent frameworks and SDKs
RankProjectScore
1ppt-masterAgent skill that turns documents into natively editable PowerPoint decks Live demo ↗ (opens in a new tab)72k starsMIT95 out of 100
2openai-agents-pythonPython SDK for multi-agent workflows with handoffs, guardrails and tracing30.4k starsMIT90 out of 100
3langchainPython framework for building LLM agents and apps from interoperable components148.8k starsMIT89 out of 100
#4browser-usePython library that lets an LLM agent control a web browser Live demo ↗ (opens in a new tab)119.7k starsMIT89 out of 100
#5tradingagentsMulti-agent LLM framework that simulates a trading firm's analysis process Live demo ↗ (opens in a new tab)119.3k starsApache-2.089 out of 100