Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI
Python agentagentopsagents-sdkaianthropicautogencost-estimationcrewaievalsevaluation-metricsgroqlangchainllmmistralollamaopenaiopenai-agents
import pytest
from httpx import ASGITransport
__all__ = [
"async_app_client",
]
@pytest.fixture
async def async_app_client(event_loop):
from httpx import AsyncClient
from agentops.app import app
client = AsyncClient(
transport=ASGITransport(app=app),
base_url="http://test",
)
yield client
await client.aclose() # Properly close the client