Skip to content

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

Update README.md

Alex Reibman15c298003aab
diff --git a/README.md b/README.md
index 25f3cef9..fea5659a 100644
--- a/README.md
+++ b/README.md
@@ -20,9 +20,14 @@ import openai # Make sure openai is imported before instantiating an AgentOps cl
import agentops
# Beginning of program's code (i.e. main.py, __init__.py)
-ao_client = agentops.Client(<api key>)
+ao_client = agentops.Client(<INSERT YOUR API KEY HERE>)
+
+...
+# (optional: record specific functions)
+@ao_client.record_action('sample function being record')
+def sample_function(...):
+ ...
-...
# End of program
ao_client.end_session('Success')
# Woohoo You're done 🎉