█

AI/TLDR

Buy me a coffee
Buy me a coffee

VoltAgent

Open-source TypeScript framework for building and running AI agents in production

Agent Frameworks & BuildersOpen source
Language
TypeScript
License
MIT
$npm create voltagent-app@latest
IN SHORT

What is VoltAgent?

VoltAgent is an open-source TypeScript framework for building AI agents that you can ship to production. It sits in the Agent Frameworks & Builders category of the Agents & Automation tools and is open-source, written in TypeScript and licensed MIT. To get started: create a new project.

Overview

VoltAgent is an open-source TypeScript framework for building AI agents that you can ship to production. You define agents in code with typed roles, tools, memory, and a model provider, then connect them to multi-step workflows and teams of specialized sub-agents that work together under a supervisor.

The framework is provider-agnostic, so you can switch between OpenAI, Anthropic, Google, and other models by changing configuration instead of rewriting agent logic. It pairs with the VoltOps console, available as a cloud or self-hosted service, which gives you observability, evals, guardrails, and deployment tooling for the agents you build.

What it does

  • Core runtime (@voltagent/core) to define agents with typed roles, tools, memory, and model providers in one place
  • Declarative workflow engine for describing multi-step automations, including human-in-the-loop suspend and resume
  • Supervisor and sub-agent runtime for coordinating teams of specialized agents on a single task
  • Zod-typed tool registry plus Model Context Protocol (MCP) support to connect external servers without extra glue code
  • Built-in memory adapters, retrieval and RAG, voice (text-to-speech and speech-to-text), guardrails, and agent evals
  • VoltOps console (cloud or self-hosted) for observability, tracing, prompts, and deployment of your agents

Getting started

VoltAgent ships as npm packages with a project generator. The CLI scaffolds a starter project that registers both an agent and a workflow example, then runs a local server you can connect to from the VoltOps console.

Create a new project

Use the create-voltagent-app CLI to scaffold a project. The command walks you through setup and generates starter code in src/index.ts.

bashbash
npm create voltagent-app@latest

Define an agent

In the generated code you create an Agent with instructions, a model provider, and tools, then register it with VoltAgent. You can attach persistent memory using an adapter such as LibSQL.

typescripttypescript
import { VoltAgent, Agent } from "@voltagent/core";
import { openai } from "@ai-sdk/openai";
import { honoServer } from "@voltagent/server-hono";
import { weatherTool } from "./tools";

const agent = new Agent({
  name: "my-agent",
  instructions: "A helpful assistant that can check weather and help with various tasks",
  model: openai("gpt-4o-mini"),
  tools: [weatherTool],
});

new VoltAgent({
  agents: { agent },
  server: honoServer(),
});

Run the dev server

Start the project from your terminal. The VoltAgent server starts an HTTP endpoint (default http://localhost:3141) that you can open in the VoltOps console to chat with and inspect your agent.

bashbash
npm run dev

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Building production AI agents in TypeScript with code-level control over tools, memory, and model providers
  • Coordinating multi-agent systems where specialized sub-agents work together under a supervisor
  • Automating multi-step processes, including human-in-the-loop flows that can suspend and resume, with the workflow engine
  • Grounding agent responses on your own data using built-in retrieval and RAG, then monitoring runs in the VoltOps console

How VoltAgent compares

VoltAgent alongside other open-source agent frameworks & builders tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
DeepSeek Harness★ 289kDeepSeek AI's open-source agent harness (dsh), built on Cordis, where models, tools, skills, sessions, sandboxes, storage and the UI are all plugins composed through profiles.
AutoGPT★ 188kOne of the earliest autonomous agent projects, now a platform for building and running agents from reusable blocks and workflows.
DeerFlow★ 86kByteDance's open-source super agent harness built on LangGraph: skills, sub-agents, sandboxes, a filesystem and long-term memory for long-horizon research, coding and content tasks.
nanobot★ 50.5kLightweight self-hosted personal AI agent framework in Python, with a WebUI, terminal and chat-app channels, tools, long-term memory, MCP and scheduled automations.
LangGraph★ 45.6kA library from the LangChain team for building stateful, graph-based agent workflows with explicit control over steps, memory, and human-in-the-loop checkpoints.
Agno★ 43.3kA fast Python framework (formerly Phidata) for building agents with memory, tools, and multimodal inputs, plus a runtime for deploying them in production.
AgentGPT★ 36.3kAgentGPT lets you name a custom AI, give it a goal, and watch it plan tasks, run them, and learn from the results, all from a web browser.
VoltAgent★ 11kOpen-source TypeScript framework for building and running AI agents in production