Skip to main content


Outline is an open-source collaborative knowledge base platform designed for team information sharing.


You first need to create an api key for your Outline instance. Then you need to set the following environment variables:

import os

os.environ["OUTLINE_API_KEY"] = "xxx"
os.environ["OUTLINE_INSTANCE_URL"] = ""


See a usage example.

from langchain.retrievers import OutlineRetriever

API Reference:

Help us out by providing feedback on this documentation page: