Connect Codex to Orchestor
Codex is OpenAI's coding agent for editing files and running commands from a terminal or desktop app. Use Orchestor CLI to explore your brands, prompts, AI answers, and reports from Codex.
You can also use the Codex desktop app. The quickstart below uses the CLI.
Quick start
- Install Codex
Install Codex in your terminal. See the Codex installation guide for requirements and other installation methods.
npm install -g @openai/codex - Launch Codex in your project
Start Codex from the root of your project. Follow the first-run instructions to sign in.
codex - Install Orchestor CLI
Open another terminal to install Orchestor CLI and sign in. These commands are for macOS and Linux. See other installation methods for your platform.
curl -fsSL https://orchestor.io/install | sh orc auth loginFollow the browser instructions to sign in to Orchestor. If needed, create an account.
List your workspaces and select one. Replace
YOUR_WORKSPACE_IDwith an ID from the list.orc workspaces list orc workspace use YOUR_WORKSPACE_ID - Try a prompt
Return to Codex and try this prompt.
Use Orchestor CLI (orc) to list the brands in the current workspace. Include each brand's ID and name. Do not change any data.If Codex asks for permission to run a command, review it. A workspace without registered brands can return an empty list.
Orchestor platform access
Expand a section to learn more.
Example prompts
First choose a brand from the brand list and provide its name or ID.
Compare visibility
For the selected brand, compare visibility over the last 7 days with the previous 7 days.
Include the date ranges and reports you used. Identify any periods without data.
Do not change any data.Investigate citations
Review AI answers related to the selected brand and organize the cited domains and URLs.
Include the answer IDs that support your findings. Do not change any data.Plan next actions
Use the selected brand's reports and AI answers to identify 3 issues to investigate first.
Separate observed facts from proposed improvements and include supporting data.
Do not change any data.Tips
- Let skills guide command selection. The skills bundled with Orchestor CLI explain when to use
orc brands listto find brands,orc answers listto read answers, andorc reports visibility getto investigate visibility. Describe your goal so Codex can consult the relevant instructions. - Start with the task. Try “Investigate why this competitor gained visibility” or “Organize the pages being cited.” CLI workflows cover answer audits, competitor research, and other tasks. Include the target brand and date range to keep comparisons consistent.
- Discover additional MCP tools when you need them. Search with
search_tools, inspect inputs withget_tool_schema, and run the tool withexecute_tool. This discovery path is read-only. See the tool reference for details. - Launch from the project where you installed skills. Project-scoped Codex skills live in
.agents/skills. Startcodexfrom that project and checkorc workspace currentbefore working with data. - Check connections from the terminal. Use
orc auth status --jsonfor CLI authentication andcodex mcp listfor MCP registration. For CLI use in CI, follow the CI authentication guide and supply the API key through secret management.
FAQ
Troubleshooting
Build agents with Orchestor
Take what you explore in Codex into your own analysis agents and automation. Use Orchestor's MCP and CLI to bring brand visibility and AI answer research into your applications and workflows.