Skip to content

Eino (Go)

Eino is ByteDance/CloudWeGo’s Go framework for large language model (LLM) and agent applications. Eino can run native ReAct agents and tools, but it does not currently provide a complete, general-purpose OpenTelemetry integration that can send those agent operations to Logfire.

Current support

Eino’s observability API is based on callback handlers. The official handlers in eino-ext target specific vendors, including APMPlus, CozeLoop, Langfuse, and LangSmith. Its OpenTelemetry helper configures exporters and providers, but it does not include a callback handler that turns Eino agent, model, and tool operations into spans.

Eino does expose lifecycle callbacks, including callbacks on agents run through its ADK Runner. An application can register its own callback handler and create OpenTelemetry spans from those events. That is custom instrumentation rather than automatic OpenTelemetry coverage supplied by Eino or eino-ext.

That means:

  • Pointing an OpenTelemetry Protocol (OTLP) exporter at Logfire does not instrument an Eino agent by itself.
  • A native Eino ReAct agent and its tools can run successfully without producing Eino telemetry in Logfire.
  • Hand-writing a callback that opens generic spans may omit important agent semantics and is not a maintained Eino integration. This guide intentionally does not present that as full support.

You can separately instrument an underlying model client when an instrumentation library supports it. Those model spans can appear in Logfire, but they do not prove that the Eino agent or its tool loop is traced.

What complete support requires

A complete integration needs a maintained callback handler that maps Eino’s agent, model, tool, streaming, and error lifecycle to OpenTelemetry spans and established generative AI semantic conventions. Once Eino or a maintained adapter provides that mapping, its standard OTLP exporter can send those spans to Logfire.

Until then, treat Eino as not fully supported rather than adding synthetic spans around a working agent.