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
Github stars dynamically updates (#276)
Albert Kim Jr51e208c50b89
diff --git a/docs/images/external/logo/banner-badge-docs.png b/docs/images/external/logo/banner-badge-docs.pngnew file mode 100644index 00000000..f1a89eadBinary files /dev/null and b/docs/images/external/logo/banner-badge-docs.png differdiff --git a/docs/v1/integrations/autogen.mdx b/docs/v1/integrations/autogen.mdxindex 23ca4619..0b7fe745 100644--- a/docs/v1/integrations/autogen.mdx+++ b/docs/v1/integrations/autogen.mdx@@ -19,9 +19,7 @@ Autogen has comprehensive [documentation](https://microsoft.github.io/autogen/dopoetry add agentops```</CodeGroup>- <Check>- [Give us a star](https://github.com/AgentOps-AI/agentops) on GitHub while you're at it (you may be our 2,000th 😊)- </Check>+ <Check>Give us a star](https://github.com/AgentOps-AI/agentops) on GitHub while you're at it (you may be our <span id="stars-text">2,000th</span> 😊)</Check></Step><Step title="Install Autogen"><CodeGroup>@@ -80,4 +78,21 @@ Autogen has comprehensive [documentation](https://microsoft.github.io/autogen/do<img height="200" src="https://github.com/AgentOps-AI/agentops/blob/cf67191f13e0e2a09446a61b7393e1810b3eee95/docs/images/link-to-session.gif?raw=true" /></Frame></Step>-</Steps>\ No newline at end of file+</Steps>++<script>+ {window.addEventListener('load', function() {+ fetch("https://api.github.com/repos/AgentOps-AI/agentops")+ .then((response) => response.json())+ .then((data) => {+ const stars = Math.ceil(data.stargazers_count / 1000) * 1000;+ const dataContainer = document.getElementById("stars-text");+ dataContainer.innerHTML = `${stars.toLocaleString()}th`;++ })+ .catch((error) => {+ console.error("Error:", error);+ document.getElementById("stars-text").textContent = 'Error loading data.';+ });+ })}+</script>\ No newline at end of filediff --git a/docs/v1/integrations/cohere.mdx b/docs/v1/integrations/cohere.mdxindex 91b76d15..0d417431 100644--- a/docs/v1/integrations/cohere.mdx+++ b/docs/v1/integrations/cohere.mdx@@ -22,7 +22,7 @@ This is a living integration. Should you need any added functionality message uspoetry add agentops```</CodeGroup>- <Check>[Give us a star](https://github.com/AgentOps-AI/agentops) on GitHub while you're at it (you may be our 2,000th 😊)</Check>+ <Check>[Give us a star](https://github.com/AgentOps-AI/agentops) on GitHub while you're at it (you may be our <span id="stars-text">2,000th</span> 😊)</Check></Step><Step title="Add 3 lines of code"><CodeGroup>@@ -113,4 +113,21 @@ This is a living integration. Should you need any added functionality message usagentops.end_session('Success')```-</CodeGroup>\ No newline at end of file+</CodeGroup>++<script>+ {window.addEventListener('load', function() {+ fetch("https://api.github.com/repos/AgentOps-AI/agentops")+ .then((response) => response.json())+ .then((data) => {+ const stars = Math.ceil(data.stargazers_count / 1000) * 1000;+ const dataContainer = document.getElementById("stars-text");+ dataContainer.innerHTML = `${stars.toLocaleString()}th`;++ })+ .catch((error) => {+ console.error("Error:", error);+ document.getElementById("stars-text").textContent = 'Error loading data.';+ });+ })}+</script>\ No newline at end of filediff --git a/docs/v1/integrations/crewai.mdx b/docs/v1/integrations/crewai.mdxindex 8b55bad2..af6faef2 100644--- a/docs/v1/integrations/crewai.mdx+++ b/docs/v1/integrations/crewai.mdx@@ -24,9 +24,7 @@ Crew has comprehensive [documentation](https://docs.crewai.com) available as welpoetry add agentops```</CodeGroup>- <Check>- [Give us a star](https://github.com/AgentOps-AI/agentops) on GitHub while you're at it (you may be our 2,000th 😊)- </Check>+ <Check>[Give us a star](https://github.com/AgentOps-AI/agentops) on GitHub while you're at it (you may be our <span id="stars-text">2,000th</span> 😊)</Check></Step><Step title="Install Crew from the AgentOps fork"><Warning>@@ -106,4 +104,21 @@ agentops.init(skip_auto_end_session=True)<Card title="Job Posting" icon="briefcase" href="https://github.com/Agentops-AI/crewAI-examples/tree/main/job-posting" /><Card title="Instagram Post" icon="instagram" href="https://github.com/Agentops-AI/crewAI-examples/tree/main/instagram_post" /><Card title="Markdown Validator" icon="markdown" href="https://github.com/Agentops-AI/crewAI-examples/tree/main/markdown_validator" />-</CardGroup>\ No newline at end of file+</CardGroup>++<script>+ {window.addEventListener('load', function() {+ fetch("https://api.github.com/repos/AgentOps-AI/agentops")+ .then((response) => response.json())+ .then((data) => {+ const stars = Math.ceil(data.stargazers_count / 1000) * 1000;+ const dataContainer = document.getElementById("stars-text");+ dataContainer.innerHTML = `${stars.toLocaleString()}th`;++ })+ .catch((error) => {+ console.error("Error:", error);+ document.getElementById("stars-text").textContent = 'Error loading data.';+ });+ })}+</script>\ No newline at end of filediff --git a/docs/v1/integrations/litellm.mdx b/docs/v1/integrations/litellm.mdxindex 0000cf59..57e3b968 100644--- a/docs/v1/integrations/litellm.mdx+++ b/docs/v1/integrations/litellm.mdx@@ -37,3 +37,20 @@ response = litellm.completion(model="claude-3", messages=messages)response = await litellm.acompletion(model="claude-3", messages=messages)```++<script>+ {window.addEventListener('load', function() {+ fetch("https://api.github.com/repos/AgentOps-AI/agentops")+ .then((response) => response.json())+ .then((data) => {+ const stars = Math.ceil(data.stargazers_count / 1000) * 1000;+ const dataContainer = document.getElementById("stars-text");+ dataContainer.innerHTML = `${stars.toLocaleString()}th`;++ })+ .catch((error) => {+ console.error("Error:", error);+ document.getElementById("stars-text").textContent = 'Error loading data.';+ });+ })}+</script>\ No newline at end of filediff --git a/docs/v1/introduction.mdx b/docs/v1/introduction.mdxindex c2e20bad..f687757f 100644--- a/docs/v1/introduction.mdx+++ b/docs/v1/introduction.mdx@@ -4,7 +4,7 @@ description: "Build your next agent with evals, observability, and replays"mode: "wide"----<Check>[Give us a star](https://github.com/AgentOps-AI/agentops) on GitHub if you find AgentOps helpful (you may be our 2,000th 😊)</Check>+<Check>[Give us a star](https://github.com/AgentOps-AI/agentops) on GitHub if you find AgentOps helpful (you may be our <span id="stars-text">2,000th</span> 😊)</Check># AgentOps solves what Terminal can't@@ -30,7 +30,6 @@ And we do it all in just two lines of code...</CodeGroup>... that logs everything back to your AgentOps Dashboard.-## The AgentOps DashboardWith just two lines of code, you can free yourself from the chains of the terminal and instead visualize your agents' behavior@@ -67,3 +66,20 @@ View a meta-analysis of all of your sessions in a single view.<Frame type="glass" caption="Session Overview"><img height="200" src="https://github.com/AgentOps-AI/agentops/blob/cf67191f13e0e2a09446a61b7393e1810b3eee95/docs/images/overview.png?raw=true" /></Frame>++<script>+ {window.addEventListener('load', function() {+ fetch("https://api.github.com/repos/AgentOps-AI/agentops")+ .then((response) => response.json())+ .then((data) => {+ const stars = Math.ceil(data.stargazers_count / 1000) * 1000;+ const dataContainer = document.getElementById("stars-text");+ dataContainer.innerHTML = `${stars.toLocaleString()}th`;++ })+ .catch((error) => {+ console.error("Error:", error);+ document.getElementById("stars-text").textContent = 'Error loading data.';+ });+ })}+</script>\ No newline at end of filediff --git a/docs/v1/quickstart.mdx b/docs/v1/quickstart.mdxindex a85f5b71..5e7c70b6 100644--- a/docs/v1/quickstart.mdx+++ b/docs/v1/quickstart.mdx@@ -60,7 +60,7 @@ import SupportedModels from '/snippets/supported-models.mdx'</Frame></Step></Steps>-<Check>[Give us a star](https://github.com/AgentOps-AI/agentops) on GitHub if you found AgentOps helpful (you may be our 2,000th 😊)</Check>+<Check>[Give us a star](https://github.com/AgentOps-AI/agentops) if you liked AgentOps! (you may be our <span id="stars-text">2,000th</span> 😊)</Check>## More basic functionality@@ -152,4 +152,21 @@ agentops.end_session('Success')<Card title="Tracking Agents" icon="robot" href="/v1/usage/tracking-agents">Associate Events with specific named agents.</Card>-</CardGroup>\ No newline at end of file+</CardGroup>++<script>+ {window.addEventListener('load', function() {+ fetch("https://api.github.com/repos/AgentOps-AI/agentops")+ .then((response) => response.json())+ .then((data) => {+ const stars = Math.ceil(data.stargazers_count / 1000) * 1000;+ const dataContainer = document.getElementById("stars-text");+ dataContainer.innerHTML = `${stars.toLocaleString()}th`;++ })+ .catch((error) => {+ console.error("Error:", error);+ document.getElementById("stars-text").textContent = 'Error loading data.';+ });+ })}+</script>\ No newline at end of file