Welcome to the Flux documentation. This directory contains detailed guides and reference material for the Universal LLM Provider Runtime.
- Architecture — System architecture, data flow, and design decisions
- Host-Engine Boundary — Stable
engine/llm/graph/toolscontract - Flux Enterprise — Enterprise surfaces
- Provider Setup Guide — How to configure credentials and providers
- Dynamic Model Discovery — Architecture and implementation details for live model discovery
- OpenAPI — HTTP surface (
/v1/chat/completions,/rerank,/ready,/health)
- README — Project overview and quick start
- Contributing Guide — How to contribute to Flux
- Security Policy — Security reporting and best practices
- Changelog — Version history and release notes
The examples/ directory contains runnable code samples:
- Basic Chat — Simple synchronous chat with a single provider
- Streaming — Server-sent events streaming with continuation
- Multi-Provider — Using fallback chains across multiple providers
docs/
├── README.md # This file
├── ARCHITECTURE.md # System architecture
├── architecture/HOST-ENGINE-BOUNDARY.md
├── design/FLUX-ENTERPRISE.md
├── api/openapi.yaml # POST /v1/chat/completions, POST /rerank, GET /ready
└── guides/
├── CREDENTIAL-SETUP-FLOW.md
├── DYNAMIC-MODEL-DISCOVERY.md
├── RETRY-FALLBACK.md # (planned) backoff, fallback chains, circuit breaker
├── CACHING-AUDIT.md # (planned) cache backends, audit sinks
└── ROUTING-STRATEGIES.md # weighted, latency, cost-based
If you're contributing to Flux:
- Read CONTRIBUTING.md for development setup
- Review ARCHITECTURE.md to understand the system
- Check AGENTS.md for AI agent context and conventions
- Run
make cilocally before submitting PRs
If you're using Flux in your application:
- Start with the Quick Start in the main README
- Review the Usage examples for common patterns
- Check the examples/ directory for complete code samples
- Read the Provider Setup Guide for credential configuration
API documentation is available at:
- pkg.go.dev — Generated Go documentation
- ARCHITECTURE.md — Core abstractions and interfaces
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Security: See SECURITY.md for vulnerability reporting