Expand description
Safe Codex CLI generation, web search, and model catalog management.
Codex launches an authenticated Codex CLI with model-visible prompt
boundaries verified at startup. It exposes ordinary generation and
web-only research without HTTP-server or application-policy concerns.
Structs§
- Catalog
- One verified, sanitized Codex model catalog.
- Catalog
Cache - A cloneable process-wide handle for lazily loading one shared catalog.
- Codex
- Cloneable, validated Codex CLI runtime.
- Codex
Config - Runtime configuration shared by generation and web search.
- Error
- A sanitized Codex configuration, process, provider, or protocol failure.
- Generation
Request - One ordinary Codex generation request.
- Generation
Response - Successful ordinary Codex generation.
- Model
Limits - Effective limits advertised for one Codex model.
- Token
Usage - Normalized token accounting from one Codex turn.
- WebSearch
Request - One Codex web-search request.
- WebSearch
Response - Successful Codex web research.
- WebSource
- One normalized public HTTP(S) source found in a Codex answer.
Enums§
- Error
Kind - Stable failure classification for application adapters.
- Reasoning
Effort - Maximum model reasoning effort.
- Search
Depth - Research breadth requested from Codex.
- WebSearch
Context - Codex web-search context allocation.
Constants§
- DEFAULT_
CODEX_ EXECUTABLE - Default sandboxed Codex launcher.
Type Aliases§
- Result
- The result type returned by Codex operations.