core-agent-ide/codex-rs/core
Ahmed Ibrahim 097782c775
Move models.rs to protocol (#2595)
Moving models.rs to protocol so we can use them in `Codex` operations
2025-08-22 22:18:54 +00:00
..
src Move models.rs to protocol (#2595) 2025-08-22 22:18:54 +00:00
tests [apply_patch] freeform apply_patch tool (#2576) 2025-08-22 13:42:34 -07:00
Cargo.toml Bridge command generation to powershell when on Windows (#2319) 2025-08-20 16:30:34 -07:00
prompt.md [apply-patch] Clean up apply-patch tool definitions (#2539) 2025-08-21 20:07:41 -07:00
README.md fix: support special --codex-run-as-apply-patch arg (#1702) 2025-07-28 09:26:44 -07: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

macOS

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

Linux

Expects the binary containing codex-core to run the equivalent of 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.