MultiOn is a platform for building autonomous agents.

Adding AgentOps to MultiOn agents

1

Install MultiOn

pip install -U multion
2

Create your API keys

3

Create a MultiOn client with an AgentOps key

Make sure to call agentops.init before calling any openai, cohere, crew, etc models.

import multion
from multion.client import MultiOn

# Initialize MultiOn with both a MultiOn API key and an AgentOps API key
multion = MultiOn(
	api_key=<INSERT YOUR MULTION API KEY HERE>,
	agentops_api_key=<INSERT YOUR AGENTOPS API KEY HERE>
)

browse_response = multion.browse(
	cmd="what three things do i get with agentops",
	url="https://www.agentops.ai/",
	max_steps=4,
	include_screenshot=True
)

	print(browse_response.message)

Set your API key as an .env variable for easy access.

4

Run your agent

Execute your program and visit app.agentops.ai/drilldown to observe your MultiOn Agent! šŸ•µļø

After your run, AgentOps prints a clickable url to console linking directly to your session in the Dashboard

Clickable link to session

Full Examples

You can view several example notebooks here: