Claude Code CLI
A command-line tool for Claude Code provided by Anthropic. It supports an interactive REPL mode and a non-interactive one-shot invocation mode via -p/--print, allowing it to be embedded in scripts and CI pipelines.
Core Facts
Timeline (last 90 days)
Claude Code's CLI is the interface, while the Agent SDK is the Harness.
The video demonstrates running the Claude Code CLI for free on Windows via a third-party tool, with one-click installation.
In the video, the presenter confirms that the solution is 'basically free', implying that it is not official free quota but is achieved through third-party wrapping or a proxy mechanism.
This solution has a low barrier to operation but insufficient transparency; developers should weigh convenience against security and prioritize official or auditable channels.
The plugin communicates via the Claude Code CLI's stream JSON protocol (`--output-format stream-json`), launching a temporary CLI process for each model call and replaying the conversation context.
Nous Research released the Claude Subscription Direct SDK plugin, used to utilize a Claude subscription through the official Claude Code CLI within Hermes Agent.
The plugin reuses the locally logged-in Claude Code CLI as the transport layer and does not directly use subscription credentials to call the API, thus being fundamentally different from the previously banned token injection approach.
The plugin is currently labeled experimental because the replay behavior is sensitive to the Claude Code CLI version.
One Claude Code CLI PR went through more than 50 rounds of AI review and fixes overnight, and about 59% of the repeatedly flagged issues came from old code that was already present in the first round.
All Facts (13)
Claude Code CLI not only implements an MCP client but also supports running as an MCP server.
65%UnverifiedClaude Code CLI uses React + Ink to render the terminal interface.
90%UnverifiedThe API communication layer of Claude Code CLI uses SSE (Server-Sent Events) to implement streaming responses.
85%UnverifiedClaude Code CLI includes a multi-agent/team collaboration module that supports multi-agent coordination mechanisms.
80%UnverifiedClaude Code CLI supports three operating modes: CLI mode, SDK mode, and MCP mode.
60%UnverifiedClaude Code CLI在生成代码前会进行交互式确认,包括技术栈选择、文件结构确认、数据源配置等
55%UnverifiedClaude Code's CLI is the interface, while the Agent SDK is the Harness.
50%UnverifiedThis solution has a low barrier to operation but insufficient transparency; developers should weigh convenience against security and prioritize official or auditable channels.
50%UnverifiedThe plugin reuses the locally logged-in Claude Code CLI as the transport layer and does not directly use subscription credentials to call the API, thus being fundamentally different from the previously banned token injection approach.
50%UnverifiedThe plugin is currently labeled experimental because the replay behavior is sensitive to the Claude Code CLI version.
50%UnverifiedThe plugin communicates via the Claude Code CLI's stream JSON protocol (`--output-format stream-json`), launching a temporary CLI process for each model call and replaying the conversation context.
50%UnverifiedNous Research released the Claude Subscription Direct SDK plugin, used to utilize a Claude subscription through the official Claude Code CLI within Hermes Agent.
50%UnverifiedOne Claude Code CLI PR went through more than 50 rounds of AI review and fixes overnight, and about 59% of the repeatedly flagged issues came from old code that was already present in the first round.
50%