Skip to content
@VoltAgent

VoltAgent

Open Source TypeScript AI Agent Framework

VoltAgent is an open source TypeScript framework for building and orchestrating AI agents.
Escape the limitations of no-code builders and the complexity of starting from scratch.

npm version Contributor Covenant Discord Twitter Follow


VoltAgent: Build AI Agents Fast and Flexibly

VoltAgent is an open-source TypeScript framework for creating and managing AI agents. It provides modular components to build, customize, and scale agents with ease. From connecting to APIs and memory management to supporting multiple LLMs, VoltAgent simplifies the process of creating sophisticated AI systems. It enables fast development, maintains clean code, and offers flexibility to switch between models and tools without vendor lock-in.

⚡ Quick Start

Create a new VoltAgent project in seconds using the create-voltagent-app CLI tool:

npm create voltagent-app@latest

This command guides you through setup.

You'll see the starter code in src/index.ts, which now registers both an agent and a comprehensive workflow example found in src/workflows/index.ts.

import { VoltAgent, Agent, Memory } from "@voltagent/core";
import { LibSQLMemoryAdapter } from "@voltagent/libsql";
import { createPinoLogger } from "@voltagent/logger";
import { honoServer } from "@voltagent/server-hono";
import { openai } from "@ai-sdk/openai";
import { expenseApprovalWorkflow } from "./workflows";
import { weatherTool } from "./tools";

// Create a logger instance
const logger = createPinoLogger({
  name: "my-agent-app",
  level: "info",
});

// Optional persistent memory (remove to use default in-memory)
const memory = new Memory({
  storage: new LibSQLMemoryAdapter({ url: "file:./.voltagent/memory.db" }),
});

// A simple, general-purpose agent for the project.
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],
  memory,
});

// Initialize VoltAgent with your agent(s) and workflow(s)
new VoltAgent({
  agents: {
    agent,
  },
  workflows: {
    expenseApprovalWorkflow,
  },
  server: honoServer(),
  logger,
});

Afterwards, navigate to your project and run:

npm run dev

When you run the dev command, tsx will compile and run your code. You should see the VoltAgent server startup message in your terminal:

══════════════════════════════════════════════════
VOLTAGENT SERVER STARTED SUCCESSFULLY
══════════════════════════════════════════════════
✓ HTTP Server: http://localhost:3141

Test your agents with VoltOps Console: https://console.voltagent.dev
══════════════════════════════════════════════════

Your agent is now running! To interact with it:

  1. Open the Console: Click the VoltOps LLM Observability Platform link in your terminal output (or copy-paste it into your browser).
  2. Find Your Agent: On the VoltOps LLM Observability Platform page, you should see your agent listed (e.g., "my-agent").
  3. Open Agent Details: Click on your agent's name.
  4. Start Chatting: On the agent detail page, click the chat icon in the bottom right corner to open the chat window.
  5. Send a Message: Type a message like "Hello" and press Enter.

435419303-65a51ec9-62f1-4dea-a7cc-d0aa5064aec7

Pinned Loading

  1. voltagent voltagent Public

    Open Source TypeScript AI Agent Framework

    TypeScript 3.3k 294

  2. awesome-voltagent awesome-voltagent Public

    Carefully curated list of awesome VoltAgent resources ⚡️

    28 3

  3. awesome-claude-code-subagents awesome-claude-code-subagents Public

    Production-ready Claude subagents collection with 100+ specialized AI agents for full-stack development, DevOps, data science, and business operations.

    2.6k 281

Repositories

Showing 6 of 6 repositories
  • voltagent Public

    Open Source TypeScript AI Agent Framework

    VoltAgent/voltagent’s past year of commit activity
    TypeScript 3,259 MIT 294 26 (1 issue needs help) 5 Updated Sep 18, 2025
  • .github Public
    VoltAgent/.github’s past year of commit activity
    0 0 0 0 Updated Sep 13, 2025
  • awesome-claude-code-subagents Public

    Production-ready Claude subagents collection with 100+ specialized AI agents for full-stack development, DevOps, data science, and business operations.

    VoltAgent/awesome-claude-code-subagents’s past year of commit activity
    2,619 MIT 281 3 0 Updated Sep 12, 2025
  • awesome-voltagent Public

    Carefully curated list of awesome VoltAgent resources ⚡️

    VoltAgent/awesome-voltagent’s past year of commit activity
    28 3 0 0 Updated Aug 4, 2025
  • VoltAgent/voltagent-python’s past year of commit activity
    Python 9 MIT 1 0 0 Updated Jun 5, 2025
  • VoltAgent/vercel-ai-sdk-observability’s past year of commit activity
    TypeScript 5 MIT 0 0 0 Updated Jun 3, 2025

Sponsors

  • @zrosenbauer
  • @999-Dev-Official
  • @necatiozmen

Most used topics

Loading…