Topic
CrewAI Custom Tools & Integrations
12 posts on crewai custom tools & integrations — part of framework tutorials on the n4n AI blog.
CrewAI custom tools tutorial: file read and write access
Build CrewAI custom tools for file read and write operations with complete, runnable code examples and expected outputs.
CrewAI custom tools tutorial: error handling best practices
Practical guide to robust error handling in CrewAI custom tools — retries, fallbacks, structured exceptions, and observability patterns that keep agents running.
CrewAI custom tools: caching results to cut LLM calls
Learn to implement caching in CrewAI custom tools to eliminate redundant LLM calls and cut inference costs with production-ready patterns.
CrewAI custom tools: adding input validation with Pydantic
Learn how to add robust input validation to CrewAI custom tools using Pydantic models, with step-by-step code examples and verification steps.
Integrating CrewAI with LangChain tools
Learn to wrap LangChain tools for CrewAI agents with a complete, runnable example — from custom tool definition to multi-agent execution.
Integrating CrewAI agents with a REST API tool
Build a CrewAI custom tool that calls a REST API, with authentication, error handling, and structured output parsing for production use.
Integrating CrewAI with n4n.ai's function calling models
Step-by-step guide to wiring CrewAI agents to n4n.ai's OpenAI-compatible function calling models, with runnable code for custom tools and verification.
CrewAI custom tools tutorial: web search with Serper
Hands-on tutorial: build a crewai serper web search tool from scratch with the Serper API, wrap it for CrewAI agents, and run a live search crew.
CrewAI custom tools tutorial: building your first tool
Hands-on CrewAI tutorial: step by step build, test, and integrate your first custom tool with a live agent, including runnable code and expected output.
CrewAI BaseTool class explained with a working example
Learn the CrewAI BaseTool class with a working example. Understand its structure, why it matters for agents, and avoid common custom tool mistakes.
Building a CrewAI tool that queries a SQL database
This crewai sql database tool tutorial shows how to build a safe SQL query tool for CrewAI agents, with runnable code and end-to-end verification.
Building a CrewAI tool for retrieval-augmented generation
Step-by-step crewai rag tool tutorial: build a custom RAG tool for CrewAI agents using Chroma vector store and OpenAI-compatible APIs.
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 Agent Roles & Task Design14
- CrewAI Real-World Crew Examples14
- Haystack RAG Pipelines14
- LangChain Agents & Tool Calling14
- LangChain Multi-Model Fallback & Routing14
- LangChain.js for Node & TypeScript14