LangChain Integration
LangChain tools and retrievers for real-time web search and content extraction.
Overview
The langchain-nimble package provides production-grade LangChain integrations for Nimble's Search and Extract APIs, enabling developers to build RAG applications and AI agents that can search, access, and retrieve online information from anywhere on the web.
The package includes two retrievers and two tools for comprehensive web data access:
Retrievers:
NimbleSearchRetriever- Web search with deep mode, LLM answers, and filteringNimbleExtractRetriever- Direct URL content extraction
Tools (for AI Agents):
NimbleSearchTool- Agent-integrated web searchNimbleExtractTool- Agent-integrated content extraction
Key Features
Fast + Deep mode - Quick metadata retrieval or comprehensive content extraction
Smart filtering - Domain and date filtering, topic-based routing
Multiple parsing formats - Plain text, markdown (default), or simplified HTML
Full async support - Both sync and async operations
Production-ready - Retry logic, connection pooling, comprehensive error handling
If you'd like to learn more about the underlying Nimble Search APIs, visit the documentation here.
Quick Start
Installation
Setup
Get your API credentials from Nimble's dashboard (free trial available) and set as an environment variable:
Build an AI Agent with Web Search
RAG with Knowledge Base
Extract specific URLs as your knowledge base and use them for RAG:
Additional Resources
Last updated
