
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
@lucascouts/claude-agent-tui
Advanced tools
Run the official Claude Code TUI in Zed's agent panel on your Claude Pro/Max subscription — an ACP-over-PTY bridge created for Anthropic's June 2026 billing split (paused June 15; see README).
An ACP-compatible agent that drives the Claude Code subscription TUI over a PTY, so your Claude Code threads render natively in Zed and other ACP clients.
Fork of
@agentclientprotocol/claude-agent-acpv0.39.0. Where the upstream adapter calls the Claude Agent SDK, this fork spawns theclaudesubscription CLI in a pseudo-terminal and translates its JSONL transcript into ACPsession/updatenotifications. See.fork-provenance.jsonfor the exact fork point.
On June 15, 2026, Anthropic split Claude subscription billing into two pools: Anthropic's first-party tools (chat and the official Claude Code CLI) keep using your Pro/Max subscription, while third-party agents and SDK usage are billed separately at API rates — roughly 15–30× more expensive (separate monthly credits: $20 Pro / $100 Max 5x / $200 Max 20x).
In practice, Zed's built-in Claude integration now draws from those expensive third-party credits instead of your subscription. The official claude CLI/TUI, however, still runs on your subscription.
This project bridges the two: it drives the official Claude Code TUI over a PTY and exposes it through the ACP protocol, so Zed renders it as a native agent panel — giving you the full Claude Code experience inside Zed on your existing subscription, not API credits.
"Update June 15: We're pausing the changes to Claude Agent SDK usage described below. For now, nothing has changed: Claude Agent SDK, claude -p, and third-party app usage still draw from your subscription's usage limits. The previously announced monthly credit, which would have been available to eligible claimants in connection with these changes, isn't available. We’re working to update the plan to better support how users build with Claude subscriptions. When we have an update, we'll share it before anything takes effect."
https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan
Not affiliated with or endorsed by Anthropic or Zed Industries. Use of the
claudeCLI remains subject to Anthropic's terms.
claude CLI (Claude Code subscription) available on your PATH.Build the agent, then point Zed's agent_servers at the built entrypoint:
// ~/.config/zed/settings.json
{
"agent_servers": {
"Claude Agent TUI": {
"type": "custom",
"command": "node",
"args": ["/absolute/path/to/claude-agent-tui/dist/index.js"],
"env": {},
},
},
}
Open the Agent Panel in Zed and select Claude Agent TUI.
npm install
npm run build
npm test
Socket flags some
dependency alerts (Native code, Install scripts, Shell access, plus
heuristic flags on the Anthropic SDK tree). None are CVEs or malware — they
are expected capability flags:
node-pty (the same PTY that powers VS Code) needs Native code /
Install scripts / Shell access — driving the claude TUI in a real PTY is
the whole point of this bridge.@anthropic-ai/claude-agent-sdk, of which this fork uses only two pure,
billing-free functions (getSessionMessages, resolveSettings).All direct dependencies are first-party publishers (Microsoft, Anthropic, Zed).
Apache-2.0. This is a derivative work; original copyright belongs to Zed Industries and the Agent Client Protocol authors.
FAQs
Run the official Claude Code TUI in Zed's agent panel on your Claude Pro/Max subscription — an ACP-over-PTY bridge created for Anthropic's June 2026 billing split (paused June 15; see README).
The npm package @lucascouts/claude-agent-tui receives a total of 305 weekly downloads. As such, @lucascouts/claude-agent-tui popularity was classified as not popular.
We found that @lucascouts/claude-agent-tui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.