Purpose: Central orchestration layer for AI agents, workflows, and tools in this project.
Last Updated: 2026-01-09
Mastra is the central hub that wires together agents, tools, workflows, and observability. It provides a unified interface for executing complex AI tasks with built-in persistence and logging.
src/mastra/index.ts.LibSQLStore (SQLite) for storing traces, spans, and workflow states.import { Mastra } from '@mastra/core/mastra';
import { agents, tools, workflows } from './components';
export const mastra = new Mastra({
agents,
tools,
workflows,
storage: new LibSQLStore({ url: 'file:./mastra.db' }),
});
Reference: src/mastra/index.ts
Related: