# AITURK IDE Codex bridge Local HTTP proxy that AITURK IDE's **Settings → Codex Bağlama** runs for OpenAI Codex (desktop or CLI) on the same computer. Standard-library Python only; it runs on the agent venv's interpreter and keeps running after the IDE window closes, because Codex depends on it while `openai_base_url` points here. - `bridge.py`: the proxy. Subscription models go to chatgpt.com unchanged; `ide/` models go to the AITURK gateway configured in the agent's `config.yaml`, with the key read from the agent's `.env` on every catalog refresh (never written elsewhere). - `ide_catalog.py`: which IDE models and combos are added to Codex's model list and how they are named (`provider/model`, combos by bare name). - `ozet_kopru.py`: conversation summaries are produced as plain text, so a summary made by one provider stays readable after the user switches to another. - `gemini_context.py`, `resim_context.py`: request fixes for routed models. Run: `python bridge.py --home --hermes-home `. The IDE writes `/bridge.json` and reads `GET /aiturk/codex-baglama/status`; `POST /aiturk/codex-baglama/stop` ends the process. Tests: `python -m unittest discover` in this directory.