I build terminal-first infrastructure for models, agents, knowledge, and tools, with explicit human control at every real-provider boundary.
陈炯炯,正在构建开放、终端优先、可治理,并始终由人掌握最终控制权的 AI 基础设施。
Unified AI System is an Apache-2.0 self-hosted AI gateway for OpenAI-compatible SDKs, MCP, A2A, CLI, and HTTP workflows — with the feature set you'd expect from a commercial LLM gateway: virtual keys with token budgets, exact + semantic response caching, reverse MCP governance (any OpenAPI 3 spec becomes governed MCP tools), and chat-native Prometheus/Langfuse observability.
Open a ready-to-run prompt-enhancement example. It runs locally in the browser with no account, API key, or provider call.
Or run the full gateway in 60 seconds — no clone, no credentials:
docker run --rm ghcr.io/happy520ai/unified-ai-system/ai-gateway-service:0.5.0 pnpm gateway demo "Build a small API for my team" --enhance --profile coding- Virtual keys (
uai-) with daily/monthly token budgets, per-key rate limits, soft-budget alerts, spend attribution, and instant revocation — consumers never hold provider keys. - Exact + semantic response cache on the chat hot path with byte-identical SSE replay and per-tenant isolation.
- Reverse MCP governance: aggregate upstream MCP servers (HTTP + stdio) behind one authenticated, audited, allow-listed surface; REST→MCP from any OpenAPI 3 spec.
- The credential-free fake provider is the default; real-provider calls require explicit three-gate enablement and authorization.
- A repeatable 16-attack live security regression (cross-tenant cache reads, tenant forgery, budget bypass...) must stay green for every release.
Install the repository plugin:
codex plugin marketplace add happy520ai/unified-ai-system --ref masterOr connect the pinned MCP container:
codex mcp add unified-ai-system -- docker run --rm -i ghcr.io/happy520ai/unified-ai-system/mcp-server:0.5.0Project site | 中文 README | Release v0.5.0 | Good first issues
If the project saves setup time or gives an agent workflow a safer gateway, star the repository so more developers can discover and verify it.
Unified AI System is an engineering preview. Production readiness, L5 autonomy, and AGI are not claimed without independent evidence.

