Learn to create production-ready AI agents with tools, memory, and real-world integrations. No fluff, just working code.
Building AI agents from scratch is like building a web app without React or Express. You'll spend months writing boilerplate instead of focusing on your actual business logic.
VoltAgent is a TypeScript-first framework for building AI agents. Think of it as the "Express.js for AI agents" - it handles the plumbing so you can focus on building.
Create a new VoltAgent project and have a working AI agent in under a minute:
Create Your Project
npm create voltagent-app@latest
Navigate to Project
cd my-voltagent-app
Add Your API Key
Create or edit the .env
file and add your OpenAI API key:
OPENAI_API_KEY=your-api-key-here
Get your API key from OpenAI Platform
Start Your Agent
npm run dev
You should see this in your terminal:
══════════════════════════════════════════════════
VOLTAGENT SERVER STARTED SUCCESSFULLY
══════════════════════════════════════════════════
✓ HTTP Server: http://localhost:3141
VoltOps Platform: https://console.voltagent.dev
══════════════════════════════════════════════════
[VoltAgent] All packages are up to date
Visit console.voltagent.dev to find your agent and start chatting:
The code below shows exactly what you just created.
This is what gets generated for you. Hover over the explanations to see how each part works.
1234567891011121314151617181920import { VoltAgent, Agent } from "@voltagent/core";
import { VercelAIProvider } from "@voltagent/vercel-ai";
import { openai } from "@ai-sdk/openai";
// Define a simple agent
const agent = new Agent({
name: "my-agent",
instructions: "A helpful assistant that answers questions without using tools",
llm: new VercelAIProvider(),
model: openai("gpt-4o-mini"),
});
// Initialize VoltAgent with your agent(s)
new VoltAgent({
agents: { agent },
});
// Your agent is now running!
// Visit console.voltagent.dev to interact
In just 15 lines of code, you've created a production-ready AI agent with monitoring, debugging, and a web interface. That's the power of VoltAgent - less boilerplate, more building.
VoltOps is your agent's dashboard. When you start your agent, it automatically connects toconsole.voltagent.dev where you can chat with it in real-time.
We'll build your agent step by step, each tutorial adding one crucial capability:
Why simple chatbots fail and what makes AI agents different. Learn the fundamental concepts before diving into code.
Create custom tools that let your agent actually do things: send emails, manage databases, call APIs, and more.
Add persistent memory so your agent remembers users, past conversations, and builds context over time.
Use Model Context Protocol to connect your agent to GitHub, Slack, databases, and any external system you need.
Create specialized agents that work together to handle complex workflows and enterprise use cases.
This tutorial assumes basic familiarity with:
Transform from chatbot builder to AI agent architect in just 5 tutorials. Let's build something amazing together.
Start Tutorial Journey →