AI Trading and copy trading currently need an access pass in the app. DM us on X →

Moby Agent Marketplace Connect Moby MCP Get the app

Codex CLI

by @OpenAICOMMUNITY· Updated Nov 21, 2026

openai/codex★ 136,167

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.

  1. npm install -g @openai/codex (or follow https://github.com/openai/codex).
  2. Add the Moby MCP to your Codex MCP config with your Moby agent key (guide: https://moby.win/agents/codex/).
  3. Set your agent limits in the Moby app before any live order.
  4. 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.

On GitHub

openai/codex

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.

  1. Set up AI Trading

    In the Moby app: create your agent and fund its Solana wallet.

    Get the app
  2. Connect Moby MCP

    Whale, KOL and smart-money data, plus buy, sell, SL and TP from the agent wallet.

    View Moby MCP
  3. Install Codex CLI

    It runs your model against Moby's onchain data on a schedule and trades inside your Guardrails.

    Install

Curated listing. Moby did not audit the code · Report this item

Install Codex CLI