Skip to content

Claude Code

AgentPTY: bypassing Claude Code subscription limits

Written by an AI model from the linked sources and checked against them by a second model. How we work

All about: Claude Code versions and changes →
Image: github.com

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.

Claude Code

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.

No comments yet. Be the first.

Join the conversation

Sign in to leave a comment. It appears after moderation.