Plugin 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.
A plugin is a new effect in After Effects’ Effect menu, like a glow, a blur or a colour look. It draws the pixels itself, so it is fast and works in every comp, preview and render. You do not need to know how to code: your AI agent writes it, builds it, applies it in After Effects, renders frames and shows them to you.
You need After Effects 2023 or newer on a Mac or a Windows PC. A Mac builds both the macOS and the Windows version; a Windows PC builds the Windows version only (why).
Want a panel with buttons instead (a tool that works the app for you)? That is an extension.
Create your plugin
Section titled “Create your plugin”For the Claude app, Claude Code, Codex, Cursor or any other AI agent, on a Mac or a Windows PC.
-
Create a free AfterPresets account
Sign up at afterpresets.com. Already have one? Skip this step.
-
Create a folder and open your agent in it
Pick how you use your agent:
Make a new, empty folder, for example
SoftGlowin your Documents. In the Claude app’s Code tab, start a new session and choose the folder.No AI agent yet? Install the Claude app and sign in.
For Claude Code, Codex or any other agent you run in a terminal. On Windows, use PowerShell.
Terminal window # Create a new foldermkdir ~/Documents/SoftGlow# Go into itcd ~/Documents/SoftGlow# Start your agentclaude # or: codex, or your agent's commandFor Cursor, VS Code or another editor with an AI agent.
Make a new, empty folder, for example
SoftGlowin your Documents. Open it with File → Open Folder…, then open your agent’s chat. -
Paste this into your agent
Paste into your agent Set up a new After Effects plugin for me with AfterPresets, in this folder.First ask me only for its name. Do not ask what the effect should do yet.Then do every step yourself, and guide me one step at a time through anything only I can do:1. If this folder is not empty, stop and ask me to make a new empty folder and open you there.2. Check that node --version is 20 or newer. If Node.js is missing: on Windows run winget install -e --id OpenJS.NodeJS.LTS; on a Mac, tell me how to install the LTS version from nodejs.org, and wait.3. Run npx -y afterpresets login (I will approve it in my browser).4. Run npx -y afterpresets init . --platform native --app aeft --name "<name>"5. Read AGENTS.md, then follow docs/initial_setup.md step by step until you have shown me the starter effect rendering in After Effects. Then ask me what to build.If a command fails because your sandbox blocks the internet or saving to ~/.afterpresets, ask me to allow it to run outside the sandbox. -
Follow your agent’s instructions
Do what your agent asks. A few steps need you, once per computer: approve the login in your browser, install Homebrew on a Mac (your Mac password, and 5 to 15 minutes for Apple’s developer tools), download Adobe’s plugin kit with your Adobe ID, allow the test plugin folder with your password, and restart After Effects. Then it shows you the starter effect rendering, and asks what you want to build.
For people who like to type the commands, next to Claude Code, Codex, Cursor or any other agent.
-
Install the build tools
Install Homebrew if you do not have it: paste the line from brew.sh into Terminal. It also installs Apple’s Command Line Tools (Apple’s compiler; about 1 GB, 5 to 15 minutes). Then:
Terminal window brew install node cmake ninja zigAlready have Homebrew? Check
xcode-select -pprints a folder; if not, runxcode-select --installand click Install.In PowerShell or Command Prompt (no administrator needed):
Terminal window winget install -e --id OpenJS.NodeJS.LTSwinget install -e --id Kitware.CMakewinget install -e --id Ninja-build.Ninjawinget install -e --id zig.zigSkip the Node.js line if
node --versionalready says 20 or newer. Open a new terminal afterwards so it finds the new tools.Check:
node --version(20 or newer),cmake --version,ninja --versionandzig versionall work. -
Install the CLI and log in
Terminal window npm i -g afterpresetsap loginYour browser opens. Sign in and click Authorize CLI.
-
Create your plugin
Terminal window ap init soft-glow --platform native --app aeft --name "Soft Glow"cd soft-glow -
Install Adobe’s plugin kit (once per computer)
Terminal window ap sdk installIt opens Adobe’s download page; download the After Effects SDK for your system, and it installs the zip from your Downloads folder. See Adobe’s plugin kit.
-
Build and install the starter effect
Terminal window ap devLeave it running: it builds the plugin, installs it into After Effects and rebuilds on every save. The first time, it may print one line to run as administrator; see Plugin troubleshooting.
-
Restart After Effects and try it
When
ap devsays RESTART NEEDED, save your work and restart After Effects. (On a Mac,ap dev --restartrestarts it for you when that is safe.) Then apply Effect → AfterPresets → Soft Glow to a layer. -
Open the folder in your agent
AGENTS.mdtells it how everything works. The agent builds, tests and publishes with the sameapcommands you use (npx ap ...).
Describe what to build
Section titled “Describe what to build”Once the starter effect renders, the agent asks what your effect should do. Give it detail, in your own words:
- The look: what it should do to the image, and how it should animate.
- References: images or video frames of the look you want, or another effect you like. Drag them into the chat.
- The controls you want to adjust in Effect Controls.
It asks questions about anything unclear and tells you its plan before it builds, then shows you rendered frames after each change.
Adobe’s plugin kit (the SDK)
Section titled “Adobe’s plugin kit (the SDK)”Every After Effects effect is built with Adobe’s free plugin kit, the After Effects SDK. Adobe does not allow AfterPresets (or anyone) to hand it out, and the download needs your Adobe ID, so you download it yourself once per computer:
ap sdk installopens the download page (your agent runs it for you). If it does not open, go to developer.adobe.com/console/servicesandapis/ae. Download the After Effects SDK (not Premiere Pro’s) for your system, and read the terms Adobe shows.- The zip is checked and unpacked into
.afterpresets/sdk/in your home folder (on Windows%USERPROFILE%\.afterpresets\sdk\), shared by all your plugin projects. You can delete the zip afterwards.
Never give your agent your Adobe password, and never put the SDK in a public repository (for example on GitHub). Only the built plugin goes to your buyers, never the SDK files.
Next: Building with your agent