{
 "kind": "tool",
 "slug": "anthropic",
 "path": "tools/anthropic/",
 "name": "Anthropic Python SDK",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Model SDKs",
   "tools/ai-sdks/"
  ]
 ],
 "lead": "Official Python library for calling Claude via the Anthropic API.",
 "chips": [
  {
   "label": "Model SDKs",
   "path": "tools/ai-sdks/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install anthropic"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/anthropics/anthropic-sdk-python"
  },
  {
   "label": "Website",
   "href": "https://github.com/anthropics/anthropic-sdk-python"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/anthropics/anthropic-sdk-python"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Nov 23, 2026. ",
   "src": "https://github.com/anthropics/anthropic-sdk-python"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "115 projects",
   "status": "info",
   "sub": "#6 of 92 in its category",
   "note": "Dependency in 115 public GitHub projects set up for AI coding agents that we scanned (1.8%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "4 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Anthropic Python SDK does",
   "parts": [
    {
     "t": "prose",
     "text": "Official Python library for calling Claude via the Anthropic API."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Anthropic Python SDK popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "74",
       "of": "/ 100",
       "l": "Gid Score, #231 overall"
      },
      {
       "n": "51.5M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "4,098",
       "l": "GitHub stars"
      },
      {
       "n": "115",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Anthropic Python SDK is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Anthropic Python SDK is a dependency in 115 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (7.1% of the 1,623 Python ones), #6 of 92 in model sdks.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 1,135; those are left out of every share on this page.",
      "The most used alternative in our scan is OpenAI Python Library (248 projects).",
      "Projects that use it most often also use python-dotenv (60.0%), OpenAI Python Library (56.5%), Pydantic (51.3%).",
      "It is more common in projects set up for OpenClaw (5.7%) than for GitHub Copilot (1.3%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "80 projects, 2.4%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "40 projects, 1.3%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "37 projects, 1.5%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "19 projects, 5.7%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      },
      {
       "l": "15 projects, 3.2%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "10 projects, 2.1%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "9 projects, 2.6%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      },
      {
       "l": "8 projects, 5.7%",
       "v": "Kiro",
       "path": "agents/kiro/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 60.0% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 56.5% of its projects",
       "v": "OpenAI Python Library",
       "path": "tools/openai-pypi/"
      },
      {
       "l": "In 51.3% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 40.9% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 40.0% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 36.5% of its projects",
       "v": "PyYAML",
       "path": "tools/pyyaml/"
      },
      {
       "l": "In 35.7% of its projects",
       "v": "Model Context Protocol SDK (Python)",
       "path": "tools/mcp/"
      },
      {
       "l": "In 34.8% of its projects",
       "v": "Rich",
       "path": "tools/rich/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Anthropic Python SDK",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "anthropic-administrator-automation: Automate Anthropic Admin tasks via Rube MCP (Composio). Always search tools first for current schemas.",
        "anthropic-administrator-automation: Automate Anthropic Admin tasks via Rube MCP (Composio). Always search tools first for current schemas.",
        "anthropic: Check Anthropic API access and list available Claude models. Read-only. Trigger phrases: anthropic, claude models, anthropic api.",
        "anthropic-frontend-design: This skill should be used when the user asks for \"art direction\", \"a distinctive visual identity\", or \"a visual redesign\". Develop typograph"
       ]
      },
      {
       "title": "Head to head",
       "items": [
        {
         "text": "OpenAI Python Library vs Anthropic Python SDK",
         "note": "used together in 65 projects",
         "path": "tools/compare/openai-python-library-vs-anthropic-python-sdk/"
        },
        {
         "text": "Anthropic Python SDK vs Google GenAI Python SDK",
         "note": "used together in 20 projects",
         "path": "tools/compare/anthropic-python-sdk-vs-google-genai-python-sdk/"
        }
       ]
      },
      {
       "title": "More in Model SDKs",
       "path": "tools/ai-sdks/",
       "items": [
        {
         "text": "OpenAI",
         "path": "tools/openai-npm/"
        },
        {
         "text": "AI SDK",
         "path": "tools/ai/"
        },
        {
         "text": "Anthropic SDK",
         "path": "tools/anthropic-ai/"
        },
        {
         "text": "Google Generative AI",
         "path": "tools/google-genai-npm/"
        },
        {
         "text": "Hugging Face Hub",
         "path": "tools/huggingface-hub/"
        },
        {
         "text": "LiteLLM",
         "path": "tools/litellm/"
        },
        {
         "text": "Ollama",
         "path": "tools/ollama-pypi/"
        },
        {
         "text": "Transformers.js",
         "path": "tools/huggingface/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Anthropic Python SDK",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 74",
        "51.5M/wk"
       ]
      },
      {
       "name": "OpenAI Python Library",
       "why": "Official Python SDK to call OpenAI APIs including GPT models and embeddings.",
       "path": "tools/openai-pypi/",
       "facts": [
        "Apache-2.0",
        "Gid 86",
        "94.8M/wk"
       ]
      },
      {
       "name": "Google GenAI Python SDK",
       "why": "Official Python SDK for Google's generative AI models including Gemini.",
       "path": "tools/google-genai-pypi/",
       "facts": [
        "Apache-2.0",
        "Gid 73",
        "40.7M/wk"
       ]
      },
      {
       "name": "OpenAI Agents SDK (Python)",
       "why": "Official SDK for building and running agents with OpenAI models.",
       "path": "tools/openai-agents-pypi/",
       "facts": [
        "MIT",
        "Gid 71",
        "5.2M/wk"
       ]
      },
      {
       "name": "DashScope SDK",
       "why": "Official Python client SDK for Alibaba DashScope API to call language models.",
       "path": "tools/dashscope/",
       "facts": [
        "Apache-2.0",
        "Gid 43",
        "339K/wk"
       ]
      },
      {
       "name": "Mistral AI SDK",
       "why": "Official Python SDK for the Mistral AI API to call Mistral language models.",
       "path": "tools/mistralai/",
       "facts": [
        "Apache-2.0",
        "Gid 50",
        "3.3M/wk"
       ]
      },
      {
       "name": "Cohere",
       "why": "Official SDK for accessing Cohere's language models and APIs.",
       "path": "tools/cohere/",
       "facts": [
        "MIT",
        "Gid 50",
        "2.9M/wk"
       ]
      }
     ],
     "more": "Compare Anthropic Python SDK with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install anthropic"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Anthropic Python SDK yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi anthropic"
  ],
  [
   "Category",
   "Model SDKs"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "74.1"
  ],
  [
   "Rank in category",
   "#6 of 92"
  ],
  [
   "GitHub",
   "anthropics/anthropic-sdk-python"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/anthropics.png"
}