Skip to content

Commit

Permalink
Crew doc fixes (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
HowieG authored Aug 15, 2024
1 parent 4cd6538 commit 1fcb3a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,8 @@ All your sessions are available on the [AgentOps dashboard](https://app.agentops

Build Crew agents with observability with only 2 lines of code. Simply set an `AGENTOPS_API_KEY` in your environment, and your crews will get automatic monitoring on the AgentOps dashboard.

AgentOps is integrated with CrewAI on a pre-release fork. Install crew with

```bash
pip install git+https://github.com/AgentOps-AI/crewAI.git@main
pip install 'crewai[agentops]'
```

- [AgentOps integration example](https://docs.agentops.ai/v1/integrations/crewai)
Expand Down
7 changes: 2 additions & 5 deletions docs/v1/integrations/crewai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: '[CrewAI](https://crewai.io) is a framework for easily building mul
import CodeTooltip from '/snippets/add-code-tooltip.mdx'
import EnvTooltip from '/snippets/add-env-tooltip.mdx'

AgentOps and CrewAI teamed up to make monitoring Crew agents dead simple. Crew and AgentOps have a first class partnership, adding agent observability to all Crew runs with 3 lines of code.
AgentOps and CrewAI teamed up to make monitoring Crew agents dead simple. Crew and AgentOps have a first class partnership, adding agent observability to all Crew runs with 2 lines of code.

<Card title="Crew.ai + AgentOps" icon="ship" href="https://www.loom.com/share/cfcaaef8d4a14cc7a974843bda1076bf">
CrewAI multi-agent framework with AgentOps support
Expand Down Expand Up @@ -38,16 +38,13 @@ Crew has comprehensive [documentation](https://docs.crewai.com) available as wel
```
</CodeGroup>
</Step>
<Step title="Add 3 lines of code">
<Step title="Add 2 lines of code">
<CodeTooltip/>
<span className="api-key-container">
<CodeGroup>
```python python
import agentops
agentops.init(<INSERT YOUR API KEY HERE>)
...
# MUST END SESSION at end of program (e.g. main.py)
agentops.end_session("Success") # Success|Fail|Indeterminate
```
</CodeGroup>
</span>
Expand Down

0 comments on commit 1fcb3a2

Please sign in to comment.