Skip to main content
Welcome to Marvin! This quickstart guide will walk you through the three main ways to use Marvin to create AI-powered applications. You’ll learn how to:
  1. Use quick one-liners with marvin.run()
  2. Work with specialized agents using agent.run()
  3. Control tasks directly with task.run()
  4. Add advanced features like context and threads
This guide assumes you have already installed marvin. See the installation docs for instructions.

Quick One-Liners

The fastest way to use Marvin is with marvin.run():

Specialized Agents

Create and use specialized agents for specific types of tasks:

Task Control

For full control over your AI workflows, create and run tasks directly:

Advanced Features

All three approaches support advanced features like context, threads, and tools:

What’s Next?

You’ve seen the main ways to work with Marvin. To learn more:
  • Read about Tasks to understand how to structure AI workflows
  • Learn about Agents to create specialized AI workers
  • Explore Threads for managing conversation context
  • Check out Models to work with structured data