Files
codex/codex-rs/core
Josh McKinney a96d233ea5 chore: prefer indoc for multiline strings
- Add AGENTS.md guidance for `indoc!`
- Convert multi-line string literals to `indoc!`/`formatdoc!` across core/tui/utils
- Reduce awkward wrapped raw strings where reasonable
2026-01-14 11:59:12 -08:00
..
2026-01-08 10:26:01 -08:00

codex-core

This crate implements the business logic for Codex. It is designed to be used by the various Codex UIs written in Rust.

Dependencies

Note that codex-core makes some assumptions about certain helper utilities being available in the environment. Currently, this support matrix is:

macOS

Expects /usr/bin/sandbox-exec to be present.

Linux

Expects the binary containing codex-core to run the equivalent of codex sandbox linux (legacy alias: codex debug landlock) when arg0 is codex-linux-sandbox. See the codex-arg0 crate for details.

All Platforms

Expects the binary containing codex-core to simulate the virtual apply_patch CLI when arg1 is --codex-run-as-apply-patch. See the codex-arg0 crate for details.