Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

Pre-release

This release is a pre-release and may not be stable for production use.

archil

The Python SDK for Archil disks and sandboxes. Create disks, read and write their files, run commands against them, and start persistent sandboxes, from scripts, services, CI, or notebooks.

Every method runs synchronously, and .aio(...) runs it asynchronously: disk.put_object(...) blocks, and await disk.put_object.aio(...) doesn't.

Full documentation is at docs.archil.com.

Install

pip install archil

archil runs on Python 3.10 or later. Install archil[openai-agents] or archil[langchain] to use the agent tools with those frameworks.

Credentials

Set ARCHIL_API_KEY and ARCHIL_REGION (for example aws-us-east-1), or pass them to configure:

import archil

archil.configure(api_key="key-...", region="aws-us-east-1")

To work with several accounts or regions in one process, create clients with archil.Archil(api_key=..., region=...).

Quickstart

import archil

# Create a disk, or open an existing one with archil.get_disk("dsk-...")
disk = archil.create_disk(name="my-disk").disk

# Read and write files through the object API
disk.put_object("notes/hello.txt", "hello from python")
text = disk.get_object("notes/hello.txt").decode()

# Run a command with the disk mounted at /mnt/archil
result = disk.exec("cat notes/hello.txt && ls -la")
print(result.stdout, result.exit_code)

# Start a persistent sandbox and run a command in it
sandbox = archil.create_sandbox(name="dev")
print(sandbox.exec("uname -a").stdout)
sandbox.delete()

Agent tools

disk.agent_tools() gives an agent a filesystem toolset over a disk:

from agents import Agent

agent = Agent(name="analyst", tools=archil.get_disk("dsk-...").agent_tools().for_openai_agents())

Use .for_langchain() for LangChain.

Documentation

Support

Questions, feature requests, or issues? Reach us at support@archil.com.

Metadata

Release files for archil 0.24.1.dev20261201230759

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for archil 0.24.1.dev20261201230759
File Size Uploaded Provenance Actions
archil-0.24.1.dev20261201230759.tar.gz 96.1 kB Without provenance Details for archil-0.24.1.dev20261201230759.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for archil 0.24.1.dev20261201230759
File Interpreter ABI Platform Actions
archil-0.24.1.dev20261201230759-py3-none-any.whl Python 3 none any Details for archil-0.24.1.dev20261201230759-py3-none-any.whl

Total release size: 203.3 kB

Release files / archil-0.24.1.dev20261201230759.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL archil-0.24.1.dev20261201230759.tar.gz
Size 96.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d048cf7a934933d39c50c365075f95a1c85960563f6997b6feb32a61fecc6c0f
BLAKE2b-256 checksum
How to use checksums
5eb7c1e9d8a77478a334ad599b790a40014d76683293f4544247bc373a9d3ca7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / archil-0.24.1.dev20261201230759-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL archil-0.24.1.dev20261201230759-py3-none-any.whl
Size 107.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27ab4cfc003011e03cba98376a5aa6e3bcab1ad2fbbcca108c65fdf9be011a6b
BLAKE2b-256 checksum
How to use checksums
cdea82d71571ef2f27b50ba8f4f472c6ae20cf8298cf9e24ad98a4c5cc03c4a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for archil 0.24.1.dev20261201230759

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 0.23.0 2 files With provenance
  • Added 0.24.1.dev20261201230759 2 files Without provenance

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page