Suna Docs
Self Hosting Guide
Get the platform running in minutes with our automated setup wizard
What You Need First
Before we start, make sure you have these installed:
- Python 3.11+ - The setup wizard is written in Python
- Docker - For running Redis and the full platform
- Git - To clone the repository
- Node.js 18+ - Only needed if you choose manual setup
Step 1: Clone and Enter
Get the code and navigate to the project directory:
git clone https://github.com/bilibili/Index-anisora.gitcd Index-anisoraStep 2: Run the Setup Wizard
Start the interactive setup wizard:
python setup.pyThe wizard will ask you to choose between two setup methods:
Step 3: Provide Your Credentials
The wizard will walk you through configuring these services in 17 steps. Don't worry - it saves your progress!
Required Services
Self-hosted option available. Handles user data, conversations, and agent configs.
Get it at: supabase.com
Provides secure environments for agents to run code safely.
Get it at: daytona.io
Choose from OpenAI, Anthropic, Google Gemini, or OpenRouter.
Use Sonnet for the best results.
Tavily for search, Firecrawl for web scraping.
Get Tavily at: tavily.com
Get Firecrawl at: firecrawl.dev
Optional Services
Makes code editing much better. Highly recommended but not required.
Enables extra tools like LinkedIn scraping. Skip for now if you want.
Tool integrations and workflows.
Step 4: Database Setup
The wizard will offer to set up your Supabase database automatically. This requires the Supabase CLI:
If you let the wizard handle it, it will:
- Link your project to your Supabase instance
- Push all necessary database migrations
- Set up tables, functions, and security rules
Important: After the migrations, you'll need to manually expose the 'basejump' schema in your Supabase dashboard:
- Go to Project Settings → Data API → Exposed schemas
- Check the 'basejump' box
- Save
Step 5: Start Kortix
If you chose Docker setup:
The wizard automatically starts everything for you! After setup completes:
# Check if everything is runningdocker compose ps# Follow the logs to see what's happeningdocker compose logs -f# Stop everything when you're donedocker compose downIf you chose manual setup:
You'll need to start each service in separate terminals:
Terminal 1 - Infrastructure:
docker compose up redis -dTerminal 2 - Frontend:
cd frontend && npm run devTerminal 3 - Backend API:
cd backend && uv run api.pyTerminal 4 - Background Worker:
cd backend && uv run dramatiq run_agent_backgroundYou're Done! 🎉
Once all services are running, open your browser and go to:
You should see the Kortix dashboard where you can start chatting with Suna or create your own agents.
python setup.py again and it'll pick up where you left off.