Claude Agent SDK (TypeScript) vs Pi Agent Core
Claude Agent SDK (TypeScript) and Pi Agent Core are both agent frameworks for TypeScript. Claude Agent SDK (TypeScript) is published by Anthropic and Pi Agent Core by Earendil. On GitHub, Pi Agent Core has 117,586 stars and Claude Agent SDK (TypeScript) has 1,831. Both were last active in Oct 2026. The table lines up where they differ (publisher, GitHub stars, weekly downloads and category) and has the install commands for both. Everything here comes from the listings' public sources and is refreshed daily. Claude Agent SDK (TypeScript) describes itself as: TypeScript SDK that gives programs Claude Code's built-in tools for reading, editing and running code, installed from npm. Pi Agent Core: Minimal TypeScript agent harness with an agent runtime, multi-provider LLM API, terminal UI and coding agent CLI that users extend themselves. Licenses: Claude Agent SDK (TypeScript) unknown, Pi Agent Core MIT.
Updated Oct 26, 2026 · Built from catalog data; how we rank and grade
Claude Agent SDK (TypeScript)
Anthropic
TypeScript SDK that gives programs Claude Code's built-in tools for reading, editing and running code, installed from npm.
Pi Agent Core
Earendil
Minimal TypeScript agent harness with an agent runtime, multi-provider LLM API, terminal UI and coding agent CLI that users extend themselves.
Who should pick which
- Pick Pi Agent Core if you want a stable release (Claude Agent SDK (TypeScript) is marked beta).
- Pi Agent Core has the larger community: 117,586 GitHub stars against 1,831.
From listing data only. We don't pick a winner on security beyond the grades; read how grades work.
Side by side
| Fact | Claude Agent SDK (TypeScript) | Pi Agent Core |
|---|---|---|
| Type | Harness | Harness |
| Publisher | Anthropic | Earendil |
| License | License unknown | MIT |
| Pricing | Not stated | Not stated |
| Runs | Not stated | Not stated |
| Auth | Not stated | Not stated |
| Hosts supported | Not stated | Not stated |
| Tools | Not listed yet | Not listed yet |
| Security grade | –Security: not graded yet | –Security: not graded yet |
| Freshness grade | AFreshness: A | AFreshness: A |
| GitHub stars | 1,831 | 117,586 |
| Weekly downloads | 8,074,182 | 5,107,393 |
| Last release | Oct 23, 2026 | Oct 21, 2026 |
| Last activity | Oct 23, 2026 | Oct 24, 2026 |
Facts from each listing's public sources, checked daily. Tool lists arrive with tool scans.
Install
Claude Agent SDK (TypeScript)
npm install @anthropic-ai/claude-agent-sdk
Pi Agent Core
npm install @earendil-works/pi-agent-core
Also consider
- 0.831score
CopilotKit
CopilotKit
Open-source SDK that connects AI agents to app front ends with chat UI, generative UI, shared state and human approvals; creator of the AG-UI protocol.
HarnessAFreshness: A★ 38.2K↓ 286.2K/wk - 0.740score
Deep Agents
LangChain
Opinionated agent harness on LangGraph with sub-agents, filesystem access, context management, persistent memory and approval of tool calls.
HarnessAFreshness: A★ 30.6K↓ 1.9M/wk - 0.737score
Mastra
Mastra
TypeScript framework for AI agents and apps with graph-based workflows, memory, suspend-and-resume approvals, MCP servers and model routing.
HarnessAFreshness: A★ 29.1K↓ 1.4M/wk
Questions
- Is Claude Agent SDK (TypeScript) or Pi Agent Core more popular?
- Pi Agent Core has more GitHub stars (117,586 against 1,831). Stars measure attention, not quality, so check freshness and docs too.
- Are Claude Agent SDK (TypeScript) and Pi Agent Core open source?
- Pi Agent Core is open source (MIT); the other is unknown.
Related
- AlternativesAlternatives to Claude Agent SDK (TypeScript)
- AlternativesAlternatives to Pi Agent Core
- Best ofBest agent frameworks for building AI agents
- Best ofBest agent frameworks for TypeScript
- ComparisonClaude Agent SDK (TypeScript) vs CopilotKit
- ComparisonClaude Agent SDK (TypeScript) vs Deep Agents
- ComparisonPi Agent Core vs Strands Agents
- ComparisonGitHub Copilot SDK vs Pi Agent Core
- ComparisonCopilotKit vs Pi Agent Core
Cite this page
Claude Agent SDK (TypeScript) vs Pi Agent Core. Agent Mart. https://agentmart.dev/compare/claude-agent-sdk-typescript-vs-pi-agent-core (last updated 2026-10-26)