Writing Ableton Live Extensions with AI Assistants: A Workflow
Published Nov 11, 2026 · guide
A realistic workflow for building Ableton Live Extensions with AI coding assistants: setup, prompts that work, and the mistakes models make with the beta SDK.
Ableton Live Extensions are written in JavaScript or TypeScript and run on Node.js. Ableton's own pitch is that this standard web technology means AI coding assistants handle the SDK well, and that non-programmers can describe a tool and iterate on it. That is mostly true for the plumbing: bundling, Node file access, building an HTML dialog, sorting and transforming arrays of notes. The hard part is the Live-specific API, and that is where models guess.
Why an assistant helps, and why it will still guess
The Extensions SDK was released as a free public beta on June 2, 2026. A model whose training data predates that has never seen the API. It will pattern-match to things it does know, such as Max for Live devices, control surface scripts or generic plugin frameworks. The result is code that looks confident and calls methods that do not exist.
The workflow below is built around that one problem: give the model the real API up front, keep each task small, and verify everything inside Live rather than trusting the code because it compiles.
Set up before the first prompt
- Get the right Live build. Extensions need Live 12 Suite, beta 12.4.5 or later. Standard, Intro and Lite do not support them. Join the Ableton beta program to get the build.
- Install Node.js v24 LTS or later on macOS or Windows.
- Scaffold the project with
extensions-cli, not with the model. The scaffolder's manifest and build setup are your ground truth. Check the SDK documentation for the exact commands. - Keep the TypeDoc API reference open. It is the only authority on method names and signatures. The model is not.
If you use an agent that can read your project folder, point it at the scaffolded project and the examples that ship with the SDK. Real code in context beats any amount of description.
Give the model a cheat sheet every session
Start each conversation by pasting a short summary of what is known to be true. Something like this works well:
Ableton Live Extensions SDK (public beta). Rely only on these facts:
- Runtime: Node.js, full Node APIs incl. fs and networking. Not a browser. Not Max for Live.
- Package: manifest.json with name, author, entry, version, minimumApiVersion.
entry is a bundled file that exports activate().
- In activate(): call initialize(), register commands with
commands.registerCommand, attach them to menus with
ui.registerContextMenuAction(scope, title, commandId).
- Scopes include "MidiClip", "ClipSlot", "AudioTrack".
- A command receives a handle. Resolve it with
context.getObjectFromHandle(handle, MidiClip).
- MidiClip.notes: array of { pitch, startTime, duration, velocity,
muted, probability, ... }. Times are in beats.
- Tempo: context.application.song.tempo
- UI: withinProgressDialog for long jobs, showModalDialog for a web view.
- Storage: a per-extension directory for config and credentials.
- Lifecycle: runs once per invocation, then stops. No background
process. No real-time audio or MIDI.
- If you need an API not listed here, say so. Do not guess.Grow this list only with things you have confirmed in the reference. Never let the model add to it from memory. The last line matters most: it gives the model permission to admit a gap instead of inventing a method.
Prompts that work
One command, one scope, one job
Ask for the smallest useful tool first. A prompt like this tends to produce code that runs:
Using the scaffolded project and the SDK facts above, add one command called "Humanize Velocity" to the "MidiClip" context menu. When run, resolve the clip from the handle, add a random offset of up to ±8 to each note's velocity, clamp to the valid range, and write the notes back. Do not touch pitch or timing. Before writing code, list every SDK call you plan to use and mark any you are not certain exists.
That final instruction is the useful trick. The model will often flag the exact step it is unsure of, usually how edited notes get written back to the clip. Look that up in the reference before accepting any code for it.
Describe musical data in Live's terms
Say "beats", not "ticks" or "seconds". Name the note fields you care about. If your tool thinks in seconds, tell the model to convert using the song tempo rather than letting it assume a sample rate or a fixed BPM. The guide to MIDI notes in the SDK covers the fields in more detail.
Name where the tool should appear
Users reach extensions by right-clicking an item in a Set: a clip, a clip slot, a track, a scene, a device. Decide which one you want and say it in the prompt. If you need a scope that is not in your cheat sheet, look up the exact string in the docs and paste it in. The context-menu scopes guide is a good primer on choosing one.
Iterate with real errors
When something fails, paste the actual output from the extension host, not a summary of it. Ask for the smallest change that fixes that error. Broad rewrites at this stage tend to bring back invented APIs you had already removed.
Mistakes models make with the beta SDK
| Mistake | Why it's wrong | What to do |
|---|---|---|
| Calling plausible but nonexistent methods | The model has not seen the beta API | Check every Live-related call against the TypeDoc reference |
| Processing audio or MIDI in real time | Extensions work on project data. Real-time processing, native devices and control surfaces belong to Max for Live | Reframe the tool as an edit to clips, notes, devices or parameters |
| Adding listeners, timers or a background loop | An extension runs once per invocation and then stops | Design for "right-click, do the job, finish" |
| Treating note times as seconds | Note times are in beats | Convert with context.application.song.tempo only when you really need seconds |
| Writing browser code for the core logic | The runtime is Node.js, with fs and networking | Keep HTML for the showModalDialog view and use Node for everything else |
Forgetting initialize() or not exporting activate() | Commands never register, so nothing appears in the menu | Compare against the scaffolded entry file |
Guessing manifest values, especially minimumApiVersion | Wrong values may stop the extension from loading | Keep what the scaffolder generated and check the docs before changing it |
| Hard-coding API keys in source | The key ships inside the package you share | Store credentials in the per-extension storage directory |
| Long jobs with no feedback | Live appears to hang while the job runs | Wrap the work in withinProgressDialog |
A test loop that catches the rest
- Open a copy of a real Set. Extensions can edit tracks, clips, notes, devices and tempo, so do not test on the only version of a song.
- Use
extensions-clito run the extension. This loads it into Live's extension host. - Right-click the target item and confirm your command appears. If it doesn't, check the scope string and the registration code before anything else.
- Test the odd cases: an empty clip, a clip with hundreds of notes, a track with no devices. Ask the model to handle each one explicitly.
- When it behaves, package it with
extensions-clito get an.ablxfile. Install it the way a user would, through Settings → Extensions in Live, and restart Live if needed.
The last step is worth doing even though you have already run the extension during development. It is the only way to see what your users will see. For the rest of the release process, read packaging and sharing an .ablx.
Study extensions that already ship
Published extensions with public source are the best extra context you can give a model, because they show real API usage. Read them yourself first, then point your assistant at them.
- Scene Name Committer (MIT) is a compact model of a single track-scope command. Right-click a track, and it renames scenes from that track's clip names. This is the right size for a first AI-assisted project.
- Progressive generates chord progressions as Session clips or an Arrangement row. It is useful if your tool needs to create clips rather than edit existing ones.
- Repeat It adds, removes and organizes audio effects across selected tracks or every track. It shows that device work at the scale of a whole Set fits the run-once model.
- the-fnk (Ableton MCP) (MIT) goes one step further. It puts an "Ask Claude…" action on Session clip slots, so a model generates or edits MIDI from a plain-language instruction. It shows how far the Node runtime's networking access can take an extension.
- Paulstretch For Live (GPL-2.0) embeds a C++ stretching library behind its own dialog. It is a reminder that ambitious projects are possible, but this is not a good first job to hand to an assistant.
For more ideas, browse MIDI tools and generative tools, or the full extension catalog. When your own tool survives the test loop, you can submit it to liveextensions.dev or share it in the extensions channel on Ableton's Discord. Ableton's launch post and Extensions page are worth reading too, because beta details may change between builds.