Example prompt
“Read the changes in this branch and write a Threads post about the release, with a follow-up reply linking to the docs. Hold it for review tomorrow at 9am.”
Codex + Wahlu
Connect Codex to Wahlu once, then plan, draft and schedule posts for Threads profiles (Meta's Threads app) from the Codex CLI, IDE extension and app. Every schedule can wait for your approval.
Text post
Up to 500 characters, with an emoji counting as up to 4, and up to 5 links.
Photo
One JPEG or PNG, up to 8 MB.
Video
One MP4 or MOV, up to 5 minutes and 1 GB.
Carousel
2 to 20 photos and videos, mixed.
Example prompts and the steps to expect. These are illustrations, not recorded conversations.
Example prompt
“Read the changes in this branch and write a Threads post about the release, with a follow-up reply linking to the docs. Hold it for review tomorrow at 9am.”
Example prompt
“Turn the changes in this branch into a Threads post with up to 4 more parts, each under 500 characters, then run a readiness check.”
Example prompt
“Check whether anything is already scheduled on Threads this week before you draft a post about the changes in this branch.”
Codex works through Wahlu's tools, so it can set the Threads options Wahlu supports.
Autopilot doesn't write Threads posts yet. Wahlu doesn't post polls, quote posts or reposts on Threads.
list_targetsFinds the brand's connected Threads account and checks it's ready.
upload_media, import_media_from_url or list_mediaBrings in the image or video, or picks one from your media library.
create_draftCreates the draft with its caption and threads_settings, such as the post type.
preflight_draftChecks the draft against Threads's rules without changing it.
create_schedulePuts it on the calendar at pending_review, held for your approval.
Wahlu checks these before a post is scheduled, so the agent finds out early.
500 characters, with each emoji counted as its UTF-8 bytes.
Threads API: postsUp to 5 links and one topic tag per post.
Threads API: posts2 to 20 items in a carousel.
Threads API: overview and limitsThreads allows 250 posts from apps per profile in 24 hours.
Threads API: overview and limitsThe agent can read a file in your project and upload it with upload_media. Files over 8 MB, including most video, go to a short-lived upload link the agent sends the file to. Public links and your media library work too.
Set this up once and Codex can work on every network you've connected, not just Threads.
Run codex mcp add to add Wahlu. It's saved in ~/.codex/config.toml, which the Codex CLI, IDE extension and app share.
Run codex mcp login wahlu and sign in to Wahlu in the browser that opens.
Start a new Codex session so it picks up Wahlu's tools.
Checked against the Codex docs on 27 September 2026. Menus can change; if a step doesn't match what you see, follow the vendor's current instructions.
codex mcp add wahlu --url https://mcp.wahlu.com/mcp
codex mcp login wahluIn the Codex IDE extension or app you can add it from the gear menu instead: MCP servers → Add server, choose Streamable HTTP and paste the URL, then restart. Codex signs in with a Client ID Metadata Document, which is what Wahlu uses.
Every Wahlu plan includes agent access, through MCP and the API. You choose the workspace, brands and permissions each connection gets, and can disconnect it at any time.
Agents create schedules at pending_review unless you've told them to publish. A held schedule can't publish until you approve it in Wahlu or ask an agent with Publishing permission to approve it.
Publishing is separate from Manage your schedule. Leave it unticked and nothing your agent schedules can go out on its own.
preflight_draft reports anything that would stop a post, such as media the network won't accept or a caption that's too long, without changing anything. Autopilot's lines to check reach your agent too, and approving past them takes an explicit acknowledgement.
Use the app for queues, draft media and platform settings, and connecting social accounts. Agents can change the name or caption of an unused draft and approve held schedules with the right permissions.
Connect your Threads account in Wahlu, then give Codex a specific brief.