summaryrefslogtreecommitdiff
path: root/docs/anthropic-subscription-provider.md
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-06-05 10:38:54 -0600
committert <t@tjp.lol>2026-06-05 10:39:02 -0600
commit003908344336cc13e74618291aa9f3af137f030f (patch)
tree097d5192372692e79d71f8d9d985097c1a946231 /docs/anthropic-subscription-provider.md
parent3f1ace16afc7877b0bfad374cb286d4d84140960 (diff)
docs
* note on the claude subscription provider plan that this is an extension, not panto core, not to be published * archive that old "overview" doc * new doc: pluggable session stores * new doc: libpanto C wrappers, FFI wrappers for python and go
Diffstat (limited to 'docs/anthropic-subscription-provider.md')
-rw-r--r--docs/anthropic-subscription-provider.md4
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.