Platinum sponsors

Working with an agent

Share one codebase between the agent and the editor.

Either side can pick up where the other left off:

  1. The agent reads docs/agents.md, the rules for code the editor can edit.
  2. The agent writes the animation, with an id on each call.
  3. You open the page, tune the timing, eases and values in the editor, and save your edits into the file.
  4. The agent reads the file again and sees your tuned values.
  5. A change the agent makes to the file shows up in the editor after the page reloads.

Divide the work

Task Best done by
Create animations, timelines, layouts and timeline children The agent, since the editor cannot create them
Wire callbacks, events and scroll triggers The agent
Tune durations, delays, eases and values by eye You, in the editor
Adjust timing and overlap between timeline children You, on the timeline
Refactor or move animation code The agent

Before you hand back to the agent

Save your edits first. Unsaved edits live only in your browser tab, so the agent cannot see them.

Previous
Next