Skip to main content

agentix-runtime-basic

Shell + file I/O primitives for Agentix sandboxes. One wheel, two namespaces:

Namespace Purpose
agentix.bash execute shell commands, stream stdout/stderr
agentix.files upload/download/list files inside the sandbox

These two used to ship as separate agentix-bash and agentix-files distributions. They consolidated here because every realistic sandbox image needs both — splitting them was friction without isolation benefit (neither has any non-stdlib runtime deps).

Install

pip install agentix-runtime-basic

Use

from agentix import RuntimeClient
from agentix.bash import run as bash_run, run_stream as bash_stream
from agentix.files import upload, download

async with RuntimeClient(sandbox.runtime_url) as c:
    await c.remote(upload, path="data.json", content=blob)
    result = await c.remote(bash_run, command="cat data.json | jq .")
    async for ev in c.remote(bash_stream, command="pytest -q"):
        ...  # ev is a BashStdout / BashStderr / BashExit / BashError

Each namespace is "the package IS the namespace": top-level async functions are the remote-callable surface, dataclasses/types like BashResult and UploadResult are importable for return-type annotations.

Building a sandbox image

runtime/Dockerfile is the base image bundle builds extend from. Most users invoke it indirectly:

agentix build runtime-basic -o my-agent:0.1.0

License

MIT — see LICENSE.

Metadata

Release files for agentix-runtime-basic 0.1.4

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

Source distribution (sdist)

Source distribution for agentix-runtime-basic 0.1.4
File Size Uploaded Provenance
agentix_runtime_basic-0.1.4.tar.gz 8.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agentix-runtime-basic 0.1.4
File Interpreter ABI Platform
agentix_runtime_basic-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 16.9 kB

Release files / agentix_runtime_basic-0.1.4.tar.gz

Download URL agentix_runtime_basic-0.1.4.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4ebc0b0df107e1f8124685be0768e5435b15a141a5292db8ba23a8905ed5d6a1
BLAKE2b-256 checksum
How to use checksums
d1f7f88aec8a36a86963549e20bf1167b7d35f4dcc3ff838cd27325bf445d13f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"TencentOS Server","version":"4.4","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / agentix_runtime_basic-0.1.4-py3-none-any.whl

Download URL agentix_runtime_basic-0.1.4-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d741119e22d479a22f3035505faf79a7d8f4734aaad221588c85ed014910cef6
BLAKE2b-256 checksum
How to use checksums
8a857a282bfcdf5863fadc6eecabd28041606a4dd7c929551c0be3fa55eb15c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"TencentOS Server","version":"4.4","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for agentix-runtime-basic 0.1.4

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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