explaingit

machinepulse-ai/shotwright

Analysis updated 2026-06-24

13PythonAudience · developerComplexity · 5/5Setup · hard

TLDR

Chat agent that drives Adobe After Effects inside a Windows container, writing JSX scripts and rendering finished mp4 clips through nexrender.

Mindmap

mindmap
  root((shotwright))
    Inputs
      Reference video
      Chat instruction
      Asset files
    Outputs
      JSX scripts
      Rendered mp4
      Streamed preview
    Use Cases
      Agent driven motion graphics
      Reproducible AE renders
      Containerized render farm
    Tech Stack
      FastAPI
      React
      Docker
      After Effects
      nexrender
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Generate motion graphics shots by chatting with an agent that drives After Effects

USE CASE 2

Render After Effects projects inside a Windows container with pinned tool versions

USE CASE 3

Stream finished mp4 previews back to a browser without opening the AE UI

USE CASE 4

Extend the agent loop with new JSX templates for repeating shot types

What is it built with?

FastAPIReactDockerPythonNodeAfterEffectsnexrender

How does it compare?

machinepulse-ai/shotwright1lystore/awaekactashui/sjtu-ppt-template-skill
Stars131313
LanguagePythonPythonPython
Setup difficultyhardmoderatemoderate
Complexity5/52/52/5
Audiencedevelopervibe coderresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires Windows 11 or Server LTSC 2025 with Docker in Windows-container mode plus a Copilot subscription or OpenAI API key.

In plain English

Shotwright is a tool that lets a chat-based AI agent control Adobe After Effects, the well-known motion graphics program from Adobe, and produce a finished video file. The unusual part is how it runs After Effects. Instead of installing the program on the designer's own machine and steering it by hand, Shotwright runs After Effects inside a Windows container, which is a sealed, repeatable environment that always has the same versions of every piece of software. The usage flow goes like this. A designer drops in a reference video, types a chat message describing what they want, and the agent does the rest. It plans the shots, prepares the source assets, writes JSX scripts (After Effects' built-in scripting language), hands them to a tool called nexrender that renders the project without opening the UI, and finally streams the resulting mp4 back into the browser. The point is that the designer stays in charge of creative judgment while the agent handles file management, scripting, and the render queue. The project is opinionated about what it is. The README says it is not a generic AI video generator, After Effects stays at the center, and the agent layer sits on top. The loop is intent, agent, JSX, render, human review. The author argues most AI video products narrow the creative options to a few templates, while Shotwright keeps the full surface area of After Effects available. The stack mixes several technologies. A FastAPI backend and a React 18 frontend handle the chat UI. The container image comes from a multi-stage Dockerfile with shared tooling such as Node 20, Python 3.13, ffmpeg, and the Visual C++ runtime, and the After Effects 2026 installer is baked in from a separate GitHub Container Registry image. nexrender and aerender.exe do the actual rendering inside the container. A configuration file named shotwright-config.json holds shared defaults for host and container paths, image tags, and nexrender versions. The intended audience is After Effects designers who want help from an AI agent but do not want to become Windows infrastructure operators. The host requirements are a Windows 11 or Windows Server LTSC 2025 machine with at least 4 cores and 16 GB of RAM, Docker Desktop in Windows-container mode, and either a GitHub Copilot subscription or an OpenAI API key to back the agent.

Copy-paste prompts

Prompt 1
Set up Docker Desktop in Windows-container mode and pull the After Effects 2026 image for this repo
Prompt 2
Explain the intent, agent, JSX, render, human review loop using the FastAPI backend code
Prompt 3
Add a new shot template that produces a lower-third title from a chat description
Prompt 4
Wire an OpenAI API key into shotwright-config.json and confirm the agent connects
Prompt 5
Show how nexrender and aerender.exe are invoked inside the container during a render

Frequently asked questions

What is shotwright?

Chat agent that drives Adobe After Effects inside a Windows container, writing JSX scripts and rendering finished mp4 clips through nexrender.

What language is shotwright written in?

Mainly Python. The stack also includes FastAPI, React, Docker.

How hard is shotwright to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is shotwright for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.