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:Configure Supabase
Set up your Supabase project:
- Project URL
- Anon key
- Service role key
- JWT secret (critical for authentication)
- Database connection URL
Configure Daytona
Enter your Daytona API key for agent execution environments.Get your key from app.daytona.io/keys
Select Main LLM Provider
Choose your primary LLM provider:
- Anthropic Claude
- AWS Bedrock
- Grok via OpenRouter
- OpenAI via OpenRouter
- MiniMax via OpenRouter
- Custom model
Configure Optional Services
Optionally configure:
- Additional LLM providers
- Search APIs (Tavily, Firecrawl, Serper, Exa)
- RapidAPI
- Webhooks
- MCP (Model Context Protocol)
Configure Composio
Enter your Composio API key (required for tool integrations).Get your key from app.composio.dev/settings/api-keys
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
Access Frontend
Open http://localhost:3000 in your browser.
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