diff options
Diffstat (limited to 'docs/anthropic-subscription-provider.md')
| -rw-r--r-- | docs/anthropic-subscription-provider.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/anthropic-subscription-provider.md b/docs/anthropic-subscription-provider.md index c6d44eb..941e33d 100644 --- a/docs/anthropic-subscription-provider.md +++ b/docs/anthropic-subscription-provider.md @@ -1,12 +1,14 @@ # Anthropic subscription provider sketch +**This is implemented as a Lua extension, not built into pantograph's core.** Everything described here — the provider, PTY management, MCP tool bridge, and hook harness — lives in a Lua extension that pantograph loads. Pantograph's core has no knowledge of Claude Code, subscription auth, or any of the mechanics below. The extension uses only the public extension/provider API surface that any third-party extension could use. + Goal: expose a pantograph provider backed by an interactive Claude Code subscription session, without using Anthropic API keys, `claude -p`, or Agent SDK metering. ## Core idea Run `claude` as an interactive TUI process under a PTY, but make it behave like a minimal local model provider: -- pantograph owns the outer UX and provider API. +- pantograph (via the Lua extension) owns the outer UX and provider API. - Claude Code provides subscription-backed model turns. - Claude built-in tools are disabled. - pantograph tools are exposed to Claude Code through MCP. |
