Integrations / Mastra
To trace Mastra with Uncoil, wrap an agent call with traceAgent in the TypeScript SDK, or export Mastra's OpenTelemetry traces to Uncoil over OTLP.
Your code
Mastra
Uncoil
One run.
Setup
import { traceAgent } from "uncoil-sdk";
const run = traceAgent(async (input: string) => {
const result = await mastraAgent.generate(input);
return result.text;
}, { name: "mastra-agent" });Full details in the documentation. All integrations are listed on the integrations page.
