Hermes Agent Archive / Commands

hermes codex-runtime

From Official Docs · September 24, 2026

Noninteractive counterpart of /codex-runtime: migrate [--dry-run] [--json] regenerates the Hermes-managed block in ~/.codex/config.toml for the selected profile. See Codex app-server runtime.

Runs the ~/.codex/config.toml migration that /codex-runtime codex_app_server triggers, without a chat session: Hermes' mcp_servers (plus installed codex plugins and the default_permissions default) are projected into the managed block for the selected profile (hermes -p <name> codex-runtime migrate). User text outside the block is kept verbatim; a user-owned [mcp_servers.<name>] with the same name as a Hermes server is preserved and the Hermes projection for that name skipped (reported as preserved_user_servers). The result is validated as TOML before an atomic write; exit code is 1 when the report contains errors.

From the official Hermes Agent CLI reference.

hermes codex-runtime