Object Storage
PrivateGPT uses an object storage backend to persist skill bundles, temporary processing files, and other application data. Two providers are supported: local (disk) and S3-compatible (any S3-compatible service — AWS S3, MinIO, Cloudflare R2, etc.).
This feature requires to have the storage extra enabled in your application. If you are adding storage to an existing application, make sure to run the sync command after enabling the module:
Local storage
The default for development. Files are written to disk under a configured path.
Skills use local storage when skills.storage_provider is set to local:
Local storage paths default to local_data/private_gpt/skills under PGPT_HOME (e.g. ~/.local/share/private-gpt/local_data/private_gpt/skills). No additional configuration is needed.
S3-compatible storage
Set the s3 block in settings.yaml (or via environment variables):
Then set skills to use S3:
Environment variables
Bucket layout
PrivateGPT uses two buckets with distinct retention semantics:
MinIO example
To use MinIO locally as an S3-compatible backend:

