Skip to content

docs: native Anthropic Messages API as the supported route for Anthropic models - #6

Merged
irl-dan merged 1 commit into
mainfrom
docs/anthropic-native-provider
Jun 3, 2026
Merged

docs: native Anthropic Messages API as the supported route for Anthropic models#6
irl-dan merged 1 commit into
mainfrom
docs/anthropic-native-provider

Conversation

@irl-dan

@irl-dan irl-dan commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Companion to openprose/prose #113 (reactor-cli 0.2.2).

Anthropic's OpenAI-compat endpoint is documented as testing-only and ignores response_format, so it can't drive Reactor's structured compile/render. These docs now present the native Messages API (the @openai/agents AI-SDK adapter over @ai-sdk/anthropic) as the supported route for Anthropic models:

  • sdk/agents.mdx — new "Claude via the native Anthropic Messages API" section with the aisdk(anthropic(...)) ModelProvider snippet (still plain @openai/agents config, zero SDK changes); the warn callout now cites Anthropic's own documented stance; the BYO table flags the compat row as plain-text only.
  • cli/configuration.mdxprovider: anthropic now routes natively and supports structured outputs out of the box (the CLI bundles the adapter); the old "prefer openrouter" warn callout becomes an info note covering both supported routes.
  • .cspell.json — add aisdk.

House style: -- (no em dashes); em-dash check passes.

…pic models

Anthropic's OpenAI-compat endpoint is documented as testing-only and ignores
response_format, so it can't drive Reactor's structured compile/render. Reframe
the docs around the supported native route:

- sdk/agents: add a "native Anthropic Messages API" section (the @openai/agents
  AI-SDK adapter over @ai-sdk/anthropic, zero SDK changes); rewrite the callout
  with Anthropic's own documented stance; flag the compat table row as plain
  text only.
- cli/configuration: provider: anthropic now routes natively and supports
  structured outputs out of the box (the CLI bundles the adapter); rewrite the
  warn callout into an info note covering the native route + OpenRouter.
- cspell: add aisdk.
@irl-dan
irl-dan force-pushed the docs/anthropic-native-provider branch from f73c8ed to 5ea70a1 Compare June 3, 2026 19:12
@irl-dan
irl-dan merged commit 3fc6cd3 into main Jun 3, 2026
4 checks passed
@irl-dan
irl-dan deleted the docs/anthropic-native-provider branch June 3, 2026 19: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.

1 participant