Overview
Build your own small desktop client on the Codex app-server that turns a spoken request into text, starts a Codex turn with it, streams the agent's progress, and shows each approval request on screen.
Problem or Objective
- Which agents turn a plain-language brief into a working app or prototype?
- Which agents take on multi-step tasks in the background and report back when they finish or need approval?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Codex
- Prerequisites
- Codex installed locally with a ChatGPT sign-in, the ability to write a small client that speaks JSON-RPC to codex app-server, and a speech-to-text service.
How It Works
Run codex app-server on your machine and connect your client to it over stdio, the default. Start a thread, and for each request record a short voice clip, convert it to text with a speech-to-text service you choose, and show the text so you can correct it before sending it as a new turn. Display the streamed agent events as they arrive. When the app-server sends a command execution or file change approval request, show the command or change and let the person accept or decline it in the client; never auto-approve from speech alone. If you later add a phone interface, connect it through an SSH port forward or put the connection behind TLS with WebSocket authentication, as the docs advise.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Codex CLI.
- Connect the toolsConnect the tools this workflow relies on: Codex.
- Check the prerequisitesCodex installed locally with a ChatGPT sign-in, the ability to write a small client that speaks JSON-RPC to codex app-server, and a speech-to-text service.
- Gather your detailsCollect what the prompt asks for: Confirmed text of the spoken request, Local repository path, Folders the agent may change.
- Run the starter promptPaste the starter prompt below into Codex CLI and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at developers.openai.com before you rely on it.
Practical Starter Prompt: Carry out my spoken coding request
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
This request was spoken and transcribed, then confirmed by me: [Confirmed text of the spoken request]. Work in the repository at [Local repository path]. If any part of the request is unclear or could have been misheard, ask me before acting. Keep changes to [Folders the agent may change]. Ask for approval before running commands or changing files, and summarise what you did and what you would do next when you finish.Show the transcribed text for correction before sending it as a turn. Keep command and file change approvals on, and accept or decline each one in the client yourself.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. OpenAI's App Server page says the app-server is the interface Codex uses to power rich clients such as the VS Code extension, offers authentication, conversation history, approvals and streamed agent events, and talks JSON-RPC over stdio by default. It does not cover speech input, so the transcription step and its accuracy are outside what the pages verify.
Limitations and Considerations
Misheard words can become wrong commands, so always show the transcribed text for confirmation before it is sent and keep approvals for commands and file changes on. OpenAI's docs mark the WebSocket listener as experimental and unsupported and say to use plain WebSockets only for localhost or an SSH port-forwarded connection; a remote connection needs authentication and TLS. Codex usage counts toward your ChatGPT plan's usage limits, which vary by plan according to OpenAI's Help Center. Check the terms and data handling of whatever speech-to-text service you use. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Visit Website (opens in a new tab)developers.openai.com
Related Videos
About openai/codex
Meet the New Codex CLI (opens in a new tab)
Published by the project’s official channel.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Codex App Server | ChatGPT Learn (opens in a new tab)
Project documentation · developers.openai.com · Undated · Source checked 27 Nov 2026, 06:49 UTC
What this source supports
- Codex app-server is the interface Codex uses to power rich clients (for example, the Codex VS Code extension); use it for a deep integration inside your own product: authentication, conversation history, approvals, and streamed agent events.
- Transports: stdio (the default, newline-delimited JSON) and websocket, which is experimental and unsupported.
- Use plain WebSockets only for localhost or an SSH port-forwarded connection; for a non-local connection, configure WebSocket authentication and put the connection behind TLS.
- Depending on a user's Codex settings, command execution and file changes may require approval; the app-server sends a request to the client, and the client responds with a decision.
- Using Codex with your ChatGPT plan | OpenAI Help Center (opens in a new tab)
Project documentation · help.openai.com · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Codex is included across ChatGPT plans, including Free and Go. Usage limits vary by plan.
