# switchAILocal ## Docs - [Failover & Load Balancing](https://ail.traylinx.com/advanced/failover.md): Automatic credential rotation, quota handling, and intelligent provider failover - [Lua Plugin System](https://ail.traylinx.com/advanced/lua-plugins.md): Intercept and modify requests and responses in real-time with sandboxed Lua scripts - [Payload Injection](https://ail.traylinx.com/advanced/payload-injection.md): Apply default parameters and override model request payloads globally - [State Box](https://ail.traylinx.com/advanced/state-box.md): Secure, centralized state management with automatic permission hardening - [Authentication](https://ail.traylinx.com/api/authentication.md): Secure your API with Bearer tokens and access control - [Auto-Routing](https://ail.traylinx.com/api/auto-routing.md): Intelligent provider selection for optimal cost and performance - [Chat Completions](https://ail.traylinx.com/api/chat-completions.md): Send messages and receive AI-generated responses - [CLI Attachments](https://ail.traylinx.com/api/cli-attachments.md): Pass files and folders to CLI providers for context-aware AI interactions - [Embeddings](https://ail.traylinx.com/api/embeddings.md): Generate vector embeddings for text inputs - [Configuration Management](https://ail.traylinx.com/api/management/config.md): Manage server configuration and settings programmatically - [Management API Overview](https://ail.traylinx.com/api/management/overview.md): Programmatic access to server configuration and intelligent systems - [Provider Management](https://ail.traylinx.com/api/management/providers.md): Manage AI provider credentials, test connectivity, and discover models - [Models](https://ail.traylinx.com/api/models.md): List and discover available AI models from all providers - [API Overview](https://ail.traylinx.com/api/overview.md): OpenAI-compatible API gateway for unified AI provider access - [Provider Prefixes](https://ail.traylinx.com/api/provider-prefixes.md): Route requests to specific AI providers using model prefixes - [WebSocket](https://ail.traylinx.com/api/websocket.md): Real-time bidirectional streaming for AI interactions - [Heartbeat Commands](https://ail.traylinx.com/cli/heartbeat.md): Monitor provider health, check quotas, and discover available models - [Hooks Commands](https://ail.traylinx.com/cli/hooks.md): Configure event-driven automation and custom webhooks - [Learning Commands](https://ail.traylinx.com/cli/learning.md): Analyze routing patterns and apply learned optimizations - [Login Commands](https://ail.traylinx.com/cli/login.md): Authenticate with various AI providers using OAuth and other methods - [Memory Commands](https://ail.traylinx.com/cli/memory.md): Manage routing history, user preferences, and analytics data - [Server Command](https://ail.traylinx.com/cli/server.md): Start the switchAILocal proxy server with comprehensive configuration options - [Steering Commands](https://ail.traylinx.com/cli/steering.md): Configure runtime model routing rules and fallback behaviors - [Architecture](https://ail.traylinx.com/concepts/architecture.md): Understanding switchAILocal core architecture and components - [Authentication](https://ail.traylinx.com/concepts/authentication.md): Understanding authentication flows and credential management - [Providers](https://ail.traylinx.com/concepts/providers.md): Understanding provider types and implementations in switchAILocal - [Routing Strategies](https://ail.traylinx.com/concepts/routing.md): How switchAILocal routes requests and selects credentials - [Configuration Overview](https://ail.traylinx.com/configuration/overview.md): Complete guide to configuring switchAILocal - [Provider Configuration](https://ail.traylinx.com/configuration/providers.md): Configure API keys and settings for cloud and local AI providers - [Security Configuration](https://ail.traylinx.com/configuration/security.md): Configure API authentication, management access, and TLS security - [Server Configuration](https://ail.traylinx.com/configuration/server.md): Configure host, port, TLS, logging, and core server behavior - [Basic Usage Examples](https://ail.traylinx.com/examples/basic-usage.md): Common patterns for using switchAILocal with various providers - [Intelligent Routing with Cortex](https://ail.traylinx.com/examples/intelligent-routing.md): Automatic model selection using the Cortex Router plugin - [Multi-Provider Patterns](https://ail.traylinx.com/examples/multi-provider.md): Advanced patterns for using multiple AI providers with intelligent failover - [Streaming Responses](https://ail.traylinx.com/examples/streaming.md): Real-time streaming for chat completions and long-running tasks - [Docker Deployment](https://ail.traylinx.com/guides/docker-deployment.md): Deploy switchAILocal using Docker and Docker Compose - [Management Dashboard](https://ail.traylinx.com/guides/management-dashboard.md): Use the web-based control panel to configure and monitor switchAILocal - [Provider Setup Guide](https://ail.traylinx.com/guides/setup-providers.md): Configure AI providers to work with switchAILocal - [Troubleshooting Guide](https://ail.traylinx.com/guides/troubleshooting.md): Solutions for common issues and error messages - [Installation](https://ail.traylinx.com/installation.md): Complete installation guide for switchAILocal - [Cortex Router](https://ail.traylinx.com/intelligent-systems/cortex-router.md): Intelligent request routing with multi-tier classification and semantic matching - [Heartbeat & Monitoring](https://ail.traylinx.com/intelligent-systems/heartbeat.md): Health checks, system monitoring, and operational commands - [Memory System](https://ail.traylinx.com/intelligent-systems/memory.md): Persistent learning from routing decisions and user preferences - [Superbrain](https://ail.traylinx.com/intelligent-systems/superbrain.md): Autonomous self-healing AI orchestrator with real-time monitoring and failure recovery - [Introduction](https://ail.traylinx.com/introduction.md): One local endpoint. All your AI providers. - [Quickstart](https://ail.traylinx.com/quickstart.md): Get switchAILocal running in 5 minutes - [Custom Embedding Providers](https://ail.traylinx.com/sdk/embedding/custom-providers.md): Integrate your own embedding models with switchAILocal - [Embedding SDK Overview](https://ail.traylinx.com/sdk/embedding/overview.md): Local embedding generation for semantic search and intelligent routing - [Using the Embedding SDK](https://ail.traylinx.com/sdk/embedding/usage.md): Generate embeddings and compute semantic similarity in Go - [Go SDK](https://ail.traylinx.com/sdk/go.md): Embed switchAILocal directly in your Go applications for full control - [Node.js SDK](https://ail.traylinx.com/sdk/nodejs.md): Use switchAILocal with the OpenAI Node.js SDK for seamless AI provider access - [Python SDK](https://ail.traylinx.com/sdk/python.md): Use switchAILocal with the OpenAI Python SDK for seamless AI provider switching