from crewai import Agent, Task, Crew
from crewai.mcp import MCPServerHTTP
purchasing_agent = Agent(
role="Purchasing Agent",
goal="Find and buy products at the best price",
backstory="Expert online shopper with access to payment tools",
mcps=[
MCPServerHTTP(
url="https://api.getovra.com/api/mcp",
headers={"Authorization": "Bearer <OVRA_AGENT_TOKEN>"},
streamable=True,
),
],
)
auditor_agent = Agent(
role="Compliance Auditor",
goal="Verify all purchases follow company policy",
backstory="Financial compliance expert",
mcps=[
MCPServerHTTP(
url="https://api.getovra.com/api/mcp",
headers={"Authorization": "Bearer <OVRA_AGENT_TOKEN>"},
streamable=True,
),
],
)