Skip to main content

Build production backends with a single primitive

Motia unifies APIs, background jobs, workflows, AI agents, streaming, and state management into one framework. Write Steps in TypeScript, JavaScript, or Python.

Quick start

Get Motia up and running in under 60 seconds

1

Install the Motia CLI

Install the CLI to create and manage Motia projects:
brew tap MotiaDev/tap
brew install motia-cli
2

Create a new project

Bootstrap a new Motia project with your preferred language:
motia-cli create my-app
The CLI will auto-detect and install the iii engine if needed.
3

Start the iii engine

Inside your project folder, start the iii engine:
iii -c iii-config.yaml
That’s it! You now have REST APIs, background jobs, and event-driven architecture with zero configuration.

Explore by topic

Learn about Motia’s core concepts and features

Steps

The core primitive that unifies all backend patterns

Triggers

HTTP, Queue, Cron, State, and Stream event sources

Context

Access logging, state, streaming, and invocation APIs

State Management

Built-in reactive state with automatic persistence

Real-time Streaming

WebSocket-based real-time data streaming

AI Agents

Build multi-agent workflows with LLM integration

Build with Motia

Practical guides for common use cases

Building APIs

Create REST APIs with automatic validation and routing

Background Jobs

Process queued tasks with retry logic and dead letter queues

Real-time Streaming

Stream data to clients with WebSocket connections

AI Integration

Build AI-powered features with multi-agent orchestration

Examples and resources

Learn from real-world examples and connect with the community

Example Projects

Browse tutorials and advanced examples

iii Engine

Learn about the Rust-powered orchestration engine

GitHub Repository

Explore the source code and contribute

Discord Community

Join the community and get support

Ready to get started?

Create your first Motia project and build a production-ready backend in minutes.

Start Building