Artifact Hub and Package Store
Artifact Hub is the C3 Agentic AI Platform's central repository for versioned packages. In the context of Package Store, Artifact Hub serves as the distribution mechanism that stores packages as Pkg.Store.Zip archives. This guide explains how Artifact Hub fits into the package storage system.
Artifact Hub in the package lifecycle
Artifact Hub bridges development and production in the package lifecycle:
- Development: Packages are editable in Pkg.Store.Db.
- Publishing: Packages are built as ZIP archives and uploaded to Artifact Hub.
- Distribution: Other packages declare these packages as dependencies.
- Consumption: Package Store downloads ZIPs and serves them through Pkg.Store.Zip.
How Artifact Hub uses Pkg.Store.Zip
When you declare a package as a dependency, the platform automatically:
- Queries Artifact Hub for the package and version.
- Downloads the ZIP artifact if not already cached.
- Configures Pkg.Store.Zip to serve the package.
- Makes the package available as a read-only dependency.
This integration ensures that production deployments use immutable, versioned packages. Since Pkg.Store.Zip is read-only, packages downloaded from Artifact Hub cannot be modified, ensuring consistency across all environments.
Publish to Artifact Hub
Publishing makes your package available for others to use as a dependency. The platform packages your code as a ZIP archive and uploads it to Artifact Hub with version metadata.
For step-by-step publishing instructions, see:
- C3 AI Studio Release Management - Publishing through Studio UI.
- C3 AI VS Code Extension Package Development Guide - Developing from VSCode.
Only users with the C3.ArtifactHubAdmin role can publish artifacts to Artifact Hub. All users can view and consume published artifacts.
Browse Artifact Hub
Artifact Hub provides a UI for discovering available packages. In C3 AI Studio:
- Select Releases from the navigation panel.
- Select Artifacts in the sidebar.
The Artifacts page shows:
- Library: Latest applications, plug-ins, and quickstart packages.
- Versions: All artifacts with filtering and statistics.
Moving artifacts between clusters
You may need to move artifacts between clusters (for example, from development to QA). Artifact Hub provides workflows for:
- Downloading artifacts as ZIP files.
- Transferring to the target cluster.
- Uploading and registering in the target cluster.
For complete instructions, see Registering Artifacts to External Clusters.
See also
Artifact Hub documentation:
- C3 AI Studio Release Management - Publishing workflow.
- Registering Artifacts to External Clusters - Moving artifacts.
Package Store documentation:
- Package Store Overview - How storage fits into package lifecycle.
- Package Store Types - Detailed information about all store types.