Responses provider
Add a custom provider in ~/.codex/config.toml and run codex as usual.
INTEGRATIONS · CODEX
Add Redgold to Codex as a Responses provider, as an MCP server, or both. Codex keeps your repository, commands, and approvals; Redgold adds models, data tools, search, browsers, and remote builds.
Add a custom provider in ~/.codex/config.toml and run codex as usual.
Add an mcp_servers entry that reads the key from an environment variable.
Install rac for web search, a managed browser, and remote Rust and UI builds from inside a Codex session.
Make REDGOLD_API_KEY available in the environment that starts Codex. The configuration names the variable and does not store its value. Replace redgold-flint with another Responses-compatible model from /v1/models when you need to.
model = "redgold-flint"
model_provider = "redgold"
[model_providers.redgold]
name = "Redgold"
base_url = "https://api.redgold.ai/v1"
env_key = "REDGOLD_API_KEY"
wire_api = "responses"You can add the MCP server and keep your current model provider. Restart Codex, then ask it to list the Redgold tools.
[mcp_servers.redgold]
url = "https://api.redgold.ai/api/mcp"
bearer_token_env_var = "REDGOLD_API_KEY"Codex is good at editing code and weak at anything that needs a browser, fresh web results, or a large build. The setup prompt asks your agent to install rac and its skills, keep your existing instructions and model settings, and report what access each tool still needs.