mastra
★ 29.4kAbout
Community Ratings
No ratings yetNew this week
Read recap →Features
- model routing
- agents
- workflows
- human-in-the-loop
- context management
- integrations
- MCP servers
- evals
- observability
- Mastra Studio
Details
- Last Updated
- Nov 10, 2026
- Created
- Aug 6, 2024
- Install Methods
- package-managersource
- Requirements
- Node.jsnpm
- Default Port
- 4111Mastra Studio
- API
- REST
- Privacy & Independence
- Cloud: Optional
- Deployment
Deployment: Docker Compose ✓2 Containers — light hosting footprintRuns as 2 containers
Run mastra yourself
Pick how much you want to manage.
netcupBest match
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
Hetzner
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
DigitalOcean
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
1 more way to host
Some links earn us a commission. netcup pays us one and is our preferred VPS host.
Is this your project? Sponsor a listing
Run mastra with Docker Compose
Compose file from the mastra project repository.
2 services · infra: redis · 1 unclassified (inngest)
no resource limits declared
examples/durable-agents/docker-compose.yaml · @ 2ca9e35 · scanned Nov 3, 2026
version: '3'
services:
redis:
image: redis:8
ports:
- '6379:6379'
inngest:
image: inngest/inngest:v1.34.0
command: inngest dev -p 8288 -u http://host.docker.internal:4111/inngest/api --poll-interval=1
ports:
- '8288:8288'
extra_hosts:
- 'host.docker.internal:host-gateway'
This file may be out of date. Check the mastra documentation for current setup steps.
Open-source health
Tags
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.
Alternatives to mastra
Trigger.dev
flue
Langflow
Dify.ai
n8n
Flowise
Sim Studio
omnara
AutoGPT
Related Software
Composio
Langfuse
Agenta
bolt.diy
Lobe Chat
HuggingFace Chat UI
onecli
Letta

goose
Pi
