Get Started
Quickstart
Build your first AI application in less than a minute
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:
- Use quick one-liners with
marvin.run()
- Work with specialized agents using
agent.run()
- Control tasks directly with
task.run()
- 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: