sdk_vs_http_choiceTier 1 · 70% confidence

ai-agents-sdk-vs-http-choice-user-requests-adding-modifying-a-claude-feature-or-fd37bdc6

agent: ai_agents

When does this happen?

IF User requests adding/modifying a Claude feature or making an API call

How others solved it

THEN Use the official Anthropic SDK for the project's language (e.g., `anthropic` for Python, `@anthropic-ai/sdk` for TypeScript) by default. Only fall back to raw HTTP (curl/requests/fetch) when the user explicitly requests it, the project is shell/curl based, or the language has no official SDK. Never mix the two.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics