Skip to main content
The user asks a research question; the agent calls a LangChain tool wrapped for PraisonAI.

Langchain Tools

Quick Start

1

Install

2

Wrap a LangChain tool

Integrate Langchain Direct Tools

Integrate Langchain with Wrappers

Best Practices

Convert LangChain tools to plain Python functions with tool.run() for cleaner integration.
Prefer PraisonAI native tools for search and memory - use LangChain only when there is no native equivalent.
LangChain tools can raise ToolException - wrap calls in try/except and return error strings.
Tools with str-to-str signatures integrate most reliably with PraisonAI agents.

Custom Tools

Build your own agent tools

Tools Overview

Browse PraisonAI tool documentation