Repository navigation
Dapr Agents: document the Anthropic chat client - #5342
Merged
marcduiker merged 1 commit intoSep 28, 2026
Merged
Conversation
Signed-off-by: Casper Nielsen <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds documentation for the Dapr Agents
AnthropicChatClient, which brings the client in line with the other LLM backends (dapr/dapr-agents#733). Until now the docs had no page for Anthropic.developing-ai/dapr-agents/integrations/providers/anthropic.md. It covers:dapr-agents, so there is no extra to install.ANTHROPIC_API_KEY,ANTHROPIC_MODEL(defaultclaude-sonnet-4-6),ANTHROPIC_BASE_URL,timeout, and the defaultmax_tokens=4096.generate(...)calls, including passing extra options through to the API (for examplethinking).llmof aDurableAgent.stream=Trueand theon_chunkcallback: which chunks are produced, their metadata, and how thinking data is collected.image_urlblocks (HTTP(S) URLs and base64 data URIs) are translated to Anthropic image blocks. The page lists the supported media types.AgentToolis formatted for Anthropic,tool_choiceaccepts either form, and the page notes a limit on dict tools.jsonandfunction_callmodes,list[Model], the behaviour when combined with streaming, and a note on the mode aDurableAgentuses internally.type: anthropic.dapr-agents-core-concepts.md: addsAnthropicChatClientto the list of LLM clients and links to the new page.All behaviour was checked against
dapr_agents/llm/anthropic/on dapr-agentsmain.Issue reference
Documents dapr/dapr-agents#733.
Checklist
reflinks point to existing pages🤖 Generated with Claude Code