# AfterPresets Developers > AfterPresets is "Expo for Adobe extensions". Make two kinds of products with the `ap` CLI and an AI coding agent: an **extension** (a CEP panel inside After Effects and/or Premiere Pro, `--platform cep`) or a **plugin** (a native C++ After Effects effect in the Effect menu, `--platform native`). The agent builds and tests in the live app with the same `ap` commands (`ap panel`, `ap host`, `ap comp capture`), then publishes to AfterPresets, which handles licensing, signed auto-updates, changelogs, testers, and sales. Every project created with `ap init` already contains the agent reference in `docs/afterpresets/` (refresh it with `ap docs`) and an `AGENTS.md` with the rules; read them first. Extensions: read the reference before writing code that uses `AP.*`; panel code is ES5 (CEP 10+, Chromium 74) and ExtendScript in `jsx/` is ES3. Plugins: read `docs/afterpresets/rules.md` and `testing.md` (in the project, not on this site) before changing effect code. ## Home - [Build & sell amazing extensions and plugins, fast](https://docs.afterpresets.com/): Your AI agent builds the extension or effect plugin and tests it in the app. AfterPresets handles licensing, updates and selling. ## Extensions - [Extension quickstart](https://docs.afterpresets.com/extensions/quickstart/): Create your first After Effects or Premiere Pro extension and open it in the app in about 5 minutes, without typing commands. - [Building with your agent](https://docs.afterpresets.com/extensions/building-with-your-agent/): What AfterPresets gives your AI agent so it can build and test your extension inside After Effects and Premiere Pro, and prompts that work well. - [Multiple panels](https://docs.afterpresets.com/extensions/multiple-panels/): What a panel is, and how to add more of them to your extension, such as a settings dialog, by asking your agent or with one command. - [After Effects + Premiere Pro](https://docs.afterpresets.com/extensions/after-effects-and-premiere/): Make one extension that runs in After Effects, Premiere Pro or both, and add the second app to an existing extension. - [Move an existing extension](https://docs.afterpresets.com/extensions/migrating/): Bring an After Effects or Premiere Pro extension you already sell on Payhip, Gumroad or another store to AfterPresets, with your agent porting the code and your existing buyers claiming it for free. - [Troubleshooting](https://docs.afterpresets.com/extensions/troubleshooting/): Fixes for an extension panel that does not appear in After Effects or Premiere Pro, a broken agent connection, a login that does not work, ap check errors, and the monthly push limit. ## Plugins - [Plugin quickstart](https://docs.afterpresets.com/plugins/quickstart/): Create a native After Effects effect plugin with your AI agent on macOS or Windows, see it render in After Effects, and get it ready to sell, without writing code yourself. - [Building with your agent](https://docs.afterpresets.com/plugins/building-and-testing/): How your AI agent builds an After Effects effect plugin, tests every change in After Effects by rendering frames, prompts that work well, and how the Mac and Windows versions are built. - [Plugin troubleshooting](https://docs.afterpresets.com/plugins/troubleshooting/): Fixes for building and testing After Effects effect plugins on macOS and Windows - missing tools or SDK, build errors, an effect that does not load or does not change, and After Effects that stops answering. ## Selling - [Pricing and commission](https://docs.afterpresets.com/selling/pricing-and-commission/): Set the price and listing of your extension or plugin, the commission AfterPresets takes on each plan, monthly production push limits, refunds, and which systems a plugin supports. - [Licensing](https://docs.afterpresets.com/selling/licensing/): Turn licensing on or off, how buyers sign in without keys, computers per purchase, working offline, test builds, and what licensing can and cannot protect, for extensions and plugins. - [Testers and publishing](https://docs.afterpresets.com/selling/publishing/): Invite testers, publish to the test channel or everyone with ap push, get the release email, and promote or roll back releases, for extensions and plugins. - [Updates](https://docs.afterpresets.com/selling/updates/): How buyers get your new versions, signature checks, and the update modes for extensions (background, prompt, silent) and plugins (background, notify, manual, off). - [Help for your buyers](https://docs.afterpresets.com/selling/buyers/): How buyers install your extension or plugin, get past the one-time macOS and Windows security prompts, sign in, and uninstall a plugin. Send buyers who get stuck here. ## Reference - [Reference](https://docs.afterpresets.com/reference/): Every ap command (what your agent uses too), the project files afterpresets.json and effect.json, the extension runtime API (AP.*) and the plugin runtime. - [ap commands](https://docs.afterpresets.com/reference/cli/): Every command of the AfterPresets CLI (ap) with its options - login, init, dev, panel, host, comp, check, add, build, push, releases, testers, docs, sdk, upgrade and config. - [afterpresets.json](https://docs.afterpresets.com/reference/afterpresets-json/): The project file of every AfterPresets project - bundle ID, name, version, platform, apps and their minimum versions, debug port, panels and asset folders. - [effect.json](https://docs.afterpresets.com/reference/effect-json/): The file that describes an After Effects effect plugin - menu name, permanent match name, category, controls with permanent ids, licensing, update mode and render flags. - [Plugin runtime](https://docs.afterpresets.com/reference/plugin-runtime/): What the AfterPresets plugin runtime (ap_native) does inside an After Effects effect - licensing, sign-in, the Options dialog, signed updates applied at the next launch - and the rules it follows. ## Extension runtime API reference (AP.*) - [AfterPresets runtime reference](https://docs.afterpresets.com/reference/runtime/): What the AfterPresets runtime does, and which reference file to read before you use any AP.* API. - [AP.boot](https://docs.afterpresets.com/reference/runtime/boot/): Start a panel with AP.boot. Options, the ctx object passed to start, and the boot lifecycle. - [Licensing](https://docs.afterpresets.com/reference/runtime/licensing/): Turn licensing on, handle every license status in renderLicense, choose offline grace, test with AP.__simulate, and follow the license screen standards. - [Updates](https://docs.afterpresets.com/reference/runtime/updates/): Configure update checks, install signed updates in the background, show "Update ready" with Reload now, choose prompt or silent mode, and handle update errors. - [Calling the app (ExtendScript)](https://docs.afterpresets.com/reference/runtime/host/): Call ExtendScript functions in After Effects or Premiere Pro from a panel with AP.host.eval, write jsx/ functions in ES3 that return JSON, keep app-only code in jsx/aeft/ and jsx/ppro/, and handle host errors. - [After Effects ExtendScript](https://docs.afterpresets.com/reference/runtime/host-after-effects/): Rules for ExtendScript in After Effects (jsx/aeft/): undo groups, the active composition, 1-based collections, and the version range. - [Premiere Pro ExtendScript](https://docs.afterpresets.com/reference/runtime/host-premiere/): Rules for ExtendScript in Premiere Pro (jsx/ppro/): no undo groups, times in ticks, 0-based track and clip collections, no QE DOM, and the version range. - [Panels and events](https://docs.afterpresets.com/reference/runtime/panels/): Build extensions with several panels, modals, or invisible panels; open and close them with AP.panels; send data between them with AP.events. - [Media and other files](https://docs.afterpresets.com/reference/runtime/assets/): Where to put images, fonts, videos, presets and other files your extension ships, and how to use them from HTML, CSS, JavaScript and ExtendScript. - [Saving data](https://docs.afterpresets.com/reference/runtime/storage/): Where an extension keeps settings and other local state with AP.storage and AP.paths.data(), what goes inside the app's project file instead, and what never to store. ## Optional - [Full text](https://docs.afterpresets.com/llms-full.txt): every page above as one markdown file.