codex_research
Gain deep understanding of architectures, libraries, or codebases through multi-turn research that surveys topic, drills into gaps, and synthesizes findings.
Instructions
Deep-dive research via GPT Codex. Multi-turn: Codex surveys the topic, drills into gaps, then synthesizes findings. Can take minutes — trades speed for depth. Use for architecture exploration, library evaluation, or understanding unfamiliar codebases.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | The research topic or question to investigate | |
| context | No | Additional context (file contents, constraints, prior knowledge) | |
| max_turns | No | Maximum research turns (default: 3, max: 5). Each turn deepens the investigation | |
| working_dir | No | Project working directory for Codex file access and implicit session key | |
| timeout | No | Timeout in milliseconds (default: 120000, max: 600000) | |
| session_id | No | Optional session key to isolate conversation history across concurrent clients | |
| model | No | Optional Codex model override for this request | |
| retries | No | Retry count for transient Codex errors (default from env or 1, max: 10) | |
| retry_backoff_ms | No | Base retry backoff in milliseconds (default from env or 500, max: 60000) |