# CrewAI evals

CrewAI is an open-source Python framework for orchestrating autonomous AI agents, licensed
under MIT. It has two building blocks. A crew is a team of role-playing agents, each with a
goal and tools, that works through assigned tasks. A flow is the structure of the application
around the crews: a sequence of steps, some of which hand work to a crew.

It exists to make multi-agent work a matter of describing agents and tasks rather than writing
the coordination code. The framework assigns tasks to agents based on what each one can do.
The split between flows and crews decides how much of a run is left to the agents: the steps
of a flow are fixed in code, while the agents in a crew decide how to do their tasks.

Tracing is turned on per crew or flow, or for all of them with an environment variable, and it
records agent decisions, task timelines, tool usage, model calls, token use, cost, and errors.
Sending a trace off your machine needs your explicit consent, and the trace may contain
prompts, inputs, and outputs. For testing, the crewai test command runs a crew several times
and has a model score each task and the whole crew from 1 to 10, along with execution time.

Delegation is also where crews fail quietly. An agent can skip a tool it was given and answer
from the model alone, or pass a weak result to the next task, which builds on it. A per-task
score from a model judge shows which task was weak in a run, but not why, and the score
depends on the judge model.

---

Source: https://tessary.ai/answers/crewai-evals
All concepts: https://tessary.ai/answers
From Tessary, agent reliability for AI agents in production: https://tessary.ai
