Generated by Code IQ · v1.0

crewAI
Knowledge Tutorial

A chapter-by-chapter walkthrough of crewAI, generated from its source code and tutorial markdown.

9
Chapters
-
Subsystems
Rabbit Holes
▶ Start Reading ⎇ View on GitHub
System Architecture

How the pieces fit

crewAI is organized as connected concepts and components. Start broad, then drill down chapter by chapter.

⚙️
setup_test_environment
setup_test_environment
⚙️
vcr_config
vcr_config
⚙️
vcr_cassette_dir
vcr_cassette_dir
⚙️
HEADERS_TO_FILTER
HEADERS_TO_FILTER
⚙️
_filter_request_headers
_filter_request_headers
⚙️
_filter_response_headers
_filter_response_headers
⚙️
_patched_make_vcr_request
_patched_make_vcr_request
⚙️
reset_event_state
reset_event_state
⚙️
cleanup_event_handlers
cleanup_event_handlers
crewAI — bash
open tutorial
◆ Scanning numbered chapters
◆ Building navigation and Mermaid diagrams
◆ Generating chapter and subsystem pages
✓ 9 chapter pages built
✓ Theme toggle enabled
Repository Overview

Intro and Architecture Diagram

crewAI is a framework designed for orchestrating AI agents, enabling them to work together using various LLM providers like OpenAI, Azure, and Anthropic. The provided code configures the project's test environment, focusing on a VCR (Video Cassette Recorder) system that records and replays HTTP requests to ensure deterministic testing. It includes mechanisms for handling binary data, filtering sensitive headers (like API keys), and managing event bus state to prevent test pollution.

Source Repository: https://github.com/crewAIInc/crewAI

flowchart TD A0["_patched_make_vcr_request"] A1["cleanup_event_handlers"] A2["reset_event_state"] A3["setup_test_environment"] A4["HEADERS_TO_FILTER"] A5["_filter_request_headers"] A6["_filter_response_headers"] A7["vcr_cassette_dir"] A8["vcr_config"] A8 -->|"Uses directory"| A7 A8 -->|"Uses filters"| A4 A8 -->|"Configures hook"| A5 A8 -->|"Configures hook"| A6 A5 -->|"Uses"| A4 A6 -->|"Uses"| A4 A0 -->|"Generates request for"| A5 A3 -->|"Sets environment for"| A1 A3 -->|"Sets environment for"| A2
Tutorial Chapters

All 9 chapters

Follow sequentially or jump to any topic. Start with setup_test_environment.

About This Project

Generated by Code IQ

This tutorial was automatically generated by Code IQ and rendered with the shared tutorial site builder. It can be produced for any repository tutorial folder that follows the numbered markdown chapter layout.

View Code IQ ↗
python build_site.py '/home/runner/work/Code-IQ/Code-IQ/output/crewAI'

// → 9 chapters
// → source: crewAIInc/crewAI