Skip to main content

Overview

Crawleo provides a dedicated LangChain integration package that makes it easy to use Crawleo’s web search and crawling capabilities in your LangChain applications.

Installation

Install the langchain-crawleo package:

Available Tools

The package provides two LangChain tools:

CrawleoSearch

Web search tool powered by Crawleo’s Search API.

CrawleoCrawler

URL crawling tool powered by Crawleo’s Crawler API.

Quick Start

Basic Setup

Using Environment Variables

CrawleoSearch Tool

Perform web searches using the Search API:

Parameters

CrawleoCrawler Tool

Crawl specific URLs:

Parameters

Using with LangChain Agents

Create an Agent with Crawleo Tools

RAG Pipeline Example

Build a RAG pipeline with Crawleo:

Best Practices

Always enable Markdown output (markdown=True, which is the default) for LLM applications to minimize token usage.
Implement retry logic for credits exhaustion errors:
Cache crawled content to avoid redundant API calls:

Resources

PyPI Package

View on PyPI

GitHub Examples

Code examples and samples
Last modified on April 4, 2026