OpenInference
LangChain, LlamaIndex, OpenAI Agents SDK, CrewAI, DSPy, Haystack, and more
OpenLLMetry
Traceloop and OpenLIT instrumentors — AutoGen, Semantic Kernel, Agno, and more
Endpoint
AgentMark accepts OTLP over HTTP at:| Header | Value | Required |
|---|---|---|
Authorization | Your AgentMark API key, sent as the raw value (no Bearer prefix) | Yes — missing returns 401 |
X-Agentmark-App-Id | The app the traces belong to | Yes — missing returns 400 |
Point an exporter at AgentMark
Most OpenTelemetry SDKs and instrumentors read the standard OTLP environment variables, so no code change is needed:Supported semantic conventions
AgentMark reads several attribute conventions and normalizes them into one trace model — model, token usage, input and output messages, tool calls, and span kind — so cost and latency are computed the same way regardless of which library produced the span.| Convention | Recognized by | Notes |
|---|---|---|
OpenTelemetry GenAI (gen_ai.*) | The official gen_ai semantic conventions | The default. Spec-compliant emitters (including Pydantic AI via Logfire) work with no extra mapping |
| OpenInference | openinference.span.kind and llm.* attributes | The Arize instrumentor ecosystem — see OpenInference |
| OpenLLMetry / Traceloop | traceloop.* and indexed gen_ai.prompt.* / gen_ai.completion.* attributes | Traceloop and OpenLIT instrumentors — see OpenLLMetry |
What AgentMark does with a span
Once a span arrives, AgentMark:- Classifies it as a model call (
GENERATION) or another operation (SPAN), and resolves a span kind —llm,tool,agent,retrieval,embedding, orguardrail. - Extracts the model, token counts, input and output, tool calls, and settings.
- Computes cost from the model and token counts using its pricing model.
Next steps
OpenInference
Trace LangChain, LlamaIndex, CrewAI, and the rest of the OpenInference ecosystem
OpenLLMetry
Trace AutoGen, Semantic Kernel, Agno, and other Traceloop/OpenLIT-instrumented frameworks
AgentMark SDK tracing
Instrument your own code directly with the AgentMark SDK
Traces and logs
Explore the traces once they arrive
Have questions?
Reach out any time:
- Email us at hello@agentmark.co for support
- Schedule an Enterprise Demo to learn about our business solutions