Back to prompt library
Initialize Claude Agent SDK Router
Linked challenge: Build an ONDC Grocery Triage Agent with Claude Agents SDK & OpenRouter
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Initialize a Claude Agents SDK agent using OpenRouter API backend. Import `from claude_agent_sdk import Agent, Tool` and set up the default tool definitions for ONDC merchant catalog inspection and dispatch status checks.