Upgrading to RCrewAI 0.8 through 0.11

These releases are almost entirely additive. To see what’s new, read the tutorials on providers, checkpointing, interceptors and events, concurrency and live streaming.

Check these

Tools now run in parallel (0.9). If a model requests several tools in one turn, they run concurrently. If your tools share state and aren’t thread-safe, or call a rate-limited API, set parallel_tools: false on those agents.

Subclasses overriding execute_task (since 0.7.1). The method is now called with a stream: keyword, so def execute_task(task) fails with wrong number of arguments:

def execute_task(task, stream: nil, **opts)
  super
end

Stream subscribers (0.8). Delivery is now serialized, so a subscriber’s own mutex is no longer needed. Keeping it is harmless.

Dropped dependencies (0.8.1). anthropic, ruby-openai and faraday-multipart are no longer installed with the gem. If your app uses them directly, add them to your Gemfile.

0.11

Agents with tools should start working on real providers, and this release changes how configuration resolves. Check these:

It also updates Anthropic support for current Claude models: