Skip to content
Agent Search Engine.

Open source · TypeScript

Best TypeScript agent frameworks

The 10 open-source agent frameworks written in TypeScript in this index, ranked by real maintained adoption (GitHub stars and recent commit activity), never by sponsorship. ruflo leads the set at 73,101 GitHub stars, and 10 of the 10 have shipped a commit in the last 90 days. Every project here is TypeScript-first, self-hostable, and free to run; the trade-off is you host and maintain it yourself. Right now it's led by ruflo (73k stars), with CopilotKit and Mastra close behind. Rankings shift as projects gain stars and ship commits.

10 open-source records · all agent frameworks · more best-of lists · how we rank

rufloFrameworkThe leading agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems.Open sourceTypeScript · MITVerified · Active 73kGitHub starsCopilotKitFrameworkThe frontend stack for agents: generative UI, shared state and human-in-the-loop for web, mobile, Slack and Teams.Open sourceTypeScript · MITVerified · Active 37kGitHub starsMastraFrameworkA TypeScript framework for AI applications and agents, with model routing, workflows, RAG and evals.Open sourceTypeScript · Apache-2.0Verified · Active 28kGitHub starsAI SDK (Vercel)FrameworkVercel's provider-agnostic TypeScript toolkit for AI applications and agents in Next.js, React, Svelte, Vue and Node.Open sourceTypeScript · Apache-2.0Verified · Active 27kGitHub starselizaFrameworkOpen source agentic operating systemOpen sourceTypeScript · MITVerified · Active 19kGitHub starsVoltAgentFrameworkAn open-source TypeScript agent framework with a companion console for observability, evals and deployment.Open sourceTypeScript · MITVerified · Active 11kGitHub starsopen-multi-agentFrameworkTypeScript multi-agent orchestration framework. Describe a goal, a coordinator decomposes it into a task DAG that runs on any LLM: Claude, ChatGPT, Gemini, DeepSeek, or local models.Open sourceTypeScript · MITVerified · Active 7.0kGitHub starsOpenAI Agents SDK (TypeScript)FrameworkOpenAI's lightweight, provider-agnostic TypeScript framework for multi-agent workflows and voice agents.Open sourceTypeScript · MITVerified · Active 3.9kGitHub starsopengapFrameworkA framework-agnostic, git-native standard for defining AI agentsOpen sourceTypeScript · MITVerified 3.0kGitHub starsCybaraFrameworkSelf-hosted, open-source AI agent operating system with multi-agent orchestration and MCP.Open sourceTypeScript · MITVerified · Active 31GitHub stars

Frequently asked

What are the best TypeScript agent frameworks?
By maintained adoption — GitHub stars plus recent commit activity — ruflo, CopilotKit and Mastra lead the TypeScript agent frameworks in this index of 10. The full ranking is below; it reflects what is genuinely used and still maintained, not what pays.
Are these TypeScript agent frameworks open source and free?
Yes — every project on this page is open source and written primarily in TypeScript. MIT is the most common licence here, on 8 of 10, across 2 licences in total. The software is free to run and self-host; you still pay for the infrastructure you run it on and any model or API usage it makes.
Why choose TypeScript agent frameworks specifically?
Staying in your team's primary language — TypeScript — makes self-hosting, extending, and debugging far easier, because you can read and modify the source directly instead of treating it as a black box.