Skip to content

Setup ​

Instrument your application ​

The ARMS 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.

(Optional) Tag explicit agent identity and version ​

By default, ARMS 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():

python
import elsai_arms

with elsai_arms.agent_context(name="support-agent"):
    with elsai_arms.agent_version_context(version="v3"):
        completion = client.chat.completions.create(...)

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.

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.


Copyright © 2026 elsai foundry.