n4nAI

Topic

CrewAI Custom Tools & Integrations

12 posts on crewai custom tools & integrations — part of framework tutorials on the n4n AI blog.

Framework tutorialsTutorial

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.

3 min read
Framework tutorialsGuide

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.

3 min read
Framework tutorialsHow-to

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.

4 min read
Framework tutorialsHow-to

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.

4 min read
Framework tutorialsHow-to

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.

3 min read
Framework tutorialsHow-to

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.

3 min read
Framework tutorialsHow-to

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.

4 min read
Framework tutorialsTutorial

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.

2 min read
Framework tutorialsTutorial

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.

3 min read
Framework tutorialsDefinition

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.

4 min read
Framework tutorialsHow-to

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.

3 min read
Framework tutorialsHow-to

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.

3 min read