File size: 6,503 Bytes
cd8bd0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
---
title: "OmniRoute Documentation"
version: 3.8.24
lastUpdated: 2026-06-13
---

# OmniRoute Documentation

Navigable index of the OmniRoute documentation set. Topics are grouped by intent so you can find what you need quickly.

> Looking for the project overview, install steps, or release notes? See the root [README.md](../README.md), [CHANGELOG.md](../CHANGELOG.md), and [CONTRIBUTING.md](../CONTRIBUTING.md).

---

## architecture/

How the system is put together β€” read these to understand the runtime, code layout, and resilience model.

- [ARCHITECTURE.md](architecture/ARCHITECTURE.md) β€” high-level system architecture (request pipeline, layers, modules).
- [CODEBASE_DOCUMENTATION.md](architecture/CODEBASE_DOCUMENTATION.md) β€” engineering reference for the codebase.
- [REPOSITORY_MAP.md](architecture/REPOSITORY_MAP.md) β€” directory-by-directory navigation guide.
- [AUTHZ_GUIDE.md](architecture/AUTHZ_GUIDE.md) β€” authorization pipeline (route classifier + policy engine).
- [RESILIENCE_GUIDE.md](architecture/RESILIENCE_GUIDE.md) β€” provider circuit breaker, connection cooldown, and model lockout.

## For Non-Tech Users

Simple guides for using OmniRoute β€” no technical background needed.

### getting-started/

- [QUICK-START.md](getting-started/QUICK-START.md) β€” install and run OmniRoute in 3 minutes.
- [AUTO-COMBO-GUIDE.md](getting-started/AUTO-COMBO-GUIDE.md) β€” let OmniRoute pick the best AI for you.
- [PROVIDERS-GUIDE.md](getting-started/PROVIDERS-GUIDE.md) β€” how to connect AI providers.
- [FREE-TIERS-GUIDE.md](getting-started/FREE-TIERS-GUIDE.md) β€” get free AI with no credit card.
- [TROUBLESHOOTING.md](getting-started/TROUBLESHOOTING.md) β€” fix common issues.

### guides/

- [SETUP_GUIDE.md](guides/SETUP_GUIDE.md) β€” first-time setup of OmniRoute.
- [USER_GUIDE.md](guides/USER_GUIDE.md) β€” daily usage of the dashboard and API.
- [DOCKER_GUIDE.md](guides/DOCKER_GUIDE.md) β€” running OmniRoute under Docker.
- [ELECTRON_GUIDE.md](guides/ELECTRON_GUIDE.md) β€” desktop (Electron) builds.
- [TERMUX_GUIDE.md](guides/TERMUX_GUIDE.md) β€” running on Android via Termux.
- [PWA_GUIDE.md](guides/PWA_GUIDE.md) β€” installing the dashboard as a PWA.
- [UNINSTALL.md](guides/UNINSTALL.md) β€” clean removal steps.
- [I18N.md](guides/I18N.md) β€” translation and locale workflow.
- [FEATURES.md](guides/FEATURES.md) β€” dashboard feature gallery.

## For Tech Users

Technical documentation for developers and contributors.

## reference/

Lookup material β€” API surface, environment variables, CLI flags, provider catalog.

- [API_REFERENCE.md](reference/API_REFERENCE.md) β€” REST API endpoints and shapes.
- [PROVIDER_REFERENCE.md](reference/PROVIDER_REFERENCE.md) β€” auto-generated provider catalog.
- [openapi.yaml](openapi.yaml) β€” OpenAPI 3.1 spec for the public API.
- [ENVIRONMENT.md](reference/ENVIRONMENT.md) β€” environment variables reference.
- [CLI-TOOLS.md](reference/CLI-TOOLS.md) β€” bundled CLI commands.
- [FREE_TIERS.md](reference/FREE_TIERS.md) β€” free-tier LLM provider directory.

## frameworks/

Pluggable subsystems exposed to clients, agents, and operators.

- [MCP-SERVER.md](frameworks/MCP-SERVER.md) β€” Model Context Protocol server.
- [A2A-SERVER.md](frameworks/A2A-SERVER.md) β€” Agent-to-Agent (A2A) JSON-RPC server.
- [AGENT_PROTOCOLS_GUIDE.md](frameworks/AGENT_PROTOCOLS_GUIDE.md) β€” A2A / ACP / Cloud agent overview.
- [CLOUD_AGENT.md](frameworks/CLOUD_AGENT.md) β€” cloud agent runtime and providers.
- [SKILLS.md](frameworks/SKILLS.md) β€” Skills framework (sandboxed extension).
- [MEMORY.md](frameworks/MEMORY.md) β€” persistent memory (FTS5 + Qdrant).
- [WEBHOOKS.md](frameworks/WEBHOOKS.md) β€” webhook events and dispatch.
- [EVALS.md](frameworks/EVALS.md) β€” eval suites.

## routing/

Combo routing, scoring, and replay.

- [AUTO-COMBO.md](routing/AUTO-COMBO.md) β€” Auto-Combo (9-factor scoring, 17 strategies).
- [REASONING_REPLAY.md](routing/REASONING_REPLAY.md) β€” reasoning replay flow.

## security/

Guardrails, compliance, stealth, and the mandatory patterns for handling public credentials and error messages.

- [GUARDRAILS.md](security/GUARDRAILS.md) β€” PII, prompt injection, vision guardrails.
- [COMPLIANCE.md](security/COMPLIANCE.md) β€” audit trails and compliance.
- [STEALTH_GUIDE.md](security/STEALTH_GUIDE.md) β€” TLS / fingerprint stealth.
- [PUBLIC_CREDS.md](security/PUBLIC_CREDS.md) β€” **mandatory** pattern for embedding public upstream OAuth client_id/secret + Firebase Web keys without tripping secret scanners.
- [ERROR_SANITIZATION.md](security/ERROR_SANITIZATION.md) β€” **mandatory** pattern for routing every error response through `sanitizeErrorMessage` to prevent stack-trace exposure.

## compression/

Prompt compression engines, rules, and language packs.

- [COMPRESSION_GUIDE.md](compression/COMPRESSION_GUIDE.md) β€” top-level compression overview.
- [COMPRESSION_ENGINES.md](compression/COMPRESSION_ENGINES.md) β€” available compression engines.
- [COMPRESSION_RULES_FORMAT.md](compression/COMPRESSION_RULES_FORMAT.md) β€” rule file format.
- [COMPRESSION_LANGUAGE_PACKS.md](compression/COMPRESSION_LANGUAGE_PACKS.md) β€” language packs.
- [RTK_COMPRESSION.md](compression/RTK_COMPRESSION.md) β€” RTK engine deep dive.

## ops/

Release, deployment, proxies, tunnels, coverage.

- [RELEASE_CHECKLIST.md](ops/RELEASE_CHECKLIST.md) β€” release flow checklist.
- [COVERAGE_PLAN.md](ops/COVERAGE_PLAN.md) β€” test coverage plan.
- [FLY_IO_DEPLOYMENT_GUIDE.md](ops/FLY_IO_DEPLOYMENT_GUIDE.md) β€” Fly.io deployment.
- [VM_DEPLOYMENT_GUIDE.md](ops/VM_DEPLOYMENT_GUIDE.md) β€” generic VM deployment.
- [PROXY_GUIDE.md](ops/PROXY_GUIDE.md) β€” upstream proxy configuration.
- [TUNNELS_GUIDE.md](ops/TUNNELS_GUIDE.md) β€” Cloudflare tunnel and friends.

## diagrams/

Mermaid sources and exported SVG/PNG diagrams referenced from the docs above. Populated incrementally β€” see [diagrams/README.md](diagrams/README.md).

## i18n/

Translated mirrors of the documentation in 42 locales. See [i18n/README.md](i18n/README.md) for the supported language list.

## screenshots/

Static screenshots used by the dashboard and the README. Not part of the doc body.

---

## Auto-generated artifacts

- [reference/PROVIDER_REFERENCE.md](reference/PROVIDER_REFERENCE.md) is generated by `scripts/docs/gen-provider-reference.ts` from `src/shared/constants/providers.ts`. Do not edit by hand.
- The `/docs` UI is backed by Fumadocs MDX source generation from the subfolders above.