Sharing Profiles
Preferred sharing model
Section titled “Preferred sharing model”The recommended long-term model is to share a profile as a repo or package directory.
That keeps instructions, skills, MCP wrappers, and env examples together instead of forcing everything into one manifest.
Option 1 — Share a repo/package
Section titled “Option 1 — Share a repo/package”Best for teams.
Recommended flow:
- keep the profile in a repo or monorepo subtree
- version all related assets next to the manifest
- install or copy the profile locally
- activate it in the local hub
- apply it to the provider you want to use
Example template install:
agentstack profile install \ url:https://github.com/acme/agentstack-profiles \ --profile team-defaultThen:
agentstack profile activate team-defaultagentstack doctor --profile-file ~/.agentstack/profiles/team-default/agentstack.yamlOption 2 — Zero-config sync
Section titled “Option 2 — Zero-config sync”Zero-config sync is still useful, but treat it as a convenience workflow, not the ideal canonical unit.
It stores profile state in a private GitHub Gist.
agentstack sync authagentstack sync initRestore on another machine:
agentstack sync authagentstack sync restoreOption 3 — Bundles
Section titled “Option 3 — Bundles”Bundles are good for one-time handoff or archival.
agentstack bundle export \ --profile-file ~/.agentstack/profiles/main/agentstack.yaml \ --output ./my-profile.bundle.zipBundles are safe to share because they do not carry local secret values.
Team workflow recommendation
Section titled “Team workflow recommendation”For most teams, this is the best current pattern:
- repo/package as the canonical source
- local AgentStack hub for activation/runtime
applyfor provider-native materialization- sync/bundles only when they solve a real distribution problem