Skip to main content

Crate agentics_storage

Crate agentics_storage 

Source
Expand description

Durable object storage for submissions, private assets, logs, and challenge bundles.

A storage key is an opaque object locator inside the configured storage backend. Local development maps it onto a filesystem path, while hosted deployments may map it to an S3 object key. Runner writable storage is a separate local filesystem concern and is not represented by this crate.

Structs§

LocalStorage
Filesystem-backed storage rooted at a configured directory.
LocalStorageOptions
Local filesystem durable storage settings.
S3Storage
S3-compatible durable object storage.
S3StorageOptions
Connection settings for S3-compatible durable object storage.
StorageKey
Opaque object key relative to the configured Agentics storage namespace.
StorageWriteIntent
Storage write/read purpose with an explicit byte cap.

Enums§

StorageError
Storage-layer failures before conversion to service/API errors.
StorageFactoryOptions
Backend-specific durable storage construction options.
StorageKeyError
Storage-key parse failures before mapping to a storage backend error.

Traits§

Storage
Minimal object-storage interface used by services and workers.

Functions§

build_storage
Build the configured durable storage backend.
pack_directory_to_tar
Create an immutable tar archive from a validated bundle directory.
storage_work_root
Return the host-local work root for object storage staging and materialization.
unpack_tar_to_directory
Extract an Agentics-managed bundle tar archive into a destination directory.

Type Aliases§

Result