create-voltagent-app
0.2.14
Patch Changes
-
f6ffb8aThanks @omeraplak! - feat: VoltAgent 2.x (AI SDK v6)VoltAgent 2.x aligns the framework with AI SDK v6 and adds new features. VoltAgent APIs are compatible, but if you call AI SDK directly, follow the upstream v6 migration guide.
Migration summary (1.x -> 2.x):
- Update VoltAgent packages
npm run volt update- If the CLI is missing:
npx @voltagent/cli initthennpm run volt update
- Align AI SDK packages
pnpm add ai@^6 @ai-sdk/provider@^3 @ai-sdk/provider-utils@^4 @ai-sdk/openai@^3- If you use UI hooks, upgrade
@ai-sdk/reactto^3
- Structured output
generateObjectandstreamObjectare deprecated in VoltAgent 2.x- Use
generateText/streamTextwithOutput.object(...)
Full migration guide: https://voltagent.dev/docs/getting-started/migration-guide/
0.2.13
Patch Changes
-
#857
056bbdaThanks @omeraplak! - feat: use LibSQL for persistent observability in project templatePreviously, projects created with
create-voltagent-appused in-memory observability storage, which meant traces and spans were lost on restart.Now the template uses
LibSQLObservabilityAdapterto persist observability data to.voltagent/observability.db, matching the existing persistent memory setup. This ensures agent traces, spans, and logs are retained across restarts for better debugging and monitoring during development.
0.2.11
Patch Changes
- #693
f9aa8b8Thanks @marinoska! - - Added support for provider-defined tools (e.g.openai.tools.webSearch())- Update tool normalization to pass through provider tool metadata untouched.
- Added support for provider-defined tools both as standalone tool and within a toolkit.
- Upgraded dependency:
ai→^5.0.76
0.2.10
Patch Changes
- #587
28d4268Thanks @wayneg123! - Switch the app template to bundle with tsdown so the production build runs under Node ESM without manual .js extensions or bespoke import mappers.
0.2.9
Patch Changes
59b4a3eThanks @omeraplak! - feat: add VoltAgent v1 support
0.2.9-next.0
Patch Changes
- #541
59b4a3eThanks @voltagent-bot! - feat: add VoltAgent v1 support
0.2.8
Patch Changes
- #462
23ecea4Thanks @omeraplak! - Update Zod to v3.25.0 for compatibility with Vercel AI@5- Updated Zod dependency to ^3.25.0 across all packages
- Maintained compatibility with zod-from-json-schema@0.0.5
- Fixed TypeScript declaration build hanging issue
- Resolved circular dependency issues in the build process
0.2.7
Patch Changes
-
#463
760a294Thanks @omeraplak! - feat: update base template to always include VoltOpsClient for observabilityWhat's New
The create-voltagent-app template now always includes VoltOpsClient configuration, making it easier for users to enable production observability with a single click from the VoltOps Console.
Changes
- Always Include VoltOpsClient: The base template now imports and configures VoltOpsClient by default
- Environment-Based Configuration: VoltOpsClient reads keys from
VOLTAGENT_PUBLIC_KEYandVOLTAGENT_SECRET_KEYenvironment variables - Seamless Console Integration: Works with the new one-click observability setup in VoltOps Console
Template Structure
import { VoltAgent, VoltOpsClient, Agent } from "@voltagent/core"; // ... agent configuration ... new VoltAgent({ agents: { agent }, workflows: { expenseApprovalWorkflow }, logger, voltOpsClient: new VoltOpsClient({ publicKey: process.env.VOLTAGENT_PUBLIC_KEY || "", secretKey: process.env.VOLTAGENT_SECRET_KEY || "", }), });
Benefits
- Zero Configuration: New projects are ready for observability out of the box
- Console Integration: Enable observability with one click from VoltOps Console
- Production Ready: Template follows best practices for production deployments
This change ensures all new VoltAgent projects created with create-voltagent-app are ready for production observability from day one.
0.2.6
Patch Changes
-
90a1316Thanks @omeraplak! - fix: improve code quality with biome linting and package configuration enhancementsThis update focuses on improving code quality and package configuration across the entire VoltAgent monorepo:
Key improvements:
- Biome Linting: Fixed numerous linting issues identified by Biome across all packages, ensuring consistent code style and catching potential bugs
- Package Configuration: Added
publintscript to all packages for strict validation of package.json files to ensure proper publishing configuration - TypeScript Exports: Fixed
typesVersionsstructure in @voltagent/internal package and removed duplicate entries - Test Utilities: Refactored
createTrackedStoragefunction in core package by simplifying its API - removed thetestNameparameter for cleaner test setup - Type Checking: Enabled
attw(Are The Types Wrong) checking to ensure TypeScript types are correctly exported
These changes improve the overall maintainability and reliability of the VoltAgent framework without affecting the public API.
0.2.3
Patch Changes
-
#404
809bd13Thanks @omeraplak! - feat: add @voltagent/logger with createPinoLogger to new project templatesEnhanced the create-voltagent-app templates to include @voltagent/logger by default in new projects. This provides new VoltAgent applications with production-ready logging capabilities out of the box.
Changes:
- Added
@voltagent/loggeras a dependency in generated projects - Updated templates to import and use
createPinoLoggerinstead of relying on the default ConsoleLogger - New projects now have pretty-formatted, colored logs in development
- Automatic environment-based configuration (pretty in dev, JSON in production)
Generated Code Example:
import { createPinoLogger } from "@voltagent/logger"; const logger = createPinoLogger({ level: "info", name: "my-voltagent-app", }); const voltAgent = new VoltAgent({ agents: [agent], logger, });
This ensures new VoltAgent projects start with professional logging capabilities, improving the developer experience and making applications production-ready from day one.
- Added
0.2.0
Minor Changes
8b143cbThanks @omeraplak! - feat: modernize create-voltagent-app CLI- Add AI provider selection (OpenAI, Anthropic, Google, Groq, Mistral, Ollama)
- Add optional API key input with skip option
- Automatic .env file generation based on selected provider
- Package manager detection - only show installed ones
- Auto-install dependencies after project creation
- Full Windows support with cross-platform commands
- Ollama local LLM support with default configuration
- Dynamic template generation based on selected AI provider
Patch Changes
-
8b143cbThanks @omeraplak! - fix: include create-voltagent-app in build:all scriptThe create-voltagent-app package was not being built during GitHub Actions release workflow because it doesn't have the @voltagent/ scope prefix. Added explicit scope to build:all command to ensure the CLI tool is properly built before publishing.
0.1.33
Patch Changes
-
#371
6ddedc2Thanks @omeraplak! - feat: add comprehensive workflow example to new projectsThis change enhances the
create-voltagent-apptemplate by including a new, comprehensive workflow example. The goal is to provide new users with a practical, out-of-the-box demonstration of VoltAgent's core workflow capabilities.The new template now includes:
- A
comprehensive-workflowthat showcases the combined use ofandThen,andAgent,andAll,andRace, andandWhen. - A dedicated
workflowsdirectory (src/workflows) to promote a modular project structure. - The workflow uses a self-contained
sentimentAgent, separating it from the main project agent to ensure clarity and avoid conflicts.
This provides a much richer starting point for developers, helping them understand and build their own workflows more effectively.
- A
0.1.31
Patch Changes
00d70cbThanks @omeraplak! - fix: update VoltAgent docs MCP configs
0.1.28
Patch Changes
-
#278
85d979dThanks @omeraplak! - feat: introduce VoltAgent MCP Docs Server for IDE integrationAdded comprehensive MCP (Model Context Protocol) Docs Server integration to enable AI assistants in IDEs to access VoltAgent documentation directly. This feature allows developers to ask their AI assistants questions about VoltAgent directly within their development environment.
New Features:
@voltagent/docs-mcppackage: MCP server that provides access to VoltAgent documentation- CLI MCP commands: Setup, test, status, and remove MCP configurations
volt mcp setup- Interactive setup for Cursor, Windsurf, or VS Codevolt mcp test- Test MCP connection and provide usage examplesvolt mcp status- Show current MCP configuration statusvolt mcp remove- Remove MCP configuration
- IDE Configuration: Automatic configuration file generation for supported IDEs
- Multi-IDE Support: Works with Cursor, Windsurf, and VS Code
Usage:
# Setup MCP for your IDE volt mcp setup # Test the connection volt mcp test # Check status volt mcp status
Once configured, developers can ask their AI assistant questions like:
- "How do I create an agent in VoltAgent?"
- "Is there a VoltAgent example with Next.js?"
- "How do I use voice features?"
- "What are the latest updates?"
The MCP server provides real-time access to VoltAgent documentation, examples, and best practices directly within the IDE environment.
0.1.26
Patch Changes
- #213
ed68922Thanks @baseballyama! - chore!: drop Node.js v18
0.1.21
Patch Changes
-
#155
35b11f5Thanks @baseballyama! - chore: updatetsconfig.json'stargettoES2022 -
#162
b164bd0Thanks @omeraplak! - fix: pin zod version to 3.24.2 to avoid "Type instantiation is excessively deep and possibly infinite" errorFixed compatibility issues between different zod versions that were causing TypeScript compilation errors. This issue occurs when multiple packages use different patch versions of zod (e.g., 3.23.x vs 3.24.x), leading to type instantiation depth problems. By pinning to 3.24.2, we ensure consistent behavior across all packages.
See: colinhacks/zod#3435
0.1.18
Patch Changes
-
#102
cdfec65Thanks @omeraplak! - refactor: use 'instructions' field for Agent definitions in examples - #88Updated documentation examples (READMEs, docs, blogs) and relevant package code examples to use the
instructionsfield instead ofdescriptionwhen definingAgentinstances.This change aligns the examples with the preferred API usage for the
Agentclass, whereinstructionsprovides behavioral guidance to the agent/LLM. This prepares for the eventual deprecation of thedescriptionfield specifically forAgentclass definitions.Example Change for Agent Definition:
const agent = new Agent({ name: "My Assistant", - description: "A helpful assistant.", + instructions: "A helpful assistant.", llm: new VercelAIProvider(), model: openai("gpt-4o-mini"), });
0.1.16
Patch Changes
13db262Thanks @omeraplak! - fix: Update Zod to version 3.24.2 to resolve "Type instantiation is excessively deep and possibly infinite" error (related to colinhacks/zod#3435).
0.1.14
Patch Changes
8e6d2e9Thanks @omeraplak! - chore: add README