Skip to main content
The Python SDK turns a disk or workspace into a filesystem toolset for agent frameworks. The agent reads, writes, searches, and runs commands against your data.

Setup

Install the SDK with the extra for your framework, and set ARCHIL_API_KEY and ARCHIL_REGION:

OpenAI Agents SDK

agent_tools() returns a toolset, and for_openai_agents() turns it into OpenAI Agents SDK tools:

LangChain

for_langchain() returns LangChain tools for agents and LangGraph graphs. This example also needs pip install langchain langchain-anthropic:

Tools

Pass tools to give the agent a subset, such as read-only research tools:

Workspaces

A workspace spans several disks, each a top-level directory. File operations route to the right disk by path, and grep and list_files search all of them. A disk mounted with read_only=True can’t be changed by the agent: