{"repo":"PrefectHQ/marvin","free":true,"listed":false,"github":"https://github.com/PrefectHQ/marvin","clone":"git clone https://github.com/PrefectHQ/marvin.git","description":"an ambient intelligence library","language":"Python","stars":6190,"topics":["ai","chatbots","gpt","llm","python","ambient-ai","agents","nli","structured-outputs"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"Marvin 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: - Cast, classify, extract, and generate structured data from any inputs. - Create discrete, observable tasks that describe your objectives. - Assign one or more specialized AI agents to each task. - Combine tasks into a thread to orchestrate more complex behaviors. Installation Marvin is available on PyPI: Configure your LLM provider (Marvin uses OpenAI by default but natively supports all Pydantic AI models): Example Marvin offers a few intuitive ways to work with AI: Structured-output utilities 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 marvin.extract Extract native types from unstructured input: marvin.cast Cast unstructured input into a structured type: marvin.classify Classify unstructured input as one of a set of predefined labels: marvin.generate Generate some number of structured objects from a description: Agentic control flow marvin 3.0 introduces a new way to work with AI, ported from ControlFlow. marvin.run A simple way to run a task: output In silicon minds, we dare to dream, A world where code and thoughts redeem. Intelligence crafted by humankind, Yet with its heart, a world to bind. Neurons of metal, thoughts of light, A dance of knowledge in digital ","default_branch":null,"files":null,"tree":[],"storefront":"/r/PrefectHQ","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PrefectHQ/marvin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}