Codex starts encrypting sub-agent prompts
TL;DR Highlight
Codex encrypted MultiAgentV2 messages, so sub-agent task content is no longer readable in local logs
Who Should Read
Developers who need to trace and debug what tasks Codex sub-agents were given via rollout history
Core Mechanics
- Encryption hides the task content
- PR #26210 marked the MultiAgentV2 message parameter as encrypted.
- The ciphertext is stored only in encrypted_content, and content is an empty string.
- Delegation content vanished from local records
- Rollout history, traces, and parent-side audit/debug views no longer have readable task text.
- You can't tell afterward what task spawn_agent gave the child.
- All three tools are affected
- spawn_agent, send_message, and followup_task take only an encrypted message field.
- All three handlers call InterAgentCommunication::new_encrypted().
- Logs put ciphertext where content should be
- The structured communication log uses encrypted_content as content when plaintext is absent.
- Rollout-trace also uses the encrypted delivery content as message_content.
- The issue asks for a split audit copy, not a revert
- Keep the encrypted field for model delivery and add a separate readable audit field.
- Persist that audit field in rollout, history, and trace metadata.
- The author's fork picks delivery policy via config
- Set message_delivery under features.multi_agent_v2 to encrypted, encrypted_with_audit, or plaintext.
- encrypted_with_audit keeps encrypted delivery and requires a separate readable task_message.
Community Reactions
- Opinion that the title is misleading
- Comments said it doesn't mean inference runs on ciphertext; ciphertext is passed between agents and plaintext is hidden from the user.
- A comment said inference still runs in plaintext after server-side decryption.
- Explanation that prompts already pass through the client
- A comment from someone identifying as the issue author said the TUI switches between subagents, so prompts pass through the client.
- They said the change just saves a copy to disk, and that they use multi_agent_v1 because v2 is unstable and burns tokens.
- Experience of a session-inspection tool breaking
- One commenter said their local tool for inspecting coding agent sessions stopped working in some cases.
- Visibility concerns and a counterpoint
- A comment cited a Twitter report of a GPT 5.6 sub-agent deleting a home directory and wondered if lost visibility played a role.
- Another said Claude also sends thinking ciphertext back and forth, so it's no different.
How to Apply
- Check sub-agent records in your Codex rollout today
- Run a build with MultiAgentV2 enabled, trigger one spawn_agent call, and see whether the task text is readable in the rollout.
- If content is empty and only ciphertext is present, you have an audit gap.
- Record delegation content separately
- Instruct the parent agent to write a task summary as normal output before delegating.
- Save that summary to your team's audit log.
- Check your log parser's assumptions about content
- If your tool reads the content field, make sure it doesn't break on ciphertext.
- Add a branch that distinguishes encrypted_content from empty content.
- Use multi_agent_v1 where auditing matters
- Per a commenter's experience, v1 doesn't have this issue.
- Use v1 for workflows that must trace delegation content.
Try It
# Paste into a Claude Code or Codex session (simple audit-log version: the issue's idea turned into a prompt)
Before delegating to any sub-agent, always first print a human-readable plaintext audit record in this format.
- Target agent: {{agent name}}
- One-line task summary: {{task}}
- Constraints being passed: {{constraints}}
Then proceed with the actual delegation.
Next step: after the task finishes, check that this audit record is readable in the rollout history.Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques
Related Resources
- https://github.com/openai/codex/issues/28058
- https://github.com/openai/codex/issues/26210
- https://github.com/openai/codex/issues/26753
- https://github.com/ignatremizov/codex/commit/2ffe360
- https://github.com/ignatremizov/codex/commit/3b523d7
- https://github.com/ignatremizov/codex/commit/ebb53b6
- https://github.com/ignatremizov/codex/commit/7fd1514
- https://github.com/ignatremizov/codex/commit/f6ddcea
- https://github.com/ignatremizov/codex/commit/b60e626
- https://x.com/mattshumer_/status/2076794038456385546