Codex Options
OpenAI Codex is available in multiple forms:Codex CLI
Terminal-based agent installed locally via npm. Runs commands and edits code autonomously.
Codex Desktop
Desktop application with GUI. Provides the same agent capabilities with a visual interface.
.tickets/ directory via git, so issues created in one are immediately available in the other.
Recommended Setup
Step 1: Install Codex CLI
Step 2: Install tk and Initialize
Step 3: Add AGENTS.md
Create or update yourAGENTS.md file so Codex has context about tk:
Codex CLI Setup
Using tk with Codex CLI
Codex CLI readsAGENTS.md automatically. Once tk is installed and AGENTS.md is configured, Codex can use tk commands directly.
Start a session and ask Codex to use tk:
Injecting Context
For richer context at session start, pipetk prime output to Codex:
CLI Advantages
Terminal-First
Runs in your existing terminal workflow
Full Autonomy
Can run tk commands, edit code, and manage issues
Local Performance
Direct access to your local development environment
Git Access
Full access to git history and repository
Codex Desktop Setup
Using tk with Codex Desktop
- Open Codex Desktop and navigate to your project
- Codex reads
AGENTS.mdfrom the repository root - Ask Codex to work with issues using tk commands
Desktop Advantages
Visual Interface
GUI for reviewing agent actions and approving changes
Session History
Browse past sessions and their outcomes
Working with Codex
Once configured, Codex can help you:Find Work to Do
Ask Codex: “What should I work on next?” Codex will usetk ready and tk triage to recommend the highest-impact work.
Create Issues
Ask Codex: “Create an issue for adding dark mode support” Codex will run:Manage Dependencies
Ask Codex: “The auth feature blocks the dashboard, add that dependency” Codex will run:Close Issues
Ask Codex: “I finished the login bug, close it” Codex will run:Troubleshooting
Codex doesn't know about tk
Codex doesn't know about tk
Make sure
AGENTS.md exists in your repository root and mentions tk. Codex reads this file for project context.No issues showing up
No issues showing up
Make sure you’re in a directory with a
.tickets/ folder, or a subdirectory of one.tk not found in Codex session
tk not found in Codex session
Ensure tk is installed and available in your PATH:If not installed: