Skip to content

docs(providers): document native Anthropic provider with API key and OAuth support - #962

Open
vernonstinebaker wants to merge 3 commits into
nullclaw:mainfrom
vernonstinebaker:docs/anthropic-native-provider
Open

docs(providers): document native Anthropic provider with API key and OAuth support#962
vernonstinebaker wants to merge 3 commits into
nullclaw:mainfrom
vernonstinebaker:docs/anthropic-native-provider

Conversation

@vernonstinebaker

Copy link
Copy Markdown
Contributor

Summary

Adds a dedicated Native Anthropic Provider subsection under models.providers in both English and Chinese configuration docs.

Closes #767

What is documented

  • Direct Anthropic API key usage — no OpenRouter or proxy needed
  • OAuth / Pro-Plan token auto-detection (sk-ant-oat01- prefix → Bearer auth)
  • Custom base_url support for proxies/self-hosted
  • Full capabilities: streaming, native tool use, vision (multimodal), extended thinking
  • Model ID format with anthropic/ prefix (e.g. anthropic/claude-sonnet-4-20250514)
  • --list-models --provider anthropic tip

Why

Issue #767 revealed that users did not know NullClaw supports native Anthropic API keys — the minimal config uses OpenRouter, the provider table lists anthropic but without explanation, and OAuth token auto-detection is implemented in code but never mentioned in docs.

Files changed

  • docs/en/configuration.md — new "Native Anthropic Provider" subsection (after Common per-provider fields)
  • docs/zh/configuration.md — matching Chinese translation

…OAuth support

Add a dedicated subsection under models.providers in both English and
Chinese configuration docs explaining:

- Direct Anthropic API key usage (no OpenRouter needed)
- OAuth/Pro-Plan token auto-detection (sk-ant-oat01- prefix)
- Custom base_url support
- Capabilities: streaming, native tools, vision, extended thinking
- Model ID format with anthropic/ prefix
- --list-models --provider anthropic tip

Closes nullclaw#767
@vernonstinebaker
vernonstinebaker force-pushed the docs/anthropic-native-provider branch from ae406a7 to 73d082b Compare June 18, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Does NullClaw support native Anthropic api keys?

2 participants