rqark-sandbox
A docker workspace for rqark-app agents: file, shell and git tools that run inside a per-user container, plus the prompts that describe that container to the model.
Why rqark-sandbox
rqark-core tools run in the host process. This one runs them next to the data: every user gets a named container with a mounted volume, and the agent's tools are swapped for workspace-backed versions that cannot leave /workspace.
Installation
Requires Python 3.14+.
uv add rqark-sandbox
# or
pip install rqark-sandbox
Quick Start
from rqark_app.agent.agents import Wednesday
from rqark_sandbox import Workspace, swap_agent
workspace = Workspace('user-1', image='ubuntu:24.04')
await workspace.ensure()
agent = swap_agent(Wednesday(), workspace)
What it ships
| Module | Contents |
|---|---|
rqark_sandbox.workspace |
Workspace: container lifecycle, file read/write, shell exec, archive, upload and download caps |
rqark_sandbox.project |
load_project: the project a session works in |
rqark_sandbox.tools |
exec, read_file, write_file, edit_file, list_dir, grep, convert_document and the git tools |
rqark_sandbox.prompts |
AgentsMdPrompt, GitProjectPrompt, PlatformPrompt, workspace prompt |
rqark_sandbox.swap_agent |
Replaces an agent's tools and prompts with the workspace-backed versions |
Configuration
Environment variables read by the package:
| Variable | Default | Meaning |
|---|---|---|
WORKSPACE_MAX_BYTES |
104857600 |
largest file the workspace will read or write |
WORKSPACE_SHELL_MAX_BYTES |
8388608 |
stdout and stderr cap for one shell call |
The container image is not an environment variable here: Workspace takes it as an argument.
The host needs access to the docker socket, and the image must exist locally.
Metadata
Release files for rqark-sandbox 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rqark_sandbox-0.1.0.tar.gz | 112.7 kB | Without provenance | Details for rqark_sandbox-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rqark_sandbox-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rqark_sandbox-0.1.0-py3-none-any.whl |
Total release size: 140.9 kB
Release files / rqark_sandbox-0.1.0.tar.gz
| Download URL | rqark_sandbox-0.1.0.tar.gz |
|---|---|
| Size | 112.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89e61b44d1c2bdf2fa4973d03993f73ef71aa31dc8f55e221814c49f31a78c63
|
|
BLAKE2b-256 checksum How to use checksums |
254f2b1d5b188de1dd381566b8e3a0931acf4f7d9d8cbc11139244819dee9b6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / rqark_sandbox-0.1.0-py3-none-any.whl
| Download URL | rqark_sandbox-0.1.0-py3-none-any.whl |
|---|---|
| Size | 28.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1ab1a7963570569231622fef64541c9f80208499da88e39513dd4c1d26b5b17
|
|
BLAKE2b-256 checksum How to use checksums |
4465b694c7a9aa9b859b0a89df1497508dc995ae721c0c5a62392b152796eef8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for rqark-sandbox 0.1.0
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.