DEV Community

Xian XX
Xian XX

Posted on

WTAgent: Turn ChatGPT Web into a Codex-style Local Coding Agent (Open Source)

I kept copy-pasting code between ChatGPT's web UI and my editor, so I built WTAgent — a free, open-source (MIT) CLI that turns your ChatGPT Web account (including Pro) into a Codex-style local coding agent, and your Claude Web into a Claude Code-style agent.

How it works

WTAgent runs in your terminal, drives a dedicated Chrome profile where you're signed into your web AI, and closes the loop locally:

  1. Reads your project files
  2. Plans changes and edits files
  3. Runs commands/tests and verifies results

No model API key, no MCP server, no tunnel — it uses the web subscription you already pay for.

Multi-provider

wtagent --model claude (or deepseek / gemini / grok / kimi / glm) switches the web AI driving the loop.

Install

npm i -g wtagent
wtagent
Enter fullscreen mode Exit fullscreen mode

Works on macOS, Linux and Windows (WSL2). Node 20.17+ and Chrome/Chromium required.

Links

Independent CLI, not an official Codex or Claude Code client. Your code/outputs sent to the chat go to the provider, so follow their terms; local policy checks aren't a sandbox.

Feedback welcome — especially first-run issues!

Top comments (0)