Overview
This document outlines the architecture powering Kodus’s infrastructure. Our system is built on a distributed architecture that leverages containerization and network segmentation to ensure maximum scalability, security, and maintainability.Networks and Key Components
The infrastructure is divided into Docker networks that separate public access from internal service traffic:- shared-network: Public-facing services and edge routing
- kodus-backend-services: Internal service-to-service communication
- monitoring-network: Metrics and observability traffic (optional)
Components
1. Kodus Web Application
Our frontend platform is built with Next.js, delivering a seamless user experience through direct communication with our API layer.2. Core Backend Services
The 2.0 stack splits backend responsibilities into dedicated services:- API: Central service layer handling business logic and request processing
- Worker: Asynchronous processing for queues and background jobs
- Webhooks: Dedicated service for Git provider webhooks
3. MCP Manager
MCP Manager catalogs providers and integrations, then exposes them to Kodus so teams can install MCPs from the Plugins screen.4. Data Stores
Kodus uses two databases:- Postgres: Relational data and embeddings metadata
- MongoDB: Flexible document storage