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.

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.