> ## Documentation Index
> Fetch the complete documentation index at: https://docs.archil.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SDKs

> Official Archil SDKs for TypeScript and Python, and the agent framework adapters built on them.

Archil has official SDKs for **TypeScript** and **Python**. Both talk to the Archil API over HTTPS, have no native
dependencies, and cover disks, serverless execution, persistent sandboxes, and file reads and writes. Neither mounts a
disk; to mount one as a local filesystem, use the [`archil` CLI](https://docs.archil.com/mounting/linux).

| | [TypeScript](https://docs.archil.com/sdks/typescript.md) | [Python](https://docs.archil.com/sdks/python.md) |
| - | - | - |
| Package | [`disk`](https://www.npmjs.com/package/disk) on npm. [`archil`](https://www.npmjs.com/package/archil) on npm is an alias for it. | [`archil`](https://pypi.org/project/archil/) on PyPI |
| Install | `npm install disk` | `pip install archil` |
| Runtime | Node.js 22.19 or later | Python 3.10 or later |
| Create, list, and delete disks, and manage who can mount them | Yes | Yes |
| Run commands with [serverless execution](https://docs.archil.com/compute/serverless-execution.md) and [search files](https://docs.archil.com/compute/search-files.md) | Yes | Yes |
| Create and manage [persistent sandboxes](https://docs.archil.com/compute/sandboxes/introduction.md) | Yes | Yes |
| Read and write files through the [S3-compatible object API](https://docs.archil.com/protocols/s3-api.md), and create share URLs | Yes | Yes |
| Manage API keys | Yes | Yes |
| Calling style | Async (Promises) | Sync and async from the same methods |
| Command-line tool | [`disk` CLI](https://docs.archil.com/reference/disk-cli) (`npx disk`) | None |

The source for both SDKs is public at [github.com/archil-data/archil-sdk](https://github.com/archil-data/archil-sdk).

## Agent framework adapters

These packages turn a disk into ready-made file and `bash` tools for an agent framework.

| Framework | Language | Package |
| - | - | - |
| [AI SDK](https://docs.archil.com/integrations/ai-sdk.md) | TypeScript | [`@archildata/ai-sdk`](https://www.npmjs.com/package/@archildata/ai-sdk) |
| [eve](https://docs.archil.com/integrations/eve.md) | TypeScript | [`@archildata/eve`](https://www.npmjs.com/package/@archildata/eve) |
| Mastra | TypeScript | [`@archildata/mastra`](https://www.npmjs.com/package/@archildata/mastra) |
| LangChain.js | TypeScript | [`@archildata/langchain`](https://www.npmjs.com/package/@archildata/langchain) |
| [just-bash](https://docs.archil.com/integrations/just-bash.md) | TypeScript | [`@archildata/just-bash`](https://www.npmjs.com/package/@archildata/just-bash) |
| OpenAI Agents SDK | Python | `pip install "archil[openai-agents]"`, then `disk.agent_tools().for_openai_agents()` |
| LangChain | Python | `pip install "archil[langchain]"`, then `disk.agent_tools().for_langchain()` |

For SQLite databases on a disk from TypeScript, see [`@archildata/sqlite`](https://docs.archil.com/compute/sqlite).

## Other languages

There is no SDK for other languages. From any language, you can call the [REST API](https://docs.archil.com/api-reference/introduction.md)
directly, use any S3 client with the [S3-compatible API](https://docs.archil.com/protocols/s3-api.md), or mount the disk with the
[`archil` CLI](https://docs.archil.com/mounting/linux) and use ordinary file I/O.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.