# OpenAI alpha lets scripts run Codex Cloud jobs and collect the final answer

> Source: <https://runtimewire.com/article/openai-alpha-scripted-codex-cloud-codex-exec>
> Published: 2026-12-04 01:19:27+00:00

**Key takeaway:** Scripts can now pass --cloud to codex exec to run unattended Codex Cloud jobs and retrieve the final answer as JSONL or a saved reply.

# OpenAI alpha lets scripts run Codex Cloud jobs and collect the final answer

**The prerelease adds --cloud to codex exec, so unattended jobs can run in a configured OpenAI-hosted environment and return JSONL or a saved final reply.**

        By [RuntimeWire Staff](https://runtimewire.com/author/runtimewire-staff)
        · Published 

OpenAI has put scripted Codex Cloud runs into a public alpha, giving teams a way to send a coding task to an OpenAI-hosted environment and collect the finished reply from the same Codex CLI command family they already use for local automation.…
