cd /news/ai-agents/wtagent-turn-chatgpt-web-into-a-code… · home topics ai-agents article
[ARTICLE · art-134027] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

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

A developer released WTAgent, a free, MIT-licensed CLI that turns ChatGPT Web and Claude Web accounts into Codex-style local coding agents. The tool drives a dedicated Chrome profile signed into the user's web AI subscription, requiring no model API key, MCP server, or tunnel, and supports switching between models including Claude, DeepSeek, Gemini, Grok, Kimi, and GLM. It runs on macOS, Linux, and Windows via WSL2 with Node 20.17+ and Chrome/Chromium.

by read1 min views3 publishedSep 18, 2026

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.

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

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

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

npm i -g wtagent
wtagent

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

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!

── more in #ai-agents 4 stories · sorted by recency
── more on @wtagent 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/wtagent-turn-chatgpt…] indexed:0 read:1min 2026-09-18 ·