Unified AI System is an open-source, self-hosted AI gateway and MCP server designed to provide teams with a unified entry point for AI calls. It routes requests to OpenAI, Anthropic, Gemini, and A2A agents through an OpenAI-compatible API and emphasizes a protocol-first design philosophy.
Main capabilities include: deterministic prompt enhancement (turning rough requests into structured, reviewable prompts), virtual keys and token budget management, exact response caching (with an optional lexical approximate-similarity layer), reverse MCP governance (supporting REST-to-MCP generation), operations-oriented observability, audit chains, and agent governance. The gateway also provides governed MCP tools (the current source build includes 15) and supports access control through authentication and permission scopes.
For usage, the project provides multiple entry points: OpenAI-compatible SDK, CLI, HTTP API, MCP, A2A, and more. Users can quickly try it via a Docker image or source checkout. The zero-key path uses a fake provider for local execution, requiring no API key or account to verify functionality. For example, running a single command starts an isolated fake-provider gateway, enhances the request locally, prints the structured prompt, and then automatically cleans up. The project also provides a browser Prompt Lab that can load real requests and render enhanced prompts locally, with no account or API key required.
Applicable scenarios include: teams that need unified management of calls to multiple AI providers, developers who want to develop and test without exposing real keys, organizations that need auditing and governance of AI agent behavior, and teams that want to provide prompt enhancement capabilities for colleagues who are not good at writing prompts.
Limitations: The project is currently in public preview, and cross-host high availability and third-party manual penetration testing are not yet claimed to be supported. On Apple Silicon, the published arm64 image contains x86-64 native modules, which may cause demos to fail (issue #190). The governed JSON transaction path currently supports only Claude-compatible, Cursor, and VS Code configuration files; other MCP, A2A, or HTTP clients require explicit adapter/principal binding and reproducible authentication reports. Users are responsible for provider staging validation and scope authorization.