Prerequisites
- An IAM user or access key with permission for the buckets the agent should use
- An agent you can edit
- Optional: default bucket, region, and custom endpoint for S3-compatible stores
Setup
- Create an IAM access key with the least privilege needed (or a custom policy instead of full S3 access).
- Open the agent → Toolkits → add Amazon S3.
- Create a connection with:
- Access key ID and Secret access key (required)
- Optional default bucket, region (default
us-east-1), and endpoint for compatible APIs
- Save the agent.
@-mention S3 tools in the personality prompt for file storage tasks.
Available tools
Bucket can come from connection defaults or be passed per call.
Use cases
- Store generated reports or exports in a known bucket prefix
- Read a config or data file from S3 during a workflow
- Share a short-lived download link with a presigned URL
- Copy objects between prefixes during cleanup or promotion
Tips
- Prefer a default bucket in the connection to avoid repeating it in every call.
- Use a custom endpoint + region for MinIO or other compatible stores.
- Presigned URLs expire — keep TTL as short as practical.
- Store keys in a saved connection — do not put secrets in the personality prompt.