AgentPTY: bypassing Claude Code subscription limits

Developers have introduced the experimental AgentPTY tool. It automates the interactive Claude Code CLI through a local FastAPI and a pseudoterminal PTY.
The project addresses the upcoming Anthropic pricing split. Starting June 2026, the company plans to charge separately for using the Claude Agent SDK and non-interactive commands, while keeping standard Pro or Max subscriptions for regular interactive terminal work.
AgentPTY runs Claude Code inside a PTY, mimicking human actions. It sends requests, tracks generation completion via webhooks, and returns the response text. This allows free automation of routine tasks while preserving the main subscription limits.
Up next
Claude Code v2.1.145 is released
Claude Code can now output active sessions in JSON, making it easy to embed in automation scripts or status bars. The tool is becoming a more integral part of the developer’s console workflow.
Related stories
- Makoto is a Claude Code plugin that blocks the agent’s false claims
- agentpeek keeps Claude Code sessions alive after you close the laptop
- Drawbridge: visual editing for Claude Code in the browser
- FleetView: a browser-based dashboard for parallel Claude Code agents
- Capacitor persists Claude Code and Cursor sessions to a shared store
- LoopFlow automates Claude Code with looping workflows
Comments
No comments yet. Be the first.
Join the conversation
Sign in to leave a comment. It appears after moderation.

