Prerequisites
Before starting, ensure you have:- Git installed
- Docker installed and running (check with
docker --version) - For manual setup: Node.js 18+, Python 3.11+, pnpm, and uv
Clone the Repository
First, clone the Kortix repository:Setup Methods
Kortix offers two setup methods. The setup wizard will guide you through choosing one.Docker Setup
Best for: Production deployments, quick testing, users who prefer containerized environments Pros:- Fastest setup
- Isolated environments
- Easy updates and rollbacks
- Consistent across different systems
- Limited to cloud Supabase only (local Supabase not supported)
- Slightly higher resource usage
Manual Setup
Best for: Development, customization, debugging Pros:- Full control over each service
- Easier to debug and modify
- Better for development workflows
- Lower resource overhead
- More complex setup
- Requires managing multiple processes
- Limited to cloud Supabase only
Run the Setup Wizard
The interactive setup wizard configures all required services:What the Wizard Does
The wizard guides you through these steps:1
Choose Setup Method
Select between Docker Compose or Manual setup based on your needs.
2
Check Requirements
Verifies all required tools are installed (Git, Docker, Node.js, etc.).
3
Configure Supabase
Set up your Supabase project:
- Project URL
- Anon key
- Service role key
- JWT secret (critical for authentication)
- Database connection URL
4
Configure Daytona
Enter your Daytona API key for agent execution environments.Get your key from app.daytona.io/keys
5
Select Main LLM Provider
Choose your primary LLM provider:
- Anthropic Claude
- AWS Bedrock
- Grok via OpenRouter
- OpenAI via OpenRouter
- MiniMax via OpenRouter
- Custom model
6
Configure Optional Services
Optionally configure:
- Additional LLM providers
- Search APIs (Tavily, Firecrawl, Serper, Exa)
- RapidAPI
- Webhooks
- MCP (Model Context Protocol)
7
Configure Composio
Enter your Composio API key (required for tool integrations).Get your key from app.composio.dev/settings/api-keys
8
Write Configuration Files
The wizard automatically creates:
backend/.env- Backend configurationapps/frontend/.env.local- Frontend configuration.setup_progress- Resume data (can be deleted after setup)
The wizard saves progress after each step. If interrupted, just run
python setup.py again to resume.Start Services
After completing the setup wizard, start Kortix:Start Script Options
The start script automatically detects your setup method:Docker Setup
If you chose Docker Compose, services start automatically:- Redis - Message queue and caching (port 6379)
- Backend - API server (port 8000)
- Frontend - Web interface (port 3000)
Docker Commands
Manual Setup
If you chose Manual setup, the start script launches services in the background:- Redis (Docker container)
- Backend (native process, logged to
backend.log) - Frontend (native process, logged to
frontend.log)
Manual Commands
View logs:Access Kortix
Once all services are running:- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Docs: http://localhost:8000/docs
Verify Installation
1
Check Service Status
2
Access Frontend
Open http://localhost:3000 in your browser.
3
Create Account
Sign up with your email. Supabase handles authentication.
4
Test Agent
Try the Kortix Super Worker agent to verify everything works.
Update Configuration
To add or update API keys after initial setup:- Add/Update API Keys - Configure additional LLM providers, search APIs, etc.
- Clear setup and start fresh - Remove all configuration and restart
Next Steps
Configuration
Learn about all available configuration options
Deployment
Deploy to production environments