Skip to main content
Use this guide if you can change your Agent’s application code. Run a recognizable request, read its execution record by Trace ID, and check that it matches the steps your app actually ran. Each recorded workflow, tool call, or model call is a Span. For ready-made apps such as Codex, follow plugin onboarding.

Start with your first trace

Sign in to your team’s AI Vision instance and select the space for your application. If you need a platform, choose a deployment method. Open Agent Access → Agent Market → Custom Agent integrations to choose a collection method. Use the same space and project to get credentials and verify the result.

Choose collection for your project

If collection is already configured, choose a test request that calls a known tool. Record its name and expected result, then verify the request. If you are adding instrumentation for the first time, run a minimal example before verifying your own request.
Application collection plug-ins and Custom Agent integration cards in Agent MarketApplication collection plug-ins and Custom Agent integration cards in Agent Market

Custom Agent integrations: choose Langfuse or NeMo Relay · Demo data · Click to enlarge

For example, select Langfuse → Python → Deep Agents, choose the project for your application, and follow the example to configure collection. Run the example and verify the new Trace ID.
Python Langfuse onboarding showing the Deep Agents option and project selector

The highlighted Deep Agents option and the project selector · Chinese UI

Node.js projects can use the Langfuse LangChain, LangGraph, OpenAI, or manual instrumentation examples (Node.js 22+), or the Relay Node.js SDK manual instrumentation example (Node.js 24+). The Relay Node example records request and tool boundaries; it does not automatically provide the coverage of Python framework middleware. Both Node.js paths run on the server. These are collection methods. An AI Vision project identifies where data belongs. Selecting Relay or Langfuse does not create your business Agent or require you to deploy that provider’s observability backend. If collection is already configured, reuse and verify it first. Multiple complete collectors for the same destination can duplicate records. Business callbacks can coexist with collection callbacks; preserve their configuration as shown in the examples. For other frameworks, check the SDK versions and examples in the onboarding guide. LangSmith SDK integration is planned.

Verify a real request

Langfuse and NeMo Relay use the same verification flow. Run an identifiable request and wait for the exporter to finish.
  1. Select the same space and project in the onboarding page, then enter this run’s ID in Trace ID for this request.
  2. If you have an independent expected Span count from the application or an execution ledger, enter a positive integer in the optional field. Count instrumented workflow and tool wrappers. Leave the field blank if you do not know the count. Select Verify this Trace.
  3. In the verification results, check the Trace ID, Spans read, storage count, and read completeness. The example below retrieved three Spans, matching the independent expectation.
  4. Select Open this Trace and find the test Span by tool name. Check its parent, input, and actual output. Check the corresponding nodes if the request called a model or subagent. In a local-tool example, look for the expected tool and result.
Four numbered steps highlight the Trace ID, Verify this Trace, three Spans read with complete status, and Open this TraceFour numbered steps highlight the Trace ID, Verify this Trace, three Spans read with complete status, and Open this Trace

Enter the Trace ID, verify it, check the count and completeness, then open the same Trace · Demo data · Chinese UI

From a terminal with authorized query credentials, you can use the CLI to read the same Trace ID. Use the actual Agent product, such as langfuse for the Langfuse SDK. See reading a Trace with the CLI.
  • The terminal printed an ID and the platform cannot find it. Check the exporter logs, endpoint, and project. Follow SDK troubleshooting.
  • Read completeness is partial or unknown. Check the storage count and returned Spans before determining which step is missing.
  • Read completeness is complete and a known tool call is missing. Check that the tool was instrumented and inherited the request’s parent context.
Completion check: the current Trace is readable, the read status and any count or structural differences are understood, and its contents match the request you ran. A complete read or matching count does not prove that every business model, tool, or subagent call was instrumented. Missing usage also does not imply zero consumption. For stronger verification, compare the stored Trace with an independent execution ledger: expected calls and parent relationships, input/output, errors, and the provider’s original usage. The Eino repository example includes this read-back workflow. Keep fixture results separate from live model runs. Historical Trace counts, process exit, and exporter completion do not replace this comparison.

PowerContext with LangChain

For an application already using powercontext-langchain, native HTTP memory observations and the optional recall-content span are separate. Use matching PowerContext core and adapter versions so SDK operations retain the metadata required by the default export filter. Verify the result in the native PowerContext view. PowerContextMiddleware(trace_content=True) opts in to reporting the recall query and returned historical context. The default is False; approve exporting this content under your application’s privacy policy first. Operational HTTP/server spans can correctly have no body. The separate auto_capture option is also disabled by default and controls durable completed-turn capture, not telemetry visibility. The application owns its exporter; do not add a second one merely to obtain the memory view. For the async combination of LangChain 1.4.4 / core 1.7.6 and Langfuse 5.0.2, correct phase parents and caller-context restoration require application-owned inline callbacks (callback.run_inline=True) and a public OpenTelemetry scope boundary around each complete invocation. Some cancellation paths in this combination can omit the generation completion callback. If a cancelled model call is missing, check the producer’s callback and lifecycle support: it must report and end the generation before export. The UI cannot reconstruct missing telemetry. Verify normal, concurrent and cancelled requests, and use recorded times rather than adjacent graph nodes to check order.

Eino

Open the Langfuse card in the market and select Go → Eino. Go is the language entry; Eino is the framework currently available. The integration uses the official github.com/cloudwego/eino-ext/callbacks/langfuse/v2 callback to convert Eino workflow, model, and tool events into OTLP spans and send them to AI Vision. A separate Langfuse backend is not required.
English Go Eino integration page with Go and Eino selected and a demo project belowDark English Go Eino integration page with Go and Eino selected and a demo project below

Go / Eino: current React integration page · Demo project and credentials · Click to enlarge

These screenshots show the current product page with a demo project and invalid credentials. They do not show a real model call or a Trace verification result.
  1. Select the project for this application, or enter a name to create one, then click Get credentials. Go uses the same project, credential, and Trace verification flow as the other languages.
  2. Copy the page’s environment variables: LANGFUSE_BASE_URL is the AI Vision base URL, LANGFUSE_PUBLIC_KEY is the Agent UUID, and LANGFUSE_SECRET_KEY is the SpaceKey. A masked existing key cannot run the example; obtain its complete value.
  3. Select Run a complete example. In a new directory, follow the page’s commands to initialize a Go module and install dependencies, then save the complete example as main.go. Set the provider’s OPENAI_BASE_URL, OPENAI_API_KEY, and OPENAI_MODEL, choosing a model that supports tool calling. These three values come from your model provider and are separate from the AI Vision credentials. If using .env, run the page’s loading command first, then run go run main.go in the same terminal.
  4. Verify this run’s Trace ID on the integration page and inspect the read-back results, then open its details to check parents, input, output, and usage. A successful export alone does not confirm persistence.
The complete example on the page calls a model. Existing Eino applications can instead use the integration snippet to register the callback on their workflow. That snippet requires the application’s workflow and input; it is not a standalone program. To verify without a model account first, use fixture mode in the complete Eino verification example in the repository. It runs a real Eino workflow, model component, and tool against controlled local model responses, without a model key. The repository example uses different variable names from the page: use the value of LANGFUSE_BASE_URL for LANGFUSE_HOST, and the values of OPENAI_BASE_URL, OPENAI_API_KEY, and OPENAI_MODEL for MODEL_BASE_URL, MODEL_API_KEY, and MODEL_NAME, respectively. Keep LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY unchanged. Run live mode with these settings for real model generation and streaming. The repository example pins and has been verified with Eino v0.9.22, Langfuse callback v2.0.2, and the OpenAI model component v0.1.13. See its README for complete commands, Go runtime requirements, and read-back verification. The /v2 suffix identifies the Eino callback module version; it does not imply Langfuse v2 query API support. The older callback without /v2 uses a different ingestion protocol and cannot use this example by changing only its host. Known limitation: callback v2.0.2 omits token counters whose value is 0. The repository verification example retains the provider’s original counters and reports this mismatch during read-back verification. Missing usage does not mean zero consumption. Continue with the Trace guide, or No data troubleshooting if the record is absent.