Metadata-Version: 2.1
Name: llama-index-callbacks-agentops
Version: 0.2.0
Summary: llama-index instrumentation agentops integration
License: MIT
Author: Your Name
Author-email: you@example.com
Requires-Python: >=3.8.1,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: agentops (>=0.2.2,<0.3.0)
Requires-Dist: llama-index-core (>=0.11.0,<0.12.0)
Description-Content-Type: text/markdown

# LlamaIndex Callback Integration: Agentops

```shell
pip install llama-index-callbacks-agentops
```

To integrate AgentOps into your agent workflow,
simply import and initialize an `AgentOpsHandler`,
as demonstrated below. Note that all keyword arguments
anticipated by AgentOps' `AOClient` can be provided
to this client using the same keyword arguments in
`init()`.

You can initialize globally using

```python
from llama_index.core import set_global_handler

set_global_handler("agentops", api_key="...")
```

or:

```python
from llama_index.callbacks.agentops import AgentOpsHandler

AgentOpsHandler.init(api_key="...")
```

