Build a plugin with an AI agent
Set up an AI agent in Freqlab Studio, describe the plugin you want, and shape it by talking it through.
An agent writes and changes your plugin's code from a chat, using your own plan or API key with its provider. Studio builds it and plays it for you as you go.
1. Set up an agentLink to this section
Open Settings, Agents, and pick one: Claude Code works well out of the box; Codex suits a ChatGPT plan; OpenCode can use models on your own computer. Install it, sign in, and Set Default. See AI agents.
2. Start a pluginLink to this section
Make a plugin with Quick Setup (see Your first plugin), or open one you have. Build it, click Start Preview, and turn on Auto Build, so each change the agent makes builds and reloads into the preview by itself.
3. Describe what you wantLink to this section
Click Agent and say what you're after, in plain words: "a tape delay with wow and flutter, and a tone knob". Then listen, and keep going: "the flutter is too fast", "add a dry/wet mix". See Working with the agent.
Tips:
- One change at a time is easier to judge than five at once.
- Attach a Library recipe to point it at a tested approach, such as a filter design.
- Attach for Agent in Plugin Controls attaches a picture of your plugin's window to your next message, for interface changes.
4. Fix problemsLink to this section
When a build fails or the plugin crashes, Fix It sends the error to the agent. Ask Agent on a check result, or Ask to Fix on a problem in the editor, drafts a message for you to send.
5. Go back when you need toLink to this section
Every change the agent makes is a version (v1, v2…). Didn't like where it went? Restore an earlier one. Mark Version saves a point you want to keep.
The agent already knows Studio's audio safety rules, your Library, and what Studio measured and caught: see What the agent knows.