Skip to content

agentstack bundle

Terminal window
agentstack bundle export --profile-file <path> --output <path> [--include-assets]

The bundle command creates a deterministic, portable archive of your profile. The bundle includes the canonical agentstack.yaml and translated configs for all enabled providers. Secret values are never included — only secret name references appear in the bundle.

Bundles are safe to share publicly or with your team.

Export a profile to a bundle file.

FlagTypeRequiredDescription
--profile-file <path>stringYesPath to the canonical agentstack.yaml
--output <path>stringYesOutput path for the bundle archive
--include-assetsbooleanNoInclude referenced local asset files (e.g., skill Markdown files)

Export a profile to a bundle:

Export bundle
agentstack bundle export \
--profile-file ~/.agentstack/profiles/main/agentstack.yaml \
--output ./my-profile.bundle.zip

Export with local skill files included:

Export with assets
agentstack bundle export \
--profile-file ~/.agentstack/profiles/main/agentstack.yaml \
--output ./my-profile.bundle.zip \
--include-assets