Before you start
Complete the CLI quickstart first so your runtime already has a paired wallet, API key, and wallet UUID.5-minute outcome
- Build CrewAI tools from Cobo toolkit
- Submit a pact and wait for owner approval
- Run role-based task flow
- Trigger and handle policy denial
- Verify retry and audit outcomes
Step 1: Install
Step 2: Configure environment
Step 3: Run crew flow
crewai_quickstart.py
Step 4: Validate outcomes
Confirm the crew result captures:- pact submission and activation
- allowed transfer
- denied transfer with suggestion
- corrected retry
- audit summary
Go further
CoboAgentWalletCrewAIToolkit gives your crew the widened CAW runtime toolkit. You can extend it for more complex multi-agent workflows:
- Write custom CrewAI tools — define
@toolfunctions that callWalletAPIClientdirectly and assign them to specific agents. For example, aPriceAnalystagent with a custom price-checking tool that theWalletOperatoragent uses to gate transfer decisions. - Use the Python SDK in task callbacks — run pact submission, policy dry-runs, and audit queries programmatically in your crew’s task logic for deterministic control.
- Combine with CLI — use
cawfor provisioning, debugging, and manual inspection; use CrewAI tools for agent-time execution. - Use role-based presets — split responsibilities into Pact Drafting, Execution, and Observer tool sets so each agent sees only the tools it needs.
Python SDK
Use WalletAPIClient directly for custom tool functions.