Microsoft Autogen Chat Example
AgentOps automatically configures itself when it’s initialized meaning your agent run data will be tracked and logged to your AgentOps dashboard right away. First let’s install the required packagesInstallation
-
Create an environment variable in a .env file or other method. By default, the AgentOps
init()
function will look for an environment variable namedAGENTOPS_API_KEY
. Or… -
Replace
<your_agentops_key>
below and pass in the optionalapi_key
parameter to the AgentOpsinit(api_key=...)
function. Remember not to commit your API key to a public repo!
- LLM prompts and completions
- Token usage and costs
- Agent names and actions
- Correspondence between agents
- Tool usage
- Errors