Pi Agent Core vs stagehand
Pi Agent Core and stagehand are both agent frameworks for TypeScript. Pi Agent Core is published by Earendil and stagehand by browserbase. On GitHub, Pi Agent Core has 117,586 stars and stagehand has 25,800. Both were last active in Oct 2026. The table lines up where they differ (publisher, weekly downloads and languages) and has the install commands for both. Everything here comes from the listings' public sources and is refreshed daily. Pi Agent Core describes itself as: Minimal TypeScript agent harness with an agent runtime, multi-provider LLM API, terminal UI and coding agent CLI that users extend themselves. stagehand: SDK for browser agents with act, observe and extract calls, used from TypeScript and Python to automate sites and pull out structured data. Licenses: Pi Agent Core MIT, stagehand MIT.
Updated Oct 26, 2026 · Built from catalog data; how we rank and grade
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.
stagehand
browserbase
SDK for browser agents with act, observe and extract calls, used from TypeScript and Python to automate sites and pull out structured data.
Who should pick which
- Pick stagehand if you work in Python and Go.
- Pi Agent Core has the larger community: 117,586 GitHub stars against 25,800.
From listing data only. We don't pick a winner on security beyond the grades; read how grades work.
Side by side
| Fact | Pi Agent Core | stagehand |
|---|---|---|
| Type | Harness | Harness |
| Publisher | Earendil | browserbase |
| License | MIT | 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 | 117,586 | 25,800 |
| Weekly downloads | 5,107,393 | 996,024 |
| Last release | Oct 21, 2026 | Oct 23, 2026 |
| Last activity | Oct 24, 2026 | Oct 23, 2026 |
Facts from each listing's public sources, checked daily. Tool lists arrive with tool scans.
Install
Pi Agent Core
npm install @earendil-works/pi-agent-core
stagehand
npm install @browserbasehq/stagehand
Also consider
- 0.851score
Strands Agents
AWS
Open-source Python and TypeScript SDK for model-driven agents, with tools, MCP, multi-agent patterns and streaming.
HarnessAFreshness: A★ 8.9K↓ 8.9M/wk - 0.841score
GitHub Copilot SDK
GitHub
Multi-language SDKs for embedding the GitHub Copilot agent runtime, with planning, tool calls and file edits, in your apps.
HarnessAFreshness: A★ 10.6K↓ 1.2M/wk - 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
Questions
- Is Pi Agent Core or stagehand more popular?
- Pi Agent Core has more GitHub stars (117,586 against 25,800). Stars measure attention, not quality, so check freshness and docs too.
- Are Pi Agent Core and stagehand open source?
- Yes: Pi Agent Core is MIT and stagehand is MIT.
Related
- AlternativesAlternatives to Pi Agent Core
- AlternativesAlternatives to stagehand
- Best ofBest agent frameworks for TypeScript
- Best ofBest agent frameworks for Python
- ComparisonPi Agent Core vs Strands Agents
- ComparisonGitHub Copilot SDK vs Pi Agent Core
- ComparisonCopilotKit vs Pi Agent Core
- ComparisonCopilotKit vs stagehand
- ComparisonLangChain vs stagehand
Cite this page
Pi Agent Core vs stagehand. Agent Mart. https://agentmart.dev/compare/pi-agent-core-vs-stagehand (last updated 2026-10-26)