Skip to content
Leandro edited this page Nov 27, 2026 · 5 revisions

Paladio Technical Wiki

Self-Hosted Travel Intelligence & Combinatorial Optimization Deterministic C++20 routing (paladio_core) • 9-node LLM-free LangGraph swarm • CPU ONNX semantic search (fastembed) • TimescaleDB Deal Engine • Optional 13-provider AI assistant and 82-tool MCP server.

Platform architecture overview

Paladio isolates probabilistic conversational interfaces from deterministic route math so travel times, opening hours, meal spacing, and budget limits remain provably valid across every edit.

flowchart LR
    Client["Next.js 16 + React 19 UI"] <-->|"REST & WebSockets"| API["FastAPI Gateway"]
    MCPClient["External MCP Clients"] <-->|"Streamable HTTP / stdio"| MCP["FastMCP Server (82 tools)"]

    subgraph Core["Deterministic Trip Engine (Zero LLM)"]
        Swarm["9-Node LangGraph Swarm"] --> Pipe["8-Stage Itinerary v2 Pipeline"]
        Pipe --> RAG["CPU ONNX fastembed + Hybrid RRF"]
        Pipe --> CPP["C++20 paladio_core (TCOPTW / TSPTW)"]
    end

    subgraph OptionalAI["Optional Chat Assistant"]
        Agent["TripAgentRunner (13 LLM Providers)"] --> MCP
    end

    API <--> Core
    API <--> OptionalAI
    API <--> Storage["PostgreSQL 16 + TimescaleDB + pgvector"]
    API <--> Redis["Redis 7 Broker & Pub/Sub"]
    Worker["Celery Worker & Beat"] <--> Storage
    Worker <--> Redis
    API <--> Valhalla["Valhalla Street & Transit Router"]
    Worker <--> Valhalla
Loading

Documentation navigator

Section Pages
Getting Started • [[Install with Docker
User Guide • [[Control Center & Taste Star
Self-Hosting • [[Configuration & Env Vars
Architecture • [[System Overview
Reference • [[REST API (FastAPI)
Contributing • [[Developer Guide

Quickstart with Docker Compose

Launch the 8-service stack (api, frontend, db, redis, valhalla, worker, beat, plus one-shot migrate) with a single command (generates .env secrets and downloads prebuilt multi-arch GHCR images):

curl -fsSL https://raw.githubusercontent.com/Leandro-Juan/paladio/main/scripts/install/install.sh | bash

Read Install with Docker for hardware sizing, Windows PowerShell instructions, database migrations, and /setup provisioning.

Portals and links

Clone this wiki locally