Multi-provider AI system with OpenAI, Anthropic, Google, and xAI — architecture, feature flags, and directory structure
Configure Anthropic, OpenAI, Google, and xAI — model aliases, auto-detection, fallback chains, and provider capabilities
Streaming SSE protocol, React hooks, API routes, chat components, and quick prompts
Knowledge base search with pgvector similarity, query rewriting, source attribution, and public access
Three-layer cost control — rate limiting, credit system, and usage tracking for AI operations