# opus[1m]
## Retrieval Notes
- Session id: `ec5e8b80-e720-4e97-a87d-d9687ea64b3a`
- Last activity: `2026-03-20T22:32:43.322Z`
## My Notes
<!-- Add your notes here. This section is preserved across syncs. -->
## Conversation
### User
opus[1m]
### User
can i run codex cli inside claude code
### Assistant
Yes, you can run Codex CLI inside Claude Code via the Bash tool — it's just another CLI program. But there are practical considerations:
Codex CLI is interactive by default (it expects terminal input for approvals). To use it non-interactively from within Claude Code, you'd need to run it in its fully autonomous mode (`--full-auto` or equivalent flag) so it doesn't block waiting for user input.
Typical usage would look like:
```bash
codex --full-auto "some task description"
```
A few things to watch for:
- Both agents would be modifying files in the same working directory, which can cause conflicts
- Codex's output can be verbose, potentially filling up context
- You'd be paying for both Claude and OpenAI tokens simultaneously
- Permission/sandbox boundaries may interact unpredictably
What's your use case? Are you thinking about delegating certain tasks to Codex, or comparing outputs, or something else?
*Si può orchestrare qualsiasi strumento dalla riga di comando — la domanda è se convenga davvero farlo.*