anthropic_agent_sdk

Level AMCP ecosystemNot an MCP ServerSource

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Overview

This example shows how to point the Claude Agent SDK at a LiteLLM gateway so the Agent SDK can use many LLM providers such as OpenAI, Bedrock, and Azure. It includes a basic interactive agent and an agent with MCP server integration (DeepWiki2), supports switching models and clearing conversations in a terminal chat, and gains cost tracking, rate limiting, load balancing, and fallbacks from LiteLLM.

⭐ 62.1kSearch & InfoPythonRepo ↗Updated 2026-10-26

Installation

View source repo →

Related servers