CrewAI is an open-source Python framework for building workflows in which multiple AI agents collaborate or follow controlled, event-driven processes. Developers use its role-based Crews and precise Flows to automate tasks involving language models and connected systems.
Borrowing it
Nothing to install: this file belongs to crewAIInc/crewAI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/crewAIInc/crewAI/main/AGENTS.mdgit clone --depth 1 https://github.com/crewAIInc/crewAIWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/crewaiinc/crewai/agents-md)<a href="https://agentmods.dev/instructions/crewaiinc/crewai/agents-md"><img src="https://agentmods.dev/badge/instructions/crewaiinc/crewai/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/crewaiinc/crewai/agents-md"><img src="https://agentmods.dev/badge/instructions/crewaiinc/crewai/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00452 | $0.00452 |
| Opus 5.5 | $0.00181 | $0.00181 |
| Sonnet 5.5 | $0.00090 | $0.00090 |
| Haiku 4.5 | $0.00045 | $0.00045 |
Grade A, and why
crewAI AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Agent Instructions for CrewAI OSS
CrewAI is a Python based framework for building AI agents and agentic systems. Follow these guidelines when contributing:
Key Guidelines
- Follow Python best practices and idiomatic patterns.
- Maintain existing code structure and organization.
- Write unit tests for new functionality focusing on behaivor and not implementation.
- Document public APIs and complex logic.
- Suggest changes to the
docs/folder when appropriate - Follow software principles such as DRY and YAGNI.
- Keep diffs as minimal as possible.
Message Content
LLMMessage.content is str | list[dict[str, Any]] | None; the list form is
multimodal content parts. Never str() it — that puts a Python repr
([{'type': 'text', 'text': 'hi'}]) in front of the model and into memory.
Collapse a message to text with the helper instead:
from crewai.utilities.agent_utils import message_content_text
text = message_content_text(msg) # "" for None; joined text for a parts list
Parts arrive from a model and are typed dict[str, Any], so a text key that
is not a string is possible. _content_parts_text skips those blocks rather
than raising, and names a list with no usable text [multimodal content].
Changing Docs
- Edit MDX under
docs/edge/en/*and reference it fromdocs/docs.jsonif needed. - Do not modify files under
docs/v*/. Those are frozen release snapshots managed by devtools. - Do not delete or rename files under
docs/images/as frozen snapshots may reference them. - If you want to preview your changes locally, use
cd docs && mintlify dev. To check for broken links, runcd docs && mintlify broken-links. - After editing English docs, sync translations to
ar,ko, andpt-BRbefore finishing the task. Follow DOCS_TRANSLATIONS.md.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 46 lines · 452 tokens per session scan A 03a3efb0ebb1
crewAI AGENTS.md is an instructions file published in the GitHub repository crewAIInc/crewAI (60,549 stars, last pushed today), licensed MIT. It adds 452 tokens to every session, about $0.0018 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
crewAI AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| crewAI AGENTS.mdcrewAIInc/crewAI | Instructions file | 61k | today | MIT | A | 452 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |