agentleFS
crewAIInccrewAIInc/crewAI/AGENTS.md

crewAI

AGENTS.md59k starsChanged 24 months agoMITView on GitHub

CrewAI is a Python based framework for building AI agents and agentic systems. Follow these guidelines when contributing: 1. Follow Python best practices and idiomatic patterns. 2. Maintain existing code structure and organization. 3. Write unit tests for new functionality focusing on behaivor and not implementation. 4. Document public APIs and complex logic. 5. Suggest changes to the docs/ folder when appropriate 6. Follow software principles such as DRY and YAGNI. 7. Keep diffs as minimal as possible. LLMMessage.content is…

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about crewAIInc/crewAI

The biggest 5 of 57 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 57

Talked about on GitHub, Bluesky and Hacker News (57 times).

On GitHub · 50

45 more on GitHub
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

The file

We split this AGENTS.md into the rules it gives an agent

10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow these guidelines when contributing:

    line 4
  2. Distinctive:

    Follow Python best practices and idiomatic patterns.

    line 8
  3. Distinctive:

    Write unit tests for new functionality focusing on behaivor and not implementation.

    line 10
  4. Distinctive:

    Document public APIs and complex logic.

    line 12
  5. Distinctive:

    Follow software principles such as DRY and YAGNI.

    line 14
  6. Distinctive:

    Keep diffs as minimal as possible.

    line 15
  7. Very specific:

    Do not modify files under docs/v*/.

    line 38
  8. Very specific:

    Do not delete or rename files under docs/images/ as frozen snapshots may reference them.

    line 40
  9. Very specific:

    If you want to preview your changes locally, use cd docs && mintlify dev.

    line 42
  10. Very specific:

    After editing English docs, sync translations to ar, ko, and pt-BR before finishing the task.

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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

  1. Follow Python best practices and idiomatic patterns.
  2. Maintain existing code structure and organization.
  3. Write unit tests for new functionality focusing on behaivor and not implementation.
  4. Document public APIs and complex logic.
  5. Suggest changes to the docs/ folder when appropriate
  6. Follow software principles such as DRY and YAGNI.
  7. 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

  1. Edit MDX under docs/edge/en/* and reference it from docs/docs.json if needed.
  2. Do not modify files under docs/v*/. Those are frozen release snapshots managed by devtools.
  3. Do not delete or rename files under docs/images/ as frozen snapshots may reference them.
  4. If you want to preview your changes locally, use cd docs && mintlify dev. To check for broken links, run cd docs && mintlify broken-links.
  5. After editing English docs, sync translations to ar, ko, and pt-BR before finishing the task. Follow DOCS_TRANSLATIONS.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.