Home / Home / Tutorials / Integrate sipi.bot with CrewAI

Integrate sipi.bot with CrewAI

CrewAI runs crews of role-based agents in parallel — which compounds spend. The guard tool gives the whole crew a budget.

Step 1 — Add the tool

Register the guard as a tool available to the crew's agents.

Step 2 — Guard the spending task

In any task that spends, call the guard first and branch on the decision.

Step 3 — Set fleet rules

A shared daily ceiling across the crew, plus a velocity limit.

Crew tool

from crewai import Agent, Task, Crew
from sipi_guard import sipi_guard

agent = Agent(role="purchaser", tools=[sipi_guard], ...)
# decision = sipi_guard(amount=500, merchant="api.vendor.com", category="api")

One tool, whole-crew enforcement.

FAQ

Does the shared ceiling cover parallel agents?

Yes — rules scoped to the crew's agents share one budget.

Can I cap per role?

Yes — per-agent rules let each role run its own ceiling.

Related

Stop the next $12,400 night.

One API call (or MCP tool) in front of every agent transaction — APPROVED, BLOCKED, or FLAGGED, deterministic, ~5 ms, fully logged.

See plans — from $99/mo Try a live check