Skip to main content

For AI agents: docs.octen.ai/integrations/langchain.md

The langchain-octen package provides the ready-made tools listed in Tools.

Get API Key

Create a key from the API Platform.

PyPI

The langchain-octen package.

GitHub

View the source and changelog.

Install

Requires Python 3.11+.

Quick Start

Set your Octen and OpenAI API keys:
Run an agent that answers with Octen Web Search:

Tools

Skip the tool loop and let Octen run the searches server-side with Auto Search. Point the model at the Octen base URL and enable the built-in octen_search tool. Your Octen API key is the only key you need:
Pass the tool in extra_body: bind_tools rejects octen_search.

Last modified on November 24, 2026