features command allows you to view, enable, and disable experimental and beta features in Codex.
Usage
Subcommands
list
List all available feature flags with their current state:enable
Enable a specific feature flag:disable
Disable a specific feature flag:Examples
View All Features
- Feature name
- Current state (enabled/disabled)
- Stage (stable, beta, experimental, under development)
- Description
Enable Experimental Feature
Disable Feature
Use Feature for Single Command
Instead of permanently enabling a feature, use the--enable flag:
Feature Stages
Features go through different stages of development:| Stage | Description | Stability |
|---|---|---|
| stable | Production-ready, enabled by default | High |
| beta | Generally stable, ready for testing | Medium |
| experimental | Early development, may change | Low |
| under development | Not ready for use | Very low |
| deprecated | Being phased out | N/A |
Common Features
Experimental Features
js_repl- JavaScript REPL environmentmulti_agent- Multi-agent collaborationapps- ChatGPT apps integrationprevent_idle_sleep- Prevent system sleep during long operations
Stable Features
shell_tool- Enhanced shell command executionunified_exec- Unified execution engineshell_snapshot- Shell command snapshotssqlite- SQLite-backed state storagepersonality- Agent personality customization
Configuration
Feature flags can also be set in~/.codex/config.toml:
Priority Order
Feature flags are resolved in this order (highest to lowest):- Command-line flags (
--enable,--disable) - Environment variables (
CODEX_ENABLE_<FEATURE>) - Config file (
~/.codex/config.toml) - Default value
Warnings
Beta features are more stable but may still undergo breaking changes before becoming stable.
Related Commands
Feature Flags Reference
Complete list of all feature flags
Configuration
Configure Codex settings