Grodmir — Codex CLI gateway for the Responses API
Connect Codex CLI to a self-hosted Grodmir model provider for inspection of requests sent through the Responses API. Review virtual-key configuration, repository rules and the limits of gateway coverage.
Grodmir is an AI gateway for data protection and AI usage governance in organisations.
How does Codex use the AI gateway?
Grodmir is an AI gateway for Codex through a configured model provider using the Responses API and a virtual key in AIGUARD_KEY. Merge the repository configuration template into your local Codex configuration.
What has been verified?
Codex CLI was tested against a live gateway, including gateway-side repository rules. No Codex file-access hook is shipped. The model destination must support Responses; direct provider configuration bypasses this gateway.
Which Codex provider settings route requests through Grodmir?
Merge the repository configuration template into the local Codex configuration, select the Grodmir model provider and set its base_url to the customer gateway API endpoint. The provider uses wire_api set to responses and env_key set to AIGUARD_KEY; keep the Grodmir virtual key in that environment variable. The selected model destination must support the Responses API. Choosing another provider or endpoint can bypass this connection.
Does the Codex gateway prevent local file access or direct MCP calls?
No Codex file-access hook is shipped. Gateway-side repository rules evaluate the requests that actually reach Grodmir; they do not prevent a local command from reading a file. Pass repository headers for the intended project so its markers and excluded paths can be checked at the gateway. Direct MCP connections are a separate channel and need their own Grodmir MCP proxy or central gateway configuration.
- Grodmir — self-hosted AI gateway
- Grodmir — Prompt DLP for sensitive AI data
- Grodmir — MCP proxy for tool data protection
- Grodmir — self-hosted MCP gateway with SSO and tool policies
- What do the Grodmir categories mean?
- Grodmir — AI gateway selection criteria
How can you verify this behaviour?
Content updated:
Protection covers connected-channel traffic only; detection can miss data and raise false alarms. Grodmir — AI gateway protection limits
Categories: AI gateway · Prompt DLP · MCP proxy · AI usage governance