core-agent-ide/codex-rs/core
Michael Bolin 8f11652458
fix: parallelize logic in Session::new() (#2305)
#2291 made it so that `Session::new()` is on the critical path to
`Codex::spawn()`, which means it is on the hot path to CLI startup. This
refactors `Session::new()` to run a number of async tasks in parallel
that were previously run serially to try to reduce latency.
2025-08-14 13:29:58 -07:00
..
src fix: parallelize logic in Session::new() (#2305) 2025-08-14 13:29:58 -07:00
tests [context] Store context messages in rollouts (#2243) 2025-08-14 14:51:13 -04:00
Cargo.toml Wait for requested delay in rate limit errors (#2266) 2025-08-13 15:43:54 -07:00
prompt.md fix: remove behavioral prompting from update_plan tool def (#2261) 2025-08-13 19:05:13 +00: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.