- 136,167GitHub stars
- Tradesinside your Guardrails
Codex CLI is OpenAI's open-source coding agent for the terminal. Add the Moby MCP with your Moby agent key and Codex can research Solana tokens and trade inside your limits.
About
Codex CLI is OpenAI's open-source (Apache-2.0) coding agent that runs locally in your terminal. It reads and edits files, runs commands, and connects to MCP servers, and it is one of Moby's supported hosts.
What it adds to Moby. A widely used terminal agent for builders who already write strategy code and scripts in Codex. With the Moby MCP attached, the same Codex session can pull Moby market data, check token risk and place trades.
How to pair it. Install Codex CLI with npm install -g @openai/codex, add the Moby MCP to your Codex MCP config with your Moby agent key, and set your agent limits in the Moby app before any live order. See the Moby setup guide at https://moby.win/agents/codex/.
What it does not do. It has no market data of its own and does not hold funds. Trades only happen through the Moby MCP. You set your agent's per-trade and daily spending limits and market-cap range; Moby blocks red-rated tokens.
See Codex Trading Skills: Add Trader Skills to OpenAI Codex.
What's inside this harness
- OpenAI's open-source terminal coding agent, Apache-2.0
- Supported Moby host
- MCP client for the Moby MCP with your Moby agent key
- Reads, edits and runs code locally
Install steps
Third-party code: Moby does not audit or control it. Read the source before you run it.
npm install -g @openai/codex(or follow https://github.com/openai/codex).- Add the Moby MCP to your Codex MCP config with your Moby agent key (guide: https://moby.win/agents/codex/).
- Set your agent limits in the Moby app before any live order.
- Ask:
Using Moby MCP, scan <token or theme> and propose a trade that stays inside my limits.
Permissions
- Reads
- Moby data through the Moby MCP; files in the folder you run Codex in
- Writes
- Trades through the Moby MCP inside your limits when you allow them; files and commands you approve
- Tools
- Codex CLI (`@openai/codex`) with MCP client
- Trade
- Trades inside your Guardrails
Review
Curated listing. Moby did not audit the code.
Links
- Repository: https://github.com/openai/codex
- Docs: https://github.com/openai/codex#readme
- Website: https://moby.win/agents/codex/
On GitHub
- Stars
- 136,167
- Forks
- 21,602
How it works with Moby
Codex CLI works on its own. With Moby your agent can also trade on what it finds.
- Set up AI Trading
In the Moby app: create your agent and fund its Solana wallet.
Get the app - Connect Moby MCP
Whale, KOL and smart-money data, plus buy, sell, SL and TP from the agent wallet.
View Moby MCP - Install Codex CLI
It runs your model against Moby's onchain data on a schedule and trades inside your Guardrails.
Install
Related
- Moby MCP connectorConnect any MCP-capable agent to Moby for live onchain research on…
- ClineCline is an open-source autonomous coding agent for the terminal and…
- Gemini CLI (with a paid Gemini API key or enterprise access)Gemini CLI (with a paid Gemini API key or enterprise access) is Google's open-source terminal agent host. Run it with…
- OpenCodeOpenCode is an open-source AI coding agent for the terminal. Add the…
- OpenHandsOpenHands is an open-source AI agent harness that connects to remote…
- Moby KnowledgeThe /agents page and agents.md as your agent's Moby reference: how…
- Moby Starter StrategiesReady-made strategy cards your agent reads with list_strategies and…
Curated listing. Moby did not audit the code · Report this item
