Build & Publish
Author a pack with adk, publish it to the community marketplace, and get paid when people buy it.
Author a pack
A pack is a folder with a .toolpack.yaml manifest and the tools it registers. The adk CLI scaffolds one, checks it statically, loads it through the real loader, and builds a reproducible bundle whose sha256 anyone can recompute from the source.
pip install awdk adk pack new yourname.weather adk pack validate yourname.weather adk pack dev yourname.weather adk pack build yourname.weather
validate imports nothing and flags missing files, reserved namespaces and anything that looks like a secret. build writes dist/<id>-<version>.tar.gz plus its.sha256.
Become a publisher
Publishing needs an approved publisher account. Apply once from the Creator panel in your workspace (or POST /v1/marketplace/community/publisher/apply); a moderator reviews it. Until you are approved, submitting a listing answers 403.
Publish
One command builds, submits the listing and uploads the bundle:
adk pack publish yourname.weather
The listing is created pending. Set a price with --one-time-cents and/or--subscription-cents; leave both out for a free listing. Agent projects publish the same way with adk publish from the project folder. Either command exits non-zero, and never reports success, when any step is refused.
On upload the platform scans the bundle, signs its bytes with the platform Ed25519 key, and records its sha256. A moderator approves the listing before buyers can see it. Bundles have a size limit; an oversized upload is refused and the previous bundle stays in place.
Buyers install it
Buying a free listing records the purchase at once. A paid listing opens Stripe Checkout, and the purchase exists only once Stripe confirms payment. Then:
adk pack install community:<listing-id>
The download is refused to anyone who has not bought the listing. adk checks the bytes against the sha256 recorded at upload and verifies the platform signature before it extracts anything into ~/.aitheros/packs.
Get paid
Each sale accrues your share to a pending payout. Connect a Stripe payout account from the Creator panel (Stripe's hosted onboarding handles identity checks), then request the payout once it is over the minimum shown there. Recent sales are held through the refund window first; a refund or dispute reverses the share it paid.
Your share, the minimum and every sale are on the Creator panel's earnings card. Nothing is marked paid until the Stripe transfer succeeds; a failed transfer leaves the payout claimable.