OpenAI Agents SDK (JavaScript) vs Pi Agent Core
OpenAI Agents SDK (JavaScript) and Pi Agent Core are both agent frameworks for TypeScript. OpenAI Agents SDK (JavaScript) is published by OpenAI and Pi Agent Core by Earendil. On GitHub, Pi Agent Core has 117,586 stars and OpenAI Agents SDK (JavaScript) has 3,939. 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. OpenAI Agents SDK (JavaScript) describes itself as: TypeScript and JavaScript framework for multi-agent workflows with tools, handoffs, guardrails, sandboxes and voice agents. 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: OpenAI Agents SDK (JavaScript) MIT, Pi Agent Core MIT.
Updated Oct 26, 2026 · Built from catalog data; how we rank and grade
OpenAI Agents SDK (JavaScript)
OpenAI
TypeScript and JavaScript framework for multi-agent workflows with tools, handoffs, guardrails, sandboxes and voice agents.
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 OpenAI Agents SDK (JavaScript) if you work in JavaScript.
- Pick OpenAI Agents SDK (JavaScript) if you want MCP support built in.
- Pick OpenAI Agents SDK (JavaScript) if you need several agents working together.
- Pi Agent Core has the larger community: 117,586 GitHub stars against 3,939.
From listing data only. We don't pick a winner on security beyond the grades; read how grades work.
Side by side
| Fact | OpenAI Agents SDK (JavaScript) | Pi Agent Core |
|---|---|---|
| Type | Harness | Harness |
| Publisher | OpenAI | Earendil |
| 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 | 3,939 | 117,586 |
| Weekly downloads | 1,193,362 | 5,107,393 |
| Last release | Oct 20, 2026 | Oct 21, 2026 |
| Last activity | Oct 21, 2026 | Oct 24, 2026 |
Facts from each listing's public sources, checked daily. Tool lists arrive with tool scans.
Install
OpenAI Agents SDK (JavaScript)
npm install @openai/agents
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.752score
PraisonAI
Mervin Praison
Python framework for multi-agent teams and workflows, with a CLI and Docker, MCP and A2A deployment options.
HarnessAFreshness: A★ 9.3K↓ 4.6K/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
Questions
- Is OpenAI Agents SDK (JavaScript) or Pi Agent Core more popular?
- Pi Agent Core has more GitHub stars (117,586 against 3,939). Stars measure attention, not quality, so check freshness and docs too.
- Are OpenAI Agents SDK (JavaScript) and Pi Agent Core open source?
- Yes: OpenAI Agents SDK (JavaScript) is MIT and Pi Agent Core is MIT.
Related
- AlternativesAlternatives to OpenAI Agents SDK (JavaScript)
- AlternativesAlternatives to Pi Agent Core
- Best ofBest agent frameworks for TypeScript
- ComparisonOpenAI Agents SDK (JavaScript) vs PraisonAI
- ComparisonCopilotKit vs OpenAI Agents SDK (JavaScript)
- ComparisonPi Agent Core vs Strands Agents
- ComparisonGitHub Copilot SDK vs Pi Agent Core
- ComparisonCopilotKit vs Pi Agent Core
Cite this page
OpenAI Agents SDK (JavaScript) vs Pi Agent Core. Agent Mart. https://agentmart.dev/compare/openai-agents-sdk-javascript-vs-pi-agent-core (last updated 2026-10-26)