Skip to main content

artifact_tool_v2

Host-side library for managing artifacts an agent writes into a sandbox workspace.

The orchestrator creates a workspace keyed by sandbox_id, points the agent at that directory, then discovers, filters, and exports the files that appeared there.

Install

pip install artifact_tool_v2

From this repo:

pip install -e ".[dev]"

Workspace location

Each sandbox lives at {root}/{sandbox_id}/.

Root is resolved in this order:

  1. The root= argument to ArtifactManager
  2. The ARTIFACT_TOOL_V2_ROOT environment variable
  3. ~/.artifact_tool_v2

Usage

from artifact_tool_v2 import ArtifactManager

mgr = ArtifactManager("run-123")
workspace = mgr.ensure_workspace()
# Point the agent sandbox at `workspace`. After it finishes:

artifacts = mgr.discover()
pngs = mgr.list(suffix=".png")
mgr.export("/tmp/out", format="dir")
mgr.export("/tmp/out.zip", format="zip")

Metadata

Release files for artifact-tool-v2 2.9.0

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

Source distribution (sdist)

Source distribution for artifact-tool-v2 2.9.0
File Size Uploaded Provenance Actions
artifact_tool_v2-2.9.0.tar.gz 4.6 kB Without provenance Details for artifact_tool_v2-2.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for artifact-tool-v2 2.9.0
File Interpreter ABI Platform Actions
artifact_tool_v2-2.9.0-py3-none-any.whl Python 3 none any Details for artifact_tool_v2-2.9.0-py3-none-any.whl

Total release size: 9.5 kB

Release files / artifact_tool_v2-2.9.0.tar.gz

Download URL artifact_tool_v2-2.9.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0413ef1695d6d6ed6176448ca5c798316ca6a2ee4433425067471d153e152cda
BLAKE2b-256 checksum
How to use checksums
0d9b0b0dfa3fb0cb7e8fc39ef58efe0d5d7522fd4ab2f8e979d6078cb7a56516
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Release files / artifact_tool_v2-2.9.0-py3-none-any.whl

Download URL artifact_tool_v2-2.9.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5ad9a7733644e7669806e3a84155d362b93323b23b7214424dd37a43cde04bb
BLAKE2b-256 checksum
How to use checksums
f64f375b621e4d5a694e31205a7c9fd571f334099cdf4e8960ceddb95585d324
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.4

Security for artifact-tool-v2 2.9.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.

Release history Release notifications | RSS feed

This release

2.9.0 This release

2 release files No provenance

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