Setup
Install the SDK with the extra for your framework, and setARCHIL_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, andgrep and list_files search all of them. A disk mounted with read_only=True can’t be changed by the agent: