Skip to main content
Open Source · Self-Hosted · v0.20.0

Your AI
Command
Center.

Mosaic Stack orchestrates every model, agent, and service from a single self-hosted platform. Coordinate autonomous AI workflows with full control over your data.

Gateway ONLINE
Active Agents 12
Orchestrators 3 running
Token Usage 1.2M / 5M
Latency P99 47ms
Providers 14 configured
Matrix Bridge CONNECTED
Federation 2 nodes
Gateway ONLINE
Active Agents 12
Orchestrators 3 running
Token Usage 1.2M / 5M
Latency P99 47ms
Providers 14 configured
Matrix Bridge CONNECTED
Federation 2 nodes
Features

Every Piece of the Mosaic

Nine capabilities that compose a complete self-hosted AI infrastructure. Each tile a different color. Together, a unified picture.

Multi-Provider LLM Gateway

Unified API for OpenAI, Anthropic, Ollama, vLLM, and 10+ more. Automatic failover, load balancing, and cost tracking through a single endpoint.

Agent Orchestration

Coordinator → Orchestrator → Agent hierarchy. Define pipelines, manage state, monitor autonomous execution.

Knowledge Management

RAG pipelines with vector storage. Ingest docs, code, and data — query through natural language.

Data Sovereignty

Your data on your hardware. GDPR compliance, encryption at rest, audit logging for every request.

Federation

Connect Mosaic instances across environments. Home and work, always separated, always unified.

Matrix Bridge

Native Matrix protocol integration. Chat with AI agents through any Matrix client. Streaming responses, threads, E2E encryption.

Voice Interface

Whisper, Piper, and cloud STT/TTS. Voice-first interactions with your agents and workflows.

Multi-Tenant

Isolated workspaces with RBAC. Per-tenant quotas, billing, and model access.

Production Monitoring

Real-time dashboards for latency, throughput, error rates, and cost. Prometheus/Grafana integration with alerting, anomaly detection, and SLA tracking.

Architecture

Hierarchical Control

A Coordinator → Orchestrator → Agent hierarchy that scales from solo projects to enterprise-wide AI operations.

Coordinator
Mission Control
Top-level oversight · Goal decomposition
Orchestrator
Project Alpha
Task delegation · State management
Orchestrator
RAG Pipeline
Document ingestion · Index builds
Agent
Code Writer
Claude · Active
Agent
Reviewer
GPT-4o · Active
Agent
Embedder
Ollama · Idle
Deploy

Three Commands. Running.

From bare metal to operational AI in minutes. Docker-first, configuration-light, production-ready.

$git clone https://git.mosaic.dev/mosaic/stack.git
$cd stack && cp .env.example .env
$docker compose up -d
# Your mosaic is running.

✔ Gateway listening on :8080
✔ Dashboard at :3000
✔ Matrix bridge connected
✔ 14 providers configured
Community

Join the Pattern

Built by a community that believes AI infrastructure should be open, auditable, and self-hosted.

Source Code

Browse, fork, and contribute on our self-hosted Gitea.

git.mosaic.dev

Matrix Chat

Real-time discussions and support on our Matrix space.

#mosaic:matrix.org

Documentation

Guides, API reference, tutorials, architecture deep-dives.

mosaicstack.dev/docs

Contributing

Every contribution adds a new tile to the mosaic.

CONTRIBUTING.md

Ready to Build
Your Mosaic?

Three commands to a running AI platform. Open source, self-hosted, yours to control.