Skip to main content
cascadeflow integrates with CrewAI through the native llm_hooks system. Call enable() to register global hooks that track crew execution where the real cost and control decisions happen: across agent steps inside the crew, not at the request edge.

Install

Quick Start

Configuration

Features

  • Tracks all crew steps automatically via llm_hooks
  • Budget gating stops crew execution when budget is exceeded
  • Full decision trace across all agents in the crew
  • Fail-open mode for production safety
  • No changes to existing CrewAI agent or task definitions

Why This Integration Matters

  • Crew-level workflows often hide expensive multi-step loops
  • Hooks make those loops measurable and governable without rewriting crew logic
  • Decision traces help explain runtime behavior across multiple agents

Limitations

  • Tool-level gating is not currently applied (CrewAI hooks operate at the LLM call level)
  • Model switching depends on CrewAI’s model configuration