← Back to all examples

CrewAI-style Multi-Agent Governance

CrewAI-style simulationPythonsimulationautomated tests

Researcher/Auditor/Purchaser roles calling Limetry evaluate over HTTP (no CrewAI SDK dependency).

Source folder: examples/crewai-multi-agent-financial-approvals

Documentation & Guide

README.md

crewAI-style financial approvals

Plain-Python Researcher / Auditor / Purchaser roles. The Auditor calls Limetry (PUT /v1/policies/:id + POST /v1/policy/evaluate). The crewAI SDK is not installed.

Quickstart

cd examples/crewai-multi-agent-financial-approvals
python3 -m venv .venv
source .venv/bin/activate
pip install httpx pytest
pytest test_crew.py
python crew.py   # needs a running Limetry server

Policy highlights

  • Allow purchase for merchant_slack / merchant_github
  • Block merchant_malicious
  • max_cost_minor: $30.00

Scope

ClaimReality
Multi-role simulationYes
Real CrewAI SDKNo
Action governance HTTPYes — mocked in tests

Source Files

3 files in examples/crewai-multi-agent-financial-approvals
markdown
# crewAI-style financial approvals

Plain-Python Researcher / Auditor / Purchaser roles. The Auditor calls Limetry
(`PUT /v1/policies/:id` + `POST /v1/policy/evaluate`). The crewAI SDK is **not** installed.

## Quickstart

```bash
cd examples/crewai-multi-agent-financial-approvals
python3 -m venv .venv
source .venv/bin/activate
pip install httpx pytest
pytest test_crew.py
python crew.py   # needs a running Limetry server
```

## Policy highlights

- Allow `purchase` for `merchant_slack` / `merchant_github`
- Block `merchant_malicious`
- `max_cost_minor`: $30.00

## Scope

| Claim | Reality |
| --- | --- |
| Multi-role simulation | Yes |
| Real CrewAI SDK | No |
| Action governance HTTP | Yes — mocked in tests |