Skip to main content

🚀 AgentOps SDK

AgentOps is a professional observability platform designed specifically for AI Agents. It acts as the "Chrome DevTools" for your LLM-powered applications, allowing you to monitor, debug, and optimize your agent's reasoning process in real-time.

🌟 Why AgentOps?

When building AI agents, the biggest challenge is the "Black Box" effect: you see the input and the output, but you don't know why the agent made a specific decision or where it got stuck.

AgentOps solves this by capturing:

  • The Internal Monologue: See the exact reasoning (Thought) before an action.
  • Tool Execution: Track exactly which tool was called and with what parameters.
  • State Snapshots: Inspect the internal memory of your agent at any given step.
  • Visual Tracing: A dynamic graph visualization of the agent's logic flow.

🛠️ Quick Start

1. Installation

You can install the SDK directly from this GitHub repository:

pip install git+https://github.com/Nova799/agent-ops-sdk.git

2. Configuration

Create a .env file in your project root:

AGENT_OPS_API_KEY=your_secret_key
AGENT_OPS_URL=https://api.agentops.io

3. Basic Usage

import asyncio
from agent_ops import AgentOps

ops = AgentOps()

async def main():
    # Context manager handles start/end automatically
    async with ops.trace(session_name="User Inquiry #123", metadata={"user": "alice"}):
        await ops.log_step(
            thought="The user is asking for the weather, I should use the weather tool",
            action="get_weather",
            observation="Sunny, 25°C",
            state_snapshot={"location": "Paris"},
        )

    # Automatic tracker
    @ops.track()
    async def my_tool(param):
        return f"Processed {param}"

    await ops.start_trace(session_name="tool run")
    await my_tool("hello")
    await ops.end_trace()

asyncio.run(main())

4. Inspect traces

traces = await ops.list_traces(limit=10)
detail = await ops.get_trace(traces[0]["id"])

5. Sync client

from agent_ops import AgentOpsSync
ops = AgentOpsSync()
ops.start_trace("demo")
ops.log_step(thought="hi")
ops.end_trace()

6. Sampling & redaction

ops = AgentOps(sample_rate=0.1, redact_keys=["password", "token"])

📊 The Dashboard

Once integrated, open the AgentOps Dashboard to:

  • Visualize the execution flow as an interactive node graph.
  • Inspect detailed logs of every step.
  • Share traces with your team for collaborative debugging.

© 2026 AgentOps Team. Built for the future of AI Agents.

Metadata

Release files for nova-agentops 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nova-agentops 1.3.0
File Size Uploaded Provenance Actions
nova_agentops-1.3.0.tar.gz 7.3 kB Without provenance Details for nova_agentops-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nova-agentops 1.3.0
File Interpreter ABI Platform Actions
nova_agentops-1.3.0-py3-none-any.whl Python 3 none any Details for nova_agentops-1.3.0-py3-none-any.whl

Total release size: 14.3 kB

Release files / nova_agentops-1.3.0.tar.gz

Download URL nova_agentops-1.3.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
05cfaef7686ebf73561e97387e2f41400431678fdab917acf639b0d5a4cab9ac
BLAKE2b-256 checksum
How to use checksums
f2b9071fc9a12bf39925e70f014f49ab67835d814d828d9ada9a8874bd5f2996
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / nova_agentops-1.3.0-py3-none-any.whl

Download URL nova_agentops-1.3.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1cb38dcf90a5c60f573ec9fd15157a301b31458ea7f6b38961fa814c40187277
BLAKE2b-256 checksum
How to use checksums
2d9152d82966ae235c11a616b43f4c4ca94bd0cbb1af158b907bcf9705df501c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for nova-agentops 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page