# Atla Observability Integration (/examples/integrations/observability/atla-op)



<Warning>
  Atla Insights shut down on February 16, 2026, according to its [maintainer notice](https://pypi.org/project/atla-insights/). This source is retained for historical reference. Use an active [observability integration](/examples/integrations/observability/overview) for new projects.
</Warning>

```python title="atla_op.py"
"""
Atla Observability Integration
==============================

Demonstrates adding Atla observability to an Agno agent.
"""

from os import getenv

from agno.agent import Agent
from agno.models.openai import OpenAIChat
from agno.tools.websearch import WebSearchTools
from atla_insights import configure, instrument_agno

# ---------------------------------------------------------------------------
# Setup
# ---------------------------------------------------------------------------
configure(token=getenv("ATLA_API_KEY"))


# ---------------------------------------------------------------------------
# Create Agent
# ---------------------------------------------------------------------------
agent = Agent(
    name="Stock Price Agent",
    model=OpenAIChat(id="gpt-5.6-luna"),
    tools=[WebSearchTools()],
    instructions="You are a stock price agent. Answer questions in the style of a stock analyst.",
)


# ---------------------------------------------------------------------------
# Run Example
# ---------------------------------------------------------------------------
if __name__ == "__main__":
    # Instrument and run
    with instrument_agno("openai"):
        agent.print_response("What are the latest news about the stock market?")
```

Full source: [cookbook/observability/atla\_op.py](https://github.com/agno-agi/agno/blob/8f36eaf2d18e91afa7b327eec66a3cd3685dcb87/cookbook/observability/atla_op.py)
