Topic
CrewAI Agent Roles & Task Design
14 posts on crewai agent roles & task design — part of framework tutorials on the n4n AI blog.
Writing clear CrewAI task descriptions that agents follow
Learn to write CrewAI task descriptions that agents actually follow — step-by-step patterns, code examples, and verification techniques for reliable agent execution.
Structuring CrewAI tasks with Pydantic output models
Learn to enforce structured outputs in CrewAI tasks using Pydantic models with step-by-step code examples and validation patterns.
CrewAI task design: async execution explained
Understand CrewAI async task execution — how parallel task running works, when to use it, and common pitfalls that break agent workflows.
Avoiding role overlap in CrewAI multi-agent design
Practical guide to designing distinct agent roles in CrewAI, with patterns for separation, delegation, and avoiding duplicate work.
Designing CrewAI agent roles for a content pipeline
A step-by-step guide to designing CrewAI agent roles and tasks for a production content pipeline, with runnable code and verification checkpoints.
CrewAI task design tutorial: context sharing between tasks
Learn how to share context between CrewAI tasks with practical code examples, covering output passing, memory, and callback patterns for multi-agent workflows.
CrewAI role design: writing effective agent backstories
Learn practical crewai agent backstory writing tips with step-by-step examples, runnable code, and a verification checklist for production agents.
Designing CrewAI tasks: context, output, and expected format
Practical guide to CrewAI task design: structure context, define expected output formats, and avoid common pitfalls when building multi-agent crews.
CrewAI task design tutorial: chaining task outputs
Hands-on CrewAI tutorial: chain task outputs to build multi-step agent workflows. Learn to use Task context, structured outputs, and avoid common pitfalls.
CrewAI agent roles tutorial: manager and worker patterns
Build a working CrewAI hierarchical crew with manager and worker agents. Step-by-step code, prerequisites, and expected output for the manager worker pattern.
CrewAI agent roles tutorial: goal, backstory, and tools
Hands-on CrewAI tutorial: define agent roles, goals, backstories, and tools step by step to build a working multi-agent crew with runnable Python code.
CrewAI agent roles: tools, memory, and delegation settings
Hands-on guide to CrewAI agent roles: configure tools, memory, and delegation settings with Python examples, plus pitfalls and a sane default setup.
CrewAI agent roles: specialist vs generalist design
Compare CrewAI specialist vs generalist agent roles across cost, latency, ergonomics, with a table and verdict for which to use when.
CrewAI agent roles: assigning the right LLM per role
Learn how to configure CrewAI llm per agent role assignment with runnable code, routing different models to planner, researcher, and writer agents in production.
More topics in framework tutorials
- Building Chatbots with Vercel AI SDK & Next.js15
- LangChain RAG with Vector Databases15
- LangGraph Multi-Agent Workflows15
- LlamaIndex Query Engines for RAG15
- AutoGen Multi-Agent Conversations & Group Chat14
- Choosing an AI Framework by Use Case14
- CrewAI Real-World Crew Examples14
- Haystack RAG Pipelines14
- LangChain Agents & Tool Calling14
- LangChain Multi-Model Fallback & Routing14
- LangChain.js for Node & TypeScript14
- One Backend, Every Model: Swapping GPT-5, Claude, Gemini & Llama Across Frameworks14