Expand description
§adk-artifact
Binary artifact storage for ADK agents.
§Overview
This crate provides artifact storage for binary data:
InMemoryArtifactService- Simple in-memory storageArtifactService- Trait for custom backendsScopedArtifacts- Session-scoped artifact access
§Quick Start
use adk_artifact::InMemoryArtifactService;
let service = InMemoryArtifactService::new();
// Artifacts are stored with app/user/session scope
// Supports versioning and MIME type detection§Use Cases
- Store generated images, PDFs, audio
- Cache intermediate results
- Share binary data between agent turns
Re-exports§
pub use inmemory::InMemoryArtifactService;pub use scoped::ScopedArtifacts;pub use service::ArtifactService;pub use service::DeleteRequest;pub use service::ListRequest;pub use service::ListResponse;pub use service::LoadRequest;pub use service::LoadResponse;pub use service::SaveRequest;pub use service::SaveResponse;pub use service::VersionsRequest;pub use service::VersionsResponse;