{"adoption": {"forks": 1249, "observed_at": "2026-08-28T04:10:10.490900+00:00", "stars": 7981}, "canonical_url": "https://ross.abutalabs.com/products/claude-agent-sdk-python", "card": {"archived": false, "artifact_type": "library", "description": null, "domain": ["large-language-models", "developer-tools"], "enriched": true, "function": ["agent-framework", "llm-inference", "sdk", "chatbot"], "health_score": 100, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["anthropics/claude-agent-sdk-python"], "name": "anthropics/claude-agent-sdk-python", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2026-08-25T22:47:08+00:00", "repo": "anthropics/claude-agent-sdk-python", "stars": 7981, "tags": ["claude", "anthropic", "claude-code", "mcp", "async", "anyio", "tool-use", "agentic-coding", "ai-agents"], "topics": [], "urls": [], "use_cases": ["build ai agents in python with claude", "programmatically drive claude code from a script", "add custom tools to a claude agent via mcp", "automate coding tasks with an llm agent", "run interactive bidirectional conversations with claude", "control tool permissions for an ai agent"], "what_it_is": "The official Python SDK for building agents on top of Claude Code, providing async query APIs, bidirectional conversations, custom tools via in-process MCP servers, hooks, and permission controls. The Claude Code CLI is bundled with the package so no separate installation is required.", "when_to_avoid": ["you need a provider-agnostic agent framework that works with models other than Claude", "you want a lightweight raw LLM API client rather than an agentic tool-use SDK", "your project cannot use Python 3.10+ or the bundled Node-based Claude Code CLI"], "when_to_choose": ["you want to build Python applications or automations powered by Claude Code's agent capabilities", "you need custom in-process tools, hooks, and fine-grained permission control over agent actions", "you prefer an async Python API with a bundled CLI for zero-setup"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/claude-agent-sdk-python", "repo": "anthropics/claude-agent-sdk-python", "role": "main", "score": 81}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:10.490900+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:32:35.014727+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5784b42241405ad38385d0625713f7c8504c49156289b583fbcaa0808c52667a", "fetched_at": "2026-08-28T04:10:10.490900+00:00", "kind": "readme", "missing": false, "url": "https://github.com/anthropics/claude-agent-sdk-python"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:10.490900+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:32:35.014727+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5784b42241405ad38385d0625713f7c8504c49156289b583fbcaa0808c52667a", "fetched_at": "2026-08-28T04:10:10.490900+00:00", "kind": "readme", "missing": false, "url": "https://github.com/anthropics/claude-agent-sdk-python"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:32:35.014727+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5784b42241405ad38385d0625713f7c8504c49156289b583fbcaa0808c52667a", "fetched_at": "2026-08-28T04:10:10.490900+00:00", "kind": "readme", "missing": false, "url": "https://github.com/anthropics/claude-agent-sdk-python"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:10.490900+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:10.490900+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:10.490900+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:32:35.014727+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5784b42241405ad38385d0625713f7c8504c49156289b583fbcaa0808c52667a", "fetched_at": "2026-08-28T04:10:10.490900+00:00", "kind": "readme", "missing": false, "url": "https://github.com/anthropics/claude-agent-sdk-python"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:10.490900+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:10.490900+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:32:35.014727+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5784b42241405ad38385d0625713f7c8504c49156289b583fbcaa0808c52667a", "fetched_at": "2026-08-28T04:10:10.490900+00:00", "kind": "readme", "missing": false, "url": "https://github.com/anthropics/claude-agent-sdk-python"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:10.490900+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:10.490900+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:10.490900+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:32:35.014727+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5784b42241405ad38385d0625713f7c8504c49156289b583fbcaa0808c52667a", "fetched_at": "2026-08-28T04:10:10.490900+00:00", "kind": "readme", "missing": false, "url": "https://github.com/anthropics/claude-agent-sdk-python"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:10.490900+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:10.490900+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:32:35.014727+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5784b42241405ad38385d0625713f7c8504c49156289b583fbcaa0808c52667a", "fetched_at": "2026-08-28T04:10:10.490900+00:00", "kind": "readme", "missing": false, "url": "https://github.com/anthropics/claude-agent-sdk-python"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:32:35.014727+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5784b42241405ad38385d0625713f7c8504c49156289b583fbcaa0808c52667a", "fetched_at": "2026-08-28T04:10:10.490900+00:00", "kind": "readme", "missing": false, "url": "https://github.com/anthropics/claude-agent-sdk-python"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:32:35.014727+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5784b42241405ad38385d0625713f7c8504c49156289b583fbcaa0808c52667a", "fetched_at": "2026-08-28T04:10:10.490900+00:00", "kind": "readme", "missing": false, "url": "https://github.com/anthropics/claude-agent-sdk-python"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:32:35.014727+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5784b42241405ad38385d0625713f7c8504c49156289b583fbcaa0808c52667a", "fetched_at": "2026-08-28T04:10:10.490900+00:00", "kind": "readme", "missing": false, "url": "https://github.com/anthropics/claude-agent-sdk-python"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 32, "rhythm": 87}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 448, "days_push": 8, "days_rel": 7, "gap_med": 1, "n_releases_24m": 152}, "score": 81, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}