Skip to main content

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

The OctenToolSpec in llama-index-tools-octen provides the ready-made tools listed in Tools.

Get API Key

Create a key from the API Platform.

PyPI

The llama-index-tools-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

to_tool_list() returns all 13 tools below. Pass spec_functions to choose some of them, as in the Quick Start. 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. Install the LLM class for OpenAI-compatible APIs:
Run the model:

Last modified on November 24, 2026