API Reference

Complete API documentation for RCrewAI

API Reference

Complete documentation for all RCrewAI classes and methods.

Core Classes

RCrewAI::Crew

The main orchestrator that manages agents and tasks.

RCrewAI::Agent

Individual AI agents with specific roles and capabilities.

RCrewAI::Task

Tasks that agents execute to achieve goals.

Production Controls (0.8 – 0.10)

  • RCrewAI::Checkpoint — save and resume runs. See Checkpointing
  • before_request / after_response, RCrewAI::Events — hooks and tracing. See Interceptors and Events
  • parallel_tools, consensus_max_concurrency, max_concurrency — fan-out limits. See Concurrency
  • RCrewAI::CancelToken, RCrewAI::StreamCancelled — real-time Anthropic calls. See Live Streaming

Capabilities (0.4 – 0.7)

These subsystems are covered in depth by the tutorials (with runnable examples):

  • RCrewAI::Flow — event-driven workflows. See Flows
  • RCrewAI::Knowledge::Base and sources/embedders — RAG. See Knowledge
  • RCrewAI::Memory (+ SqliteStore, memory types) — cognitive memory. See Memory
  • Consensual process — multi-agent voting. See Consensual Process
  • Advanced agent/task options — per-agent LLM, reasoning, rate limiting, context window, multimodal, structured output, guardrails, hooks. See Advanced Options

Tools

See the Tools System reference for the full API. Built-in tools include WebSearch, FileReader, FileWriter, SqlDatabase, EmailSender, PdfProcessor, and CodeExecutor — plus native function calling and MCP servers.

Configuration

RCrewAI::Configuration

Configure LLM providers, models, and other settings.