Skip to main content
1

Instrument your application

The OpenLIT SDK auto-instruments 90+ LLMs, agent frameworks, and vector databases with zero code changes. Any process emitting gen_ai.* spans under a given service.name shows up as its own row on the Applications tab - there’s no separate agent registration step.
2

(Optional) Tag explicit agent identity and version

By default, OpenLIT infers agent identity from service.name. If you want explicit control - for example, multiple agents running in the same service - wrap the relevant code in agent_context() and agent_version_context():
These stamp gen_ai.agent.name and gen_ai.agent.version on every span inside the block, and are what power per-agent grouping and version fingerprints when you don’t want to rely on inferred grouping from service.name alone. See Custom Attributes for the full API.
3

Check the Agents page

Once spans land, the agent appears automatically on the Applications tab - refresh the Agents page after a request or two. No restart or manual sync is needed.

Enabling or disabling observability for an agent

Once an agent is discovered, whether LLM Observability and Agent Observability are actively capturing data for it is controlled per-agent from its own Configuration tab - not from a setup step here.

Configuration

Toggle LLM / Agent Observability for an already-discovered agent