Package Exports
- @voltagent/core
- @voltagent/core/dist/index.js
- @voltagent/core/dist/index.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@voltagent/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@voltagent/core
Core package for the VoltAgent framework - a framework for building AI-powered agents.
Installation
You can install the package via npm, yarn, or pnpm:
# npm
npm install @voltagent/core
# yarn
yarn add @voltagent/core
# pnpm
pnpm add @voltagent/coreBasic Usage
import { log, initVoltAgent } from "@voltagent/core";
// Initialize the framework with debug mode
initVoltAgent({ debug: true });
// Use logging function
log("Application started");API Reference
initVoltAgent(options?: VoltAgentOptions)
Initializes the VoltAgent framework.
log(message: string, level?: LogLevel)
Logs a message with the VoltAgent prefix.
License
MIT