Codex trading bot: build and debug Nick workflows from Codex

Connect Nick to Codex and work on your trading agent from the terminal or the Codex app. Codex builds the workflow, writes Python or TypeScript steps, reads past runs, and fixes what failed. Your agent builds; you run or activate any workflow that places orders, in Nick.

Works with the Codex CLI and the Codex app.

Try for free now

Up to 1,000 free credits as you set up. No card. No time limit.

What you can build from Codex

Paste one of these into Codex once Nick is connected. Each builds or fixes a working workflow with today's nodes.

Python RSI signal

An hourly BTC RSI check written in Python, with a Discord alert when it turns oversold.

Ask Nick
"Build a workflow that runs every hour, reads BTC hourly candles, computes the 14-period RSI in a Python Function node, and posts to my Discord when RSI drops below 30."
  • Price Data
  • Function (Python)
  • Conditional
  • Discord

Fix a failed run

Codex finds your failing workflow, reads the error, and fixes the node.

Ask Nick
"List my workflows, find the one whose last run failed, show me the error from that run, and fix the node config that caused it."
  • Workflow runs
  • Node config

SOL funding long

A 2x SOL long on Hyperliquid when funding turns negative, with a stop-loss and a text.

Ask Nick
"Build a workflow that checks SOL funding on CoinGlass every 30 minutes and, when it turns negative, opens a $300 2x long on SOL perps on Hyperliquid with a 4% stop-loss and texts me."
  • CoinGlass
  • Conditional
  • Hyperliquid order
  • SMS

What Codex can do with Nick connected

The Nick MCP server gives Codex the same workflow and data tools Nick's own agent uses. Codex builds and edits workflows in your Nick workspace and runs your data and alert workflows. You run or activate any workflow that places orders yourself, in Nick.

Build workflows from the terminal

Describe a strategy and Codex creates the workflow in Nick: nodes, connections, schedule, and alerts, ready to review on the canvas.

Write code steps

Codex writes and edits Function nodes in Python, JavaScript or TypeScript, so custom indicators and filters sit right in the workflow.

Debug past runs

Codex reads your workflow's run history and errors, explains what went wrong, and fixes the node config.

Live market data on call

Run Nick's data nodes from Codex: crypto prices, CoinGlass, Polymarket and Kalshi odds, X post search, and your portfolio.

Codex and Nick at a glance

Connect once, then work from Codex, in three steps.

Get started now

Add the server

Run this in your terminal.

codex mcp add nick --url https://app.getnick.ai/mcp
01

Sign in to Nick

Run this, sign in, pick a workspace, and click Connect. No API key to copy.

codex mcp login nick
02

Ask in plain English

Describe the strategy. Codex builds it in Nick, and you run or activate any workflow that places orders yourself, in Nick.

03

One URL gives Codex Nick's trading tools

The Nick MCP server at https://app.getnick.ai/mcp works with the Codex CLI and the Codex app. Codex can list, build, and edit your workflows, edit code steps, run data and alert workflows, read past runs, and call Nick's data nodes. Only you run or activate a workflow that places orders, in Nick.

Setup steps for Codex and other apps

Create your agent, the way you want

Chat with Nick, start from templates, clone community workflows, build from scratch, or work from your own AI assistant: five ways to launch your first agent.

Create my agent

Okay, let’s build your trading agent

I’ll set up the triggers, conditions, and execution logic for you.

Nick is working…

Chat with Nick

Describe your strategy in plain language. Nick converts it into a complete agent: signals, rules, and automated execution. No code, no complexity.

Grid TradingBuy/sell orders at intervals to trade volatility.
DCA AgentAuto-invest on schedule. Set amount and frequency, let it run.Verified
Momentum TraderRide trends with entries timed by momentum signals.Verified

Start with Templates

Choose a strategy template and customize assets, risk limits, timing, and triggers. Skip the setup and deploy in minutes.

Top ranked

created by whale_watcher

Whale Alert Trader

Trading

Monitors large wallet movements and exchange flows in real time. Trades when whales accumulate or distribute.

PopularWidely cloned
Clone this template

Clone from Community

Explore workflows their authors chose to share. Review the steps and adapt them to your own market and settings.

Add node
AllTriggersData sourcesLogicActions
Time basedRun your workflow on a schedule
Price DataReal-time and historical asset prices
Order ExecutionPlace and manage orders automatically

Build from Scratch

Design your agent step by step with visual blocks. Fine-tune monitoring, AI analysis, and execution, with complete control over every node.

Your AI assistant

Buy $100 of BTC on Coinbase every Monday and message me on Telegram.

nick · create_workflowMCP

Your agent builds; you run or activate any workflow that places orders, in Nick.

From Claude or ChatGPT

Connect Nick to the AI assistant you already use and describe your strategy in plain English. Your agent builds; you run or activate any workflow that places orders, in Nick.

Connect your assistant

Yes. With Nick connected, Codex builds and edits your trading workflows, including ones that place orders. You run or activate any workflow that places orders in Nick, never from Codex.

Run codex mcp add with the Nick server URL, then codex mcp login nick. In the Codex app, open Settings, MCP servers, and select Authenticate. Sign in to Nick, pick a workspace, and click Connect. The exact commands are on the MCP page.

Yes. Codex can add and edit Function nodes in Python, JavaScript or TypeScript, so a custom indicator or filter runs as a step in your workflow.

Yes. Inside Nick you can pick GPT models for the chat agent and for LLM steps in a workflow. GPT-5.6 Sol is the default.

No. Codex asks you to sign in to Nick and choose a workspace. You can see and disconnect connected apps in Nick under Settings > MCP.