Instrument your first AI agent with a few lines of code
Install the Atla Insights SDK
Configure Atla Insights
Instrument your AI agent
@instrument
decorator groups all LLM calls within the function into a single trace. Without it, each LLM call would be treated as a separate trace.Add metadata (optional)
instrument_openai()
and uninstrument_openai()
with instrument_openai(): ...
instrument_langchain()
, instrument_crewai()
, etc.