Unified AI System 0.4.0: one-command Codex MCP gateway with local prompt enhancement #36162
happy520ai
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I wanted a way to exercise an AI gateway from Codex before configuring a paid model provider or placing credentials in the runtime.
I built that path into Unified AI System, an Apache-2.0, terminal-first self-hosted gateway. Version
0.4.0now adds deterministic, provider-free prompt enhancement and a complete Codex plugin bundle.The smallest direct MCP path is still one anonymous container command:
Restart Codex, then use
/mcpto inspect nine tools:gateway_health,gateway_readiness,gateway_prompt_enhance,gateway_chatknowledge_readinessworkflow_health,workflow_actionsworkforce_health,workforce_agentsThe new
gateway_prompt_enhancetool turns a rough English or Chinese request into a structured prompt locally. It preserves the original request, reports the detected language and selected profile, and makes no provider call. Applying that enhanced prompt to chat remains explicit; ordinary chat behavior is unchanged.A useful first Codex task is:
For the complete Codex bundle, the repository is also a plugin marketplace source:
After restarting the ChatGPT desktop app, open Plugins from ChatGPT Work or Codex, choose the Unified AI System marketplace, and install the plugin. The bundle adds the focused gateway skill and starts the credential-free MCP runtime in an isolated container.
The default path is intentionally constrained:
0.4.0multi-platform image digest, disables container networking, and drops Linux capabilities.Container-level verification still matters here. An early image launched through a package-manager wrapper whose lifecycle banner reached stdout before JSON-RPC and broke the stdio stream; source tests did not expose it. The current verifier exercises the published image's real default command through initialization, tool discovery, every documented tool, fake execution, and process cleanup.
Current evidence and guides:
This is an unofficial public engineering preview and is not affiliated with or endorsed by OpenAI. Real-provider access remains a separate explicit configuration and authorization path; this is not a production-readiness, L5-autonomy, or AGI claim.
For people using Codex with operational MCP servers, I would value feedback on two questions:
If the direction is useful, testing, feedback, or a Star would help other Codex users discover it.
All reactions