agentleFS
PrefectHQPrefectHQ/marvin/CLAUDE.md

marvin

CLAUDE.md6.2k starsChanged 15 months agoApache-2.0View on GitHub

Marvin is a lightweight AI engineering toolkit for building natural language interfaces that are reliable, scalable, and easy to trust.

We split this CLAUDE.md into the rules it gives an agent

12 rules. About 0 are common, 4 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    use the repros folder to reproduce the results (e.g.

    line 6
  2. Distinctive:

    Aggressively minimal and elegant: Keep implementations simple and focused

    line 11
  3. Distinctive:

    Functional first: Prefer functional approaches, use classes where justified

    line 12
  4. Very specific:

    Private internals: Keep implementation details "private" (e.g.

    line 14
  5. Very specific:

    Use X | Y instead of Union[X, Y]

    line 29
  6. Very specific:

    Use builtins like list, dict instead of typing.List, typing.Dict

    line 30
  7. Very specific:

    Use uv for dependency management and script execution

    line 34
  8. Very specific:

    Run scripts: uv run some/script.py or uv run --with pandas script.py

    line 36
  9. Very specific:

    Use rg for searching, not grep

    line 40
  10. Very specific:

    Use ls and tree for navigation

    line 41
  11. Distinctive:

    Check git context with using the GitHub MCP server

    line 42
  12. Distinctive:

    Don't obsess over upstream linter errors, use as clues when relevant

    line 48

≈ “Common” is an estimate: at least 1 in 5 of the 25,680 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Marvin - AI Engineering Toolkit

Marvin is a lightweight AI engineering toolkit for building natural language interfaces that are reliable, scalable, and easy to trust.

Reproductions

  • use the repros folder to reproduce the results (e.g. uv run repros/1234.py)
  • this folder is not checked into git

Architecture & Design Philosophy

  • Aggressively minimal and elegant: Keep implementations simple and focused
  • Functional first: Prefer functional approaches, use classes where justified
  • Type-safe: Full type annotations, modern Python syntax (3.10+)
  • Private internals: Keep implementation details "private" (e.g. def _impl)

Key Components

  • Engine: Core AI interaction layer
  • Tasks: Structured AI task definitions and execution
  • Tools: Extensible function calling capabilities
  • Agents: AI agents with tool access and memory
  • Memory: Persistent conversation and context storage
  • Handlers: Event processing and routing
  • CLI: Command-line interface for common operations

Development Guidelines

Type Hints

  • Use X | Y instead of Union[X, Y]
  • Use builtins like list, dict instead of typing.List, typing.Dict
  • Use T | None instead of Optional

Dependencies & Running

  • Use uv for dependency management and script execution
  • Install deps: uv sync or uv sync --extra foo
  • Run scripts: uv run some/script.py or uv run --with pandas script.py
  • Testing: uv run pytest or uv run pytest -n3 for parallel

Finding Things

  • Use rg for searching, not grep
  • Use ls and tree for navigation
  • Check git context with using the GitHub MCP server
  • Think like a hacker with good intentions - search in site-packages when needed

Linter Philosophy

  • Empirically understand by running code
  • Linter tells basic truths but may be orthogonal to goals
  • Don't obsess over upstream linter errors, use as clues when relevant

Download now (ZIP)

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 1 mentionMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the PrefectHQ/marvin repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about PrefectHQ/marvin

The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 16

Talked about on GitHub, Bluesky and Hacker News (16 times).

On GitHub · 12

7 more on GitHub

On Bluesky · 3

On Hacker News · 1

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.