Skip to main content
The @youdotcom-oss/langchain package provides three DynamicStructuredTool instances for web search and content extraction, built for LangChain.js agents.

Setup

Install the package with your preferred package manager:
Set your You.com API key. Get your API key at you.com/platform.

Available tools

youSearch

Web and news search with advanced filtering (dates, sites, file types).

youResearch

Comprehensive answers with cited sources. Supports configurable effort levels: lite, standard, deep, and exhaustive.

youContents

Extract full page content from URLs in markdown or HTML format.

Use with an agent

For more details, see the You.com LangChain package README.