Routines · Codex · runs on your machine

Your Codex CLI.
On autopilot.

Schedule any Codex task. It runs sandboxed on your machine. Results land in your workspace — uses your own OpenAI API key.

Live preview — create routine → scheduler fires → Codex executes → result stored

Use cases

What you can automate

Any task you would give Codex manually can become a routine. Set the schedule once and it runs forever, fully sandboxed.

🔎
Automated code review
Daily · 09:00 UTC

Review the diff of yesterday's merged PRs, flag risky patterns and write code-review-{date}.md

Each morning Codex reviews what merged overnight and surfaces risky changes before they reach production.

🔧
Sandboxed refactoring pass
Weekly · Sunday 02:00

Find deprecated API usage in src/, apply safe fixes in an isolated CODEX_HOME, commit with a descriptive message

Codex runs the refactor in its own isolated environment, so nothing interferes with other agents working the same repo.

⚙️
Parallel agent config audit
Daily · 05:00 UTC

Diff each agent's CODEX_HOME config against the team baseline, flag drift in config-audit-{date}.md

With every Codex agent sandboxed to its own CODEX_HOME, this routine catches config drift across your fleet before it causes a flaky run.

🧪
Test coverage sweep
Weekly · Monday 07:00

Identify modules with low test coverage in src/, generate missing unit tests, open a report at coverage-gaps.md

Codex hunts down untested code paths weekly and drafts tests you can review and merge.

Setup

Running in 3 steps

1

Create an account

Sign up at app.ctrlnode.ai — free, no credit card. Grab your Bridge pairing token from Settings.

2

Start the Bridge

Download the Bridge binary from GitHub Releases and run it on your machine. No open ports — connects outbound only.

Set your OpenAI API key as an env var — that's it.

3

Create your first routine

Open Routines → New Routine
Write the instructions for Codex in plain English
Pick the schedule: hourly, daily, weekly, or custom cron
Hit Save — done. Codex handles the rest
Pay-per-token
No CTRL NODE markup

Routines call the OpenAI API directly with your own key — you only pay OpenAI's standard token rates, no extra fees from us.

0
Open ports required

The Bridge connects outbound to CTRL NODE. Works behind any NAT, firewall, or corporate proxy — no router config needed.

CODEX_HOME
Per-agent isolation included

Every Codex agent gets its own isolated CODEX_HOME — no shared state, no cross-agent pollution, even running routines in parallel.

Flexible scheduling

Hourly, daily, weekdays only, weekly, or a custom cron expression. The scheduler runs in CTRL NODE's cloud and wakes your Bridge on time — even if you've closed your laptop lid.

Full run history

Every execution is logged — status, timestamps, live output, and the files Codex produced. View any run in detail from the CTRL NODE app, even on mobile.

File artifacts in workspace

Any file Codex writes — refactored code, reports, generated tests — lands directly in your local workspace. Git-trackable, ready to review and commit.

Trigger manually anytime

Don't wait for the next run — hit RUN NOW from the app and Codex starts immediately. Full history tracks every manual trigger too.

Free · No credit card · Bring your own OpenAI API key

Your first Codex routine
is 5 minutes away

Free account. Install the Bridge. Create a routine. Codex handles the rest — sandboxed, isolated, and on your schedule.