Sharing traces you already have with AgentLasso
If your agent already sends traces to LangSmith, Langfuse, Datadog, or anywhere else, you don't need to migrate off it or hand AgentLasso any credentials for that platform. The pattern below — dual-export from your own pipeline — means AgentLasso never talks to your existing observability platform's API at all; it's just a second destination your own instrumentation writes to, alongside the one you already have.
This is deliberate, not just convenient. We looked at how other agent-eval platforms (Coval, notably) actually do this, and it's the same shape: the customer's own tracing pipeline exports to both places. We also specifically checked LangSmith's Terms of Service before recommending anything here — there's a real restriction (§2.4(c)) on using their platform to build a competing product, which is exactly why this guide is about exporting from your side, not AgentLasso pulling from theirs. No API calls to your existing platform, no stored third-party credential, nothing that could touch that clause.
Pick whichever of the three sections below matches your setup.
1. You run an OpenTelemetry Collector
Add a second exporter to your existing pipeline's config — same span stream, two destinations. This is the recommended approach if a Collector already sits between your app and your current platform, since it needs zero changes to your application code at all.
Swap the otlphttp/langsmith block for whatever your current platform's own
OTLP endpoint is (Langfuse, Datadog, etc. all publish one) — the AgentLasso
side stays the same regardless.
2. You use a raw OpenTelemetry SDK directly (no Collector)
Register a second span processor on the same tracer provider. Node/TS shown; the same idea applies in any language's OTel SDK — one provider, multiple processors, each with its own exporter.
Every span your app already creates now goes to both places. No change to your actual instrumentation code, just the provider setup.
3. You have a hand-rolled tracer, not a real OTel SDK
Probably the most common case for an early-stage agent, honestly — a small
fetch()-based helper wrapping whatever platform's REST API, not a real OTel
pipeline. If that's your situation, don't build OTel infrastructure just for
this: add one more POST call, using AgentLasso's flat JSON ingestion shape
(no envelope, no span IDs to generate), right next to wherever you already
send to your existing platform.
All three paths get the same treatment once they land
PII redaction runs automatically regardless of which of the three you use (on by default, toggle in Settings). Your first ~10 traces get classified into intents immediately, inline — see the main README for that and for the OTLP/HTTP JSON path if your existing pipeline already speaks that format natively.