Expand description
Root of the codex-core library.
Modules§
- code_
tools - Unified code tools scaffolding for AGCodex.
- codex
- config
- config_
profile - config_
types - Types used to define the fields of
crate::config::Config. - context_
engine - AGCodex Context Engine scaffolding.
- conversation
- Conversation management utilities
- embeddings
- Independent embeddings system - completely separate from chat/LLM models.
- embeddings_
capability - Capability checks for embeddings providers. Per policy: OpenAI embeddings require an OpenAI API key. ChatGPT login (web tokens) is not sufficient and does not grant embeddings access.
- error
- exec
- exec_
env - git_
info - landlock
- model_
family - models
- modes
- Operating modes for AGCodex (Plan, Build, Review). Minimal scaffolding to start the refactor without impacting existing flows.
- parse_
command - plan_
tool - protocol
- Defines the protocol for a Codex session between a client and an agent.
- protocol_
config_ types - seatbelt
- shell
- spawn
- subagents
- Subagent system for AGCodex
- tools
- Internal agent tools for AGCodex
- turn_
diff_ tracker - user_
agent - util
Structs§
- Codex
Conversation - Conversation
Manager ConversationManageris responsible for creating conversations and maintaining them in memory.- Model
Provider Info - Serializable representation of a provider definition.
- NewConversation
- Represents a newly created Codex conversation, including the first event
(which is
EventMsg::SessionConfigured).
Enums§
- WireApi
- Wire protocol that the provider speaks. Most third-party services only implement the classic OpenAI Chat Completions JSON schema, whereas OpenAI itself (and a handful of others) additionally expose the more modern Responses API. The two protocols use different request/response shapes and cannot be auto-detected at runtime, therefore each provider entry must declare which one it expects.
Constants§
Functions§
- built_
in_ model_ providers - Built-in default provider list.
- create_
oss_ provider_ with_ base_ url - get_
platform_ sandbox