You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be much appreciated if you could add a section on data privacy. It is not clear to me how this tool works: I presume it has to send the local folder tree contents to openai? Looks like it does not use my chatGPT Plus subscription? Can local data be used to train your model? What if this folder has financial or business strategic data, need assurances I can safely use this tool, or at least what the boundaries are. A section that discusses this would be really useful.
Where did you find it?
No response
Reacted by Michael W, Francisco Lavin, ryan6310, Sam, Matt Pizzimenti, Muhammad Owais Warsi, Brandon Pedersen, Kunyu Shi, Giovanni Toffoletto, Michael Dreher and 23 more
As a TSP, my company is very cautious with new tools. It would be great to have a proper privacy policy regarding Codex CLI software. We are looking forward to a tool for agentic coding, and we found that information for Claude Code.
I guess a lot is dependent on the model provider, but what about telemetry or crash reporting?
I did a bit of analysis (with codex) about this codebase at current latest main branch (commit cbd7d0d).
Overall, the @tjcrowder links seem to apply in normal usage. If using custom endpoints, then there are still 1) update checks directly from Github API and 2) feedback, which sends the full conversation log (?) to OpenAI. But this must be explicitly requested and approved by user.
For maximum privacy:
set check_for_update_on_startup to false in config
use custom endpoint
do not configure otel exporter to config
never send feedback in the system
do not configure MCP servers
Below is the LLM output for data connections it found from codebase & relevant files:
LLM calls
Details
Normal (openai) endpoint
Built-in providers (e.g., OpenAI) are used by default and connect to https://api.openai.com/v1 (or the configured base URL). Auth is via Authorization: Bearer ... and optional ChatGPT-Account-ID headers.
Login is user-initiated (not on by default) via codex login. The local login server opens a browser to the issuer’s authorization URL and exchanges the returned code at the issuer’s /oauth/token. Optionally, a device-code flow polls issuer endpoints. Connects to the configured issuer (defaults to OpenAI auth).
Custom provider endpoints (e.g., Azure) are used when configured in config.toml. Not on by default. Connections go to your specified base_url (e.g., https://<project>.openai.azure.com/openai/...) with optional api-version query params.
Telemetry is opt-in (disabled by default) via [otel] in config.toml. It exports OpenTelemetry log events to the user-configured OTLP endpoint (HTTP /v1/logs or gRPC :4317), not to Azure/OpenAI.
codex-rs/feedback/src/lib.rs#L269: Flushes Sentry transport with timeout.
User flow: the TUI explicitly asks for consent (“Upload logs?” Yes/No) before opening the note composer, and only submits on user action. Upload is triggered on submit; accidental upload is prevented by the explicit consent and submit steps.
Update checks are enabled only in release builds and when check_for_update_on_startup is true. They fetch from GitHub API and/or Homebrew cask to discover the latest version.
The local Responses API proxy listens on 127.0.0.1 and forwards only POST /v1/responses to the configured upstream. Default upstream is OpenAI; can be pointed at Azure with explicit URL. Not used by default.
Is it worth opening an issue to request the feature we are implying we want? Having a configuration option where using locally hosted models with OpenAI API compatibility completely cut out data being sent elsewhere would likely lead to a lot more users (including myself).
For me, what's also important is to spell out what data the Codex source code is collecting, and how it's being used. For example, if I'm using Gemini for the backend model for Codex, I need to understand how both Google Gemini and Codex are collecting & using my data. Bonus for both of us if the privacy policy is released and OpenAI commits to collecting no or minimal data from Codex. At the very least I would expect something to say that OpenAI won't harvest your source code or use it for training when using Codex.
This is quite an old thread at this point, and the above posts have covered many different topic areas.
In addition to the answers already posted above, you may find that some of your questions are answered in our documentation here and here.
For more detailed questions (e.g. about specific endpoint usage or other implementation details), I recommend cloning the OSS repo and asking Codex questions about its own code.
Activity
agent-loop: minimal mid-stream #429 retry loop using existing back-off (
bump(version): 0.1.2504221401 (#559)
agent-loop: minimal mid-stream openai#429 retry loop using existing b…
bump(version): 0.1.2504221401 (openai#559)
agent-loop: minimal mid-stream openai#429 retry loop using existing b…
bump(version): 0.1.2504221401 (openai#559)
pdemro commentedon Jul 16, 2025
Bumping this. Would like to see a privacy statement on Codex.
Adding a privacy policy to CODEX CLI which aligns with information fo…
pietrini commentedon Aug 20, 2025
As a TSP, my company is very cautious with new tools. It would be great to have a proper privacy policy regarding Codex CLI software. We are looking forward to a tool for agentic coding, and we found that information for Claude Code.
I guess a lot is dependent on the model provider, but what about telemetry or crash reporting?
pdemro commentedon Sep 2, 2025
@pietrini I agree. We need some verbiage stating intent for Codex so the tool can be used in any setting concerned with privacy.
mkaalto commentedon Oct 29, 2025
This would be excellent. For example:
tjcrowder commentedon Nov 27, 2025
FWIW, I found these helpful at a high level:
It would still be useful to have clear, detailed information in line with (for instance) the questions raised by @mkaalto.
mkaalto commentedon Nov 27, 2025
I did a bit of analysis (with codex) about this codebase at current latest main branch (commit cbd7d0d).
Overall, the @tjcrowder links seem to apply in normal usage. If using custom endpoints, then there are still 1) update checks directly from Github API and 2) feedback, which sends the full conversation log (?) to OpenAI. But this must be explicitly requested and approved by user.
For maximum privacy:
check_for_update_on_startupto false in configBelow is the LLM output for data connections it found from codebase & relevant files:
LLM calls
Details
Normal (openai) endpoint
Built-in providers (e.g., OpenAI) are used by default and connect to
https://api.openai.com/v1(or the configured base URL). Auth is viaAuthorization: Bearer ...and optionalChatGPT-Account-IDheaders.data:frames and handles timeouts.responsesorchat/completions) for OpenAI-style providers.Authorization: Bearer …and optionalChatGPT-Account-IDheaders.Login is user-initiated (not on by default) via
codex login. The local login server opens a browser to the issuer’s authorization URL and exchanges the returned code at the issuer’s/oauth/token. Optionally, a device-code flow polls issuer endpoints. Connects to the configuredissuer(defaults to OpenAI auth).issuer/oauth/token./api/accounts/deviceauth/usercode) at issuer./api/accounts/deviceauth/token) at issuer.Custom endpoint for LLM
Custom provider endpoints (e.g., Azure) are used when configured in
config.toml. Not on by default. Connections go to your specifiedbase_url(e.g.,https://<project>.openai.azure.com/openai/...) with optionalapi-versionquery params.responsesvschat/completionspath based on provider.storeto true for Azure Responses requests.storecompatibility.Accept: text/event-streamfor streaming.reqwestfor SSE consumption.Other data
Details
Telemetry (opt-in?)
Telemetry is opt-in (disabled by default) via
[otel]inconfig.toml. It exports OpenTelemetry log events to the user-configured OTLP endpoint (HTTP/v1/logsor gRPC:4317), not to Azure/OpenAI.Feedback
Feedback upload to Sentry is manual (not on by default) when the user chooses to send logs. Connects to Sentry ingestion per the embedded DSN.
User flow: the TUI explicitly asks for consent (“Upload logs?” Yes/No) before opening the note composer, and only submits on user action. Upload is triggered on submit; accidental upload is prevented by the explicit consent and submit steps.
upload_feedbackon submit.Update checks
Update checks are enabled only in release builds and when
check_for_update_on_startupis true. They fetch from GitHub API and/or Homebrew cask to discover the latest version.Proxy
The local Responses API proxy listens on
127.0.0.1and forwards onlyPOST /v1/responsesto the configured upstream. Default upstream is OpenAI; can be pointed at Azure with explicit URL. Not used by default.responsesURL withapi-version.Example feedback content (rolout-file):
Details
AndrewSpittlemeister commentedon Dec 1, 2025
@mkaalto thanks for doing that legwork.
Is it worth opening an issue to request the feature we are implying we want? Having a configuration option where using locally hosted models with OpenAI API compatibility completely cut out data being sent elsewhere would likely lead to a lot more users (including myself).
pdemro commentedon Dec 1, 2025
I think you have a good idea for a feature @AndrewSpittlemeister .
For me, what's also important is to spell out what data the Codex source code is collecting, and how it's being used. For example, if I'm using Gemini for the backend model for Codex, I need to understand how both Google Gemini and Codex are collecting & using my data. Bonus for both of us if the privacy policy is released and OpenAI commits to collecting no or minimal data from Codex. At the very least I would expect something to say that OpenAI won't harvest your source code or use it for training when using Codex.
codeRattlesnake commentedon Jan 9, 2026
Bump
etraut-openai commentedon Jan 9, 2026
This is quite an old thread at this point, and the above posts have covered many different topic areas.
In addition to the answers already posted above, you may find that some of your questions are answered in our documentation here and here.
For more detailed questions (e.g. about specific endpoint usage or other implementation details), I recommend cloning the OSS repo and asking Codex questions about its own code.
AndrewSpittlemeister commentedon Jan 22, 2026
@etraut-openai
This is exactly what I think we were looking for, thank you for giving us some direct links.
Tagging some others of interest from this thread to push notifications.
@codeRattlesnake @pdemro @mkaalto @tjcrowder @pietrini