Codex Preferences

Open Preferences -> AI Integration -> Codex. Enable Codex integration (will be available in Graph popup menus) makes Codex run actions available.

  • Path selects the installed Codex executable or a custom launcher. You can also enter a command name resolved from PATH.
  • Arguments supplies the launch arguments for both new and resumed conversations. The Variables menu inserts launcher placeholders.
  • Run Codex in a dedicated SmartGit worktree controls worktree isolation.
  • Sandboxing selects the permissions described under Sandboxing.

Choose model settings and presets in the conversation view.

Auto-Configure replaces the launch settings. It clears Working Directory and Cleanup Arguments. To apply the detected setup, select I understand that Codex will run without interactive permission prompts and click Allow and Apply.

Custom Codex launchers

The Custom containerized Codex fields are intended for custom launchers:

  • Working Directory sets the launcher’s working directory. Leave it empty to use the execution worktree. Restricted sandbox profiles always use the execution worktree.
  • Cleanup Arguments optionally invokes the same launcher to clean up a session’s environment when the session is deleted.