pip install controlflow
import controlflow as cf
agent = cf.Agent(
name="Data Analyst",
description="An AI agent specialized in data analysis",
instructions=(
"Perform data analysis tasks efficiently and accurately. "
"Browse the web for data and use Python to analyze it."
),
tools=[cf.tools.web.get_url, cf.tools.code.python],
model="openai/gpt-4o",
interactive=True,
)