Codex CLI.
Anywhere, via Telegram.

Run OpenAI's open-source coding agent remotely from any device. No terminal required. Connect Telegram in under 5 minutes.

From zero to live in 5 minutes.

Watch the full setup flow — install, connect Telegram, send your first command.

zsh — myproject
$ 
  Downloading remoteagent v1.0.0...
  Verifying checksum...
  Installing to /usr/local/bin/remoteagent...
 remoteagent installed
 
$ 
? Select a runner (↑↓ arrows, enter)
claude-code
claude-sdk
gemini
codex-cli
aider
opencode
 Runner: codex-cli
 
? ChatGPT token / API key
 API key saved
 
? Pairing code (see dashboard): 
 
  Connecting to remoteagent.chat...
 Agent paired successfully
  Listening on myproject...
remoteagent.chat/dashboard
Agents
+ Pair new agent
Project name
Generate pairing code
Paste this in your terminal
Expires in 10:00
Agent live on Telegram
Your Codex CLI agent is now listening for commands from any device.
✓  Connected to remoteagent.chat
✓  Runner: codex-cli
✓  Telegram bot active
RA
remoteagent.chat
bot
✓ Agent active
myproject is now connected.
Send your first command to get started.12:33
Hello!12:34 ✓✓
Hi! How can I help you today?12:34
Message...

Three steps.
Then just type.

Everything set up from one terminal command.

01
Install the agent

One curl command installs RemoteAgent.CHAT and runs the setup wizard. Select Codex CLI as your runner — the wizard installs it if needed. Your API keys never leave your machine.

curl -fsSL https://remoteagent.chat/install | bash
02
Connect Telegram

Log in to remoteagent.chat — your pairing code is waiting in the dashboard. Paste it into the wizard. Telegram is linked in seconds. No BotFather, no webhook setup.

remoteagent init
03
Start building

Message your bot in natural language. “Refactor the auth module.” “Fix the 500 error in /api/users.” “Push to main.” Codex CLI handles the rest.

just type, your agent does the rest

Everything Codex CLI can do.
From your pocket.

Telegram interface

Send prompts to Codex CLI from Telegram without opening a terminal. Works from your phone, tablet, or any device with Telegram installed.

Fire and forget

Send a task, close Telegram, come back later. RemoteAgent.CHAT pings you when Codex is done — or if it hits an error. No babysitting required.

Multi-project, one bot

Register each repo as a separate agent. Switch with /repo and Codex picks up the right project directory. Your whole stack from one conversation.

Always-on daemon

Codex CLI runs persistently in the background. No need to restart a session every time — it's waiting for your next command, day or night.

Voice & image

Describe tasks by voice — transcribed automatically. Send a screenshot of a bug or a UI mock for Codex to implement.

Session dashboard

Review every command sent to Codex, its output, and status in a web dashboard. Useful for teams and for auditing AI-generated changes.

Codex CLI must be installed on your machine. If it's not already installed:

npm i -g @openai/codex

The remoteagent init wizard will check for it and offer to install it if it's missing.

Codex CLI + Telegram — FAQ

Do I need a ChatGPT subscription to use Codex CLI?

Codex CLI supports both ChatGPT device auth (Plus, Pro, Business, Edu, Enterprise) and a CODEX_API_KEY. RemoteAgent.CHAT works with both — your credentials stay on your machine and are used directly by the Codex process.

Can I run Codex CLI on a remote Linux server?

Yes. Install Codex CLI and RemoteAgent.CHAT on your server, run remoteagent init, and pair it with Telegram. You then control Codex from your phone with no SSH session required while it's running.

Does Codex's sandbox mode still apply?

Yes. Codex CLI runs with workspace-write sandbox by default via RemoteAgent.CHAT — the same setting used for automated runs. All Codex sandbox and security controls are preserved.

Does my token or API key leave my machine?

Never. Your credentials are stored locally and used by the Codex process running on your machine. They are never sent to RemoteAgent.CHAT servers.

Can I mix Codex CLI with other runners across projects?

Yes. Each project can run a different AI tool. Use Codex CLI for OpenAI-based projects and Claude Code or Aider for others — all from the same Telegram bot.

How long does setup take?

Under 5 minutes. Install the CLI with one curl command, run remoteagent init, paste the pairing code from the dashboard, and you're live on Telegram. No server config, no ports, no reverse proxy.

Want a detailed feature comparison? See Codex CLI vs RemoteAgent.CHAT full comparison →

Try everything free.
For 14 days.

Full Pro access from day one. No credit card. No feature limits.

Solo
$5/mo
billed monthly
  • 1 project
  • Agent offline alerts
  • Voice input — 30 min/mo
Start free trial
Enterprise
Need more seats?
Let's talk.
  • Unlimited seats
  • Custom integrations
  • SLA & invoicing
Contact us
14-day free trial on all plans — no credit card required. Cancel anytime.

Use Codex CLI with Telegram.
Start free today.

14 days Pro, no credit card. Set up in under 5 minutes.

curl -fsSL https://remoteagent.chat/install | bash