Change8

Migrating to CrewAI 1.13.0

Version 1.13.0 introduces 2 breaking changes. This guide details how to update your code.

Released: 4/2/2026

2
Breaking Changes
2
Migration Steps
3
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

FlowLLM classesInstanceOf

Breaking Changes

Issue #1

Flow and LLM classes were converted to Pydantic BaseModel, which may affect serialization or validation logic if custom logic relied on the previous implementation.

Issue #2

InstanceOf[T] usage has been replaced with plain type annotations, requiring updates to any code relying on InstanceOf for type checking or introspection.

Migration Steps

  1. 1
    Review code that interacts with Flow or LLM classes for potential serialization or validation changes due to conversion to Pydantic BaseModel.
  2. 2
    Replace all instances of InstanceOf[T] with standard Python type annotations.

Release Summary

This release introduces a unified RuntimeState RootModel, enhances telemetry for events, and adds A2UI extension support. Several core components like Flow and LLM classes were refactored to use Pydantic BaseModels, and various bugs related to credentials, model handling, and RBAC were fixed.

Need More Details?

View the full release notes and all changes for CrewAI 1.13.0.

View Full Changelog