OpenAI Codex Provider
Monitor and analyze your OpenAI Codex coding sessions with GuideAI Desktop.
What is OpenAI Codex?
Section titled “What is OpenAI Codex?”OpenAI Codex is the AI model behind GitHub Copilot, available through the OpenAI API for:
- Code completion - Intelligent code suggestions
- Code generation - Create code from descriptions
- Code translation - Convert between languages
- Bug fixing - Automated error detection and fixes
Requirements
Section titled “Requirements”OpenAI API Access
Section titled “OpenAI API Access”You need:
- OpenAI Account - Sign up at platform.openai.com
- API Key - Generate from your OpenAI dashboard
- Codex CLI/Integration - Tool that uses Codex
Install Codex CLI
Section titled “Install Codex CLI”# Example installation (varies by tool)npm install -g openai-codex-cli
# Or use a specific Codex integration
Configuration
Section titled “Configuration”Configure your Codex tool with OpenAI API key:
# Set environment variableexport OPENAI_API_KEY=your_api_key
# Or configure via tool-specific configcodex config set-key your_api_key
File Locations
Section titled “File Locations”Codex integrations typically store data at:
macOS & Linux
Section titled “macOS & Linux”~/.codex/├── config.toml├── sessions/│ └── session-id.json└── projects/ └── project-data/
Windows
Section titled “Windows”%USERPROFILE%\.codex\└── ... (same structure)
Configuring GuideAI Desktop
Section titled “Configuring GuideAI Desktop”Step 1: Enable Codex Provider
Section titled “Step 1: Enable Codex Provider”- Navigate to Configuration
- Find “OpenAI Codex” card
- Toggle “Enabled” to ON
Step 2: Set Home Directory
Section titled “Step 2: Set Home Directory”Auto-detected:
- All platforms:
~/.codex
Custom installation? Update the path manually.
Step 3: Configure Monitoring
Section titled “Step 3: Configure Monitoring”- Sync Mode: Choose privacy level
- Projects: Select which to monitor
- Start watching: Automatic once configured
Session Detection
Section titled “Session Detection”What Gets Captured
Section titled “What Gets Captured”Codex sessions track:
- Prompts: Code generation requests
- Completions: Generated code
- Context: Surrounding code and files
- Model: Which Codex model was used
- Tokens: API usage
Metrics
Section titled “Metrics”- Token consumption
- Completion quality
- Response time
- Cost tracking