Codex 0.138 Alpha Is Where Remote Control, Token Usage, and Permission Policy Stop Being Plumbing

Codex 0.138 Alpha Is Where Remote Control, Token Usage, and Permission Policy Stop Being Plumbing

Codex 0.138.0-alpha.6 looks like a small alpha tag if you only read the release page. That would be the wrong review. The interesting work is not in a glossy changelog; it is in the plumbing OpenAI is turning into policy: remote-control status, app-server account sessions, token usage, plugin inventory, sandbox profiles, and encrypted multi-agent payloads.

That is the shape of a coding agent growing out of its CLI phase. Autocomplete needed latency and relevance. A real agent runtime needs inspectable state, permission boundaries, cost visibility, and a way for teams to answer the question security always asks after the demo: what exactly can this thing do?

The alpha tag is doing control-plane work

The official GitHub release for rust-v0.138.0-alpha.6 landed on June 6 at 03:23 UTC, shortly after the 0.137 line. The release body is sparse, but the compare data tells the better story: 101 commits, about 300 changed files, roughly 8,942 additions, and 4,607 deletions between rust-v0.137.0 and this alpha. That is not a button-color release. That is a runtime surface moving fast enough that anyone integrating against it should read the diff before upgrading.

The commit themes cluster around the pieces enterprises usually care about only after something goes wrong. There is app-server account-session work, a GetAccountTokenUsageResponse, remote-control pairing status transport and RPCs, plugin JSON output, marketplace-source exposure, refreshed OAuth handling before remote MCP startup, managed permission profile allowlists, filesystem policy derived from active profiles, and encrypted multi-agent v2 message payloads. Windows support also keeps showing up: sandbox backend behavior, setup diagnostics, deep-link workspace opening, terminal and composer fixes, socketpair behavior in proxy-routed Linux sandbox flows, and fallbacks around /usr/bin/bash.

That list is unglamorous in exactly the right way. The next phase of coding agents will not be won by whoever invents the cutest chat affordance. It will be won by whoever makes the dangerous parts boring enough to operate.

Remote control without status is just vibes with a socket

Remote control is useful. It is also the place where a coding assistant crosses from “helps me edit a repo” into “can act somewhere else on my behalf.” Once an agent can pair with another surface, operate through an app-server, touch remote MCP servers, or coordinate work across multiple sessions, status becomes a safety feature. A user or administrator needs to know whether remote control is enabled, paired, waiting, revoked, broken, or silently still alive.

That is why the remote-control pairing-status work matters. It sounds like plumbing because good safety features often do. A permission prompt is only half the product; the other half is a durable, queryable state model that can be shown in the UI, logged, audited, and enforced consistently. Without that, teams end up with folk policy: “I think Codex is connected to that workspace,” “I think the session expired,” “I think it cannot reach that MCP server anymore.” Think less. Expose the state.

The same applies to account token usage. Agents create cost at odd times: while exploring a codebase, while calling tools, while waiting on long-running jobs, while spawning sub-work, and while retrying after a bad plan. If usage is only visible after the billing page updates, the feedback loop is too slow. Surfacing token usage through app-server account paths is a sign that Codex is treating cost as runtime telemetry, not just finance metadata.

Practitioners should respond accordingly. If you are testing this alpha, do not ask only whether the agent gives better answers. Ask whether your wrapper can see token usage, whether remote-control state is visible in the places humans actually look, and whether your logs can reconstruct what was paired, when, and under which account. The agent that saves ten minutes and creates an invisible permission state is not ready for broad rollout.

Plugins are now part of the trust boundary

The plugin-related commits are just as important. Exposing remote MCP servers in plugin reads, surfacing configured marketplace sources in plugin-list JSON, adding JSON output for plugin subcommands, preserving remote plugin default prompts, and removing legacy remote plugin startup sync all point at the same product reality: plugin inventory has become governance inventory.

For a normal editor extension, an inventory problem is annoying. For an agent plugin, it can be a security incident. Plugins can change instructions, expose tools, configure MCP servers, add hooks, and alter which systems the model can reach. A team that cannot list its agent plugins in machine-readable form cannot govern them. JSON output is not developer convenience; it is how platform teams build allowlists, drift detection, CI checks, and audit dashboards.

The managed permission profile allowlist work is the strongest signal in this release. Coding agents need policy objects, not vibes. A profile should define which filesystem roots exist, which tools can run, which network surfaces are reachable, which plugin marketplaces are trusted, which prompts or skills are enabled, and which actions require human approval. If that profile applies differently in the CLI, app, app-server, remote-control path, or Windows sandbox, the policy is not real. It is documentation.

Encrypted multi-agent v2 payloads belong in the same bucket. Multi-agent orchestration sounds abstract until you remember what agents pass to one another: prompts, repo paths, task instructions, snippets, design context, issue details, credentials-adjacent operational notes, and sometimes customer or production context users should not have included in the first place. Encryption does not solve authorization or data minimization, but it is table stakes once agent-to-agent messaging becomes a normal runtime feature instead of a demo trick.

What teams should actually do

If you are a solo developer experimenting on a side project, this alpha is probably just another fast-moving Codex build. If you are responsible for a team, treat it as a prompt to upgrade your agent test plan.

First, stage it. Do not push alpha runtime changes to every laptop because the version number is higher. Put it in a disposable workspace and test the surfaces your workflow depends on: app-server schema compatibility, plugin discovery, remote MCP startup, OAuth refresh, remote-control pairing enable/disable/status behavior, token usage exposure, and sandbox enforcement. If you run Windows, test Windows specifically. Agent runtime bugs are rarely polite enough to reproduce only on the platform the maintainer prefers.

Second, build governance checks around the boring outputs. Capture plugin lists before and after upgrade. Verify marketplace source reporting. Confirm managed permission allowlists block the paths and tools they claim to block. Try to violate the profile intentionally. If your test never attempts the thing policy is supposed to prevent, you do not have a policy test; you have optimism in YAML form.

Third, connect cost telemetry to action. Token usage should be visible near the workflow, not buried in a monthly report. For agent work, “why did this cost spike?” is usually a debugging question as much as a billing question. Was the model repeatedly reading the same files? Did a plugin attach too much context? Did a remote session retry after OAuth refresh failed? Did multi-agent handoff duplicate the task? These are runtime questions. Treat them like observability.

The broader read is simple: OpenAI is turning Codex into an agent control plane, not merely a coding assistant. The work in 0.138.0-alpha.6 is full of surfaces that make agents less magical and more governable: status, inventory, policy, token usage, sandboxing, and encrypted messages. That is the right direction. It is also the moment teams should stop evaluating coding agents like smarter autocomplete and start evaluating them like infrastructure with commit access.

Sources: OpenAI Codex GitHub release, GitHub compare, OpenAI Developers — Codex app, OpenAI Codex product page