Building with your agent
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.
You describe the effect, the agent builds it, and you look at the frames. This page explains what happens behind the scenes so you can steer it well.
How the agent loop works
Section titled “How the agent loop works”Every plugin project comes with its own rulebook and reference for the agent,
plus ap commands that let it build, reach After Effects
and render frames. A typical round:
- You ask for a change.
- The agent edits the code and saves.
ap devrebuilds and installs the plugin. - After Effects restarts when needed, because it loads plugins only
when it starts. On a Mac,
ap devrestarts it by itself only when that is safe (a saved or scratch project, no dialog open); otherwise the agent asks you to save and restart. On Windows the agent always asks you. It never force-quits After Effects. - The agent switches to a scratch project (your projects are never touched), applies the effect to a test comp, renders frames at full quality and looks at them.
- It shows you the frames and says what it tested.
“It compiles” is not done: a change is done only when the agent has rendered frames and looked at them.
Prompts that work well
Section titled “Prompts that work well”Describe the look and the controls in plain words:
Make the glow softer at the edges and add a Softness slider from 0 to 100.Show me frames at Softness 0, 50 and 100.The effect looks banded at 16 bits per channel. Find out why, fix it, andshow me before/after frames at 8, 16 and 32 bits.Rendering is slow on a 4K comp. Measure how long a frame takes, make itfaster without changing the look, and show me the numbers.Check everything and push a test release.Good habits:
- Ask for frames. “Show me frames” is the fastest way to check the work.
- Test every bit depth. After Effects projects run at 8, 16 or 32 bits per channel; ask for all three.
- One change at a time. Small requests are easier to check.
- Say what you see. “The glow is cut off at the layer edge” is more useful than “it looks wrong”.
Names that never change
Section titled “Names that never change”- The match name is After Effects’ hidden ID for your effect. It is saved in every project that uses it, so it is fixed at the first release. The menu name and category can change later.
- Each control has a permanent id. Controls can be renamed and new ones added, but an id is never reused, or saved projects would break.
ap check stops a push that changes either one.
Mac and Windows versions
Section titled “Mac and Windows versions”Plugins run on macOS and Windows, but each system needs its own build.
| You build on | Your releases include |
|---|---|
| A Mac | macOS and Windows. Your Mac builds the Windows version too. |
| A Windows PC | Windows only. |
On a Mac: the Windows version is built on your Mac but cannot be tested
there. Before you sell to Windows users, install the release ZIP on a Windows
PC with windows-install.bat and try the effect. Report problems to your
agent with the exact message Windows or After Effects shows.
On Windows: Apple only allows Mac software to be built on a Mac, so your releases are Windows-only. Shipping a Mac version is up to you: to add one, open the same project on a Mac, follow the macOS steps of the quickstart (skip creating the project: open your existing folder), and push the next release from the Mac: it contains both versions. The systems on your listing are set automatically from the builds in your release.
Test builds render without the licence watermark; see Test builds.
Next: Plugin troubleshooting