Musterby Elitery
Integrations

VoltAgent (TypeScript)

Trace VoltAgent TypeScript agents in Muster via the @voltagent/langfuse-exporter.

VoltAgent is an open-source TypeScript framework for AI agent development. Muster (langfuse) captures runs via the official @voltagent/langfuse-exporter.

Setup

1. Scaffold

npm create voltagent-app@latest

2. Configure credentials

.env.development:

OPENAI_API_KEY=your-api-key
LANGFUSE_SECRET_KEY=sk-lf-...
LANGFUSE_PUBLIC_KEY=pk-lf-...
LANGFUSE_BASE_URL=https://app.getmuster.io

3. Install the exporter

npm install @voltagent/langfuse-exporter

4. Wire it up

import { VoltAgent } from "@voltagent/core";
import { LangfuseExporter } from "@voltagent/langfuse-exporter";

const langfuseExporter = new LangfuseExporter({
  publicKey: process.env.LANGFUSE_PUBLIC_KEY,
  secretKey: process.env.LANGFUSE_SECRET_KEY,
  baseUrl: process.env.LANGFUSE_BASE_URL,
});

new VoltAgent({
  agents: { agent },
  telemetryExporter: langfuseExporter,
});

5. Run

npm run dev

Every agent interaction generates a trace in Muster — prompts, completions, tool calls, performance metrics.

See also