Artifact storage

Managing durable outputs without placing large files in run status or model context.

S3-compatible artifacts

Kaigents supports S3-compatible object stores such as AWS S3, MinIO, and Ceph RGW. Configure a bucket, endpoint, and credentials for the storage implementation you deploy; keep secrets out of committed manifests.

Run references

The Run CRD status can include artifact entries with name and URI, plus optional content type, size, and SHA-256 hash. Store large outputs in object storage and keep only references and metadata on the resource.

Artifact reference shape

Run.status.artifacts is an array. Each entry requires name and uri; optional fields include contentType, sizeBytes, and sha256. The object-store layout and artifact gateway depend on the component configuration of your deployment. The following is illustrative status data, not a manifest to apply.

status:
  artifacts:
    - name: report
      uri: s3://example-bucket/runs/example-run/report.json
      contentType: application/json
      sizeBytes: 2048
      sha256: example-digest

Operational checks

  • Grant only the bucket permissions required by each component.
  • Test uploading, downloading, and deleting a sample artifact in a non-production environment.
  • Set retention, encryption, backups, and data access policies for the sensitivity of your workloads.
  • Treat presigned URLs and run metadata as potentially sensitive; scope expiration and visibility.
  • Decide whether a Run deletion should also delete its referenced objects, and test that policy explicitly.

Troubleshooting

When status lists an artifact that cannot be opened, check the URI, object-store endpoint, bucket permissions, object existence, and whether the client needs an artifact gateway rather than direct S3 access. If a hash is present, verify it against downloaded bytes before trusting the result. Do not expose storage credentials in Agent or Run specs.