Skip to main content

Option A: OpenTelemetry (Zero Code if Already Instrumented)

Already emitting OpenTelemetry traces from your agents? Point your existing OTLP exporter at MeshAI and you are done. No SDK, no proxy, no code changes.
1

Get a telemetry key

Go to app.meshai.dev -> Connect -> Create telemetry key. The key needs only the telemetry:write scope.
2

Point your exporter at MeshAI

3

Run your agent

MeshAI auto-discovers agents from the service.name resource attribute and extracts token usage from gen_ai.* conventions. Agents appear in the registry as telemetry arrives. See the OpenTelemetry guide for details on what gets extracted.

Option B: Proxy (Fastest, Zero Code)

The MeshAI proxy sits between your agents and LLM providers. One env var change and you’re monitoring.
1

Get your proxy key

Go to app.meshai.dev → Settings → Proxy Keys → Create.
2

Set the env var

3

Run your agent

No code changes needed. All requests automatically flow through MeshAI.

Option C: Python SDK

1

Install

2

Initialize and register

3

Enable auto-tracking

What You’ll See

After connecting, your dashboard shows:
  • Agent Registry: all your agents with status, framework, model
  • Cost Attribution: spend per agent, team, and model
  • Anomaly Detection: cost spikes, behavioral drift, security alerts
  • Governance: policy enforcement, audit trail, compliance score

Next Steps

OpenTelemetry Ingestion

OTLP endpoints, span conventions, and what gets extracted

Proxy Setup Guide

Detailed proxy configuration for all providers

Framework Guides

Auto-tracking for OpenAI, Anthropic, CrewAI, LangChain, AutoGen

Create Policies

Set up your first governance policy

API Reference

Full API documentation