AI
  1. Start here
  2. API typings
  3. Audio processing
  4. PluginAPI
  5. UI components
  6. Assets
  7. AI
    1. Overview
    2. The assistant
    3. What it can reach
    4. Listening
    5. Research and memory
    6. Approval and undo
    7. Setting it up
    8. Claude Code and other AI apps
    9. Your plugin's own tools
    10. A chat inside your plugin

AI

DAW Plug has an assistant that works the session the way you would: it opens the plugin, moves the control, plays the passage back and measures what changed. The same controls are open to AI apps on your computer, and a plugin you write can add its own.

Overview

Most AI tools for music sit outside the session and hand you advice. DAW Plug's assistant is inside it. Every part of the studio, from the transport and mixer to the piano roll, the Chopper and every hosted plugin, is exposed to it as a tool: a named action with checked inputs. The assistant chains those actions to do what you ask, and shows each one as it goes.

DAW Plug is in testing, and you can sign up on its page. This page covers three things: the assistant and what it can reach; AI apps such as Claude Code working in your session through the same tools; and the tools and chat you can build into a plugin.

The assistant

Open it with the AI button in the toolbar, or View > AI Panel. Ask in your own words, for example "the vocal is fighting the guitars around 2 kHz, carve some room" or "set up a parallel compression bus for the drums". The assistant answers as it works. Each step appears as one line in the chat, named for what it did, with a sentence describing it. Click a step to see what it sent and what came back, written out as labelled lines.

With Show the assistant's actions as it makes them on, which is the default, you watch it happen. The track it edits is selected, the plugin window it changes opens, and the knob glides to its new value. Turn it off and the same edits are made quietly.

A conversation stays with the project: its history and the assistant's memories of the project are saved in the project file. Turn Keep chat history and memories in the project file off to keep them on this computer instead.

What it can reach

The assistant works through more than 270 tools. Anything you can do from a menu, a hotkey or a gesture in DAW Plug has a tool, or a written reason why not. By area:

AreaWhat it can do
ProjectRead an overview of the session; start, open and save projects.
TransportPlay and stop, set the tempo and time signature, switch recording on and off.
Tracks and mixerAdd tracks; set volume and pan; add sends and sidechains; group tracks into a bus; add VCA faders; read the meters.
Piano roll and MIDIWrite and transpose notes; import and export MIDI files.
AutomationRead the lanes, add a lane, write points.
ArrangementChop clips.
Recording and takesArm tracks, set punch points, capture what you just played; comp takes and promote one.
Media poolImport audio, place it, audition it.
DrumsBuild a kit, assign samples to pads, write pad hits.
ChopperSet the chop mode, split stems, detect the tempo, send slices to a drum kit.
EuroRackStart a rack, add modules, patch them, set their knobs.
PluginsList what is installed; add and remove plugins; read and set any parameter; load presets; open a plugin window; snapshot a plugin and restore it.
ListeningPlay a range and measure it, compare two versions, read the key and chords.
HistoryUndo, redo, and jump to any point.
SetupArrange panels, set hotkeys and preferences, choose the audio output.

A plugin can bring its own tools too (see below), and the assistant can call them. Each tool has a name such as transport__setBpm or plugins__set_param. You never need these names, but an AI app sees the same ones.

Listening

The assistant can listen. A hearing plays a range of the song through the transport, so you hear what it hears. It then measures the master and any tracks it names:

  • loudness and true peak, against Spotify, Apple Music, YouTube, Tidal, Amazon Music, Deezer, EBU R 128, ATSC A/85, Apple Podcasts and a club target;
  • clicks and hum;
  • the spectrum, the stereo image and how the mix holds up in mono;
  • which tracks are masking each other;
  • on a voice, its esses, its breaths and its tuning.

It can compare two hearings, matching their loudness first, and say what changed in between. It can also read the key, the chord in each bar and the range of each part. Rhythm analysis needs an 82 MB beat model, which it asks before downloading.

The model is sent the measurements, never your audio.

Research and memory

With Let the assistant search the web on (the default), it can look up what it needs to be sure of, such as a plugin's manual or a point of music theory. It lists the pages it used under its answer. Searches are billed to the account your API key belongs to, or to daplug.in when you use the assistant through your sign-in. Turning the switch on or off applies to conversations you start afterwards.

It also keeps two kinds of memory. A project's memories live with that project. The knowledge library belongs to your computer, so what it pins there is there next time, in any project. You can see and remove what it has kept under Pinned knowledge in its Settings.

Approval and undo

The assistant asks before any step that is hard to take back or reaches outside the session. A card reads Allow this step?, with Allow, Deny and Allow for this conversation. It asks before it:

  • removes anything;
  • starts, opens or saves a project;
  • loads a preset or restores a plugin snapshot;
  • downloads a model;
  • reads an audio file on your disk;
  • calls a plugin's own tools;
  • keeps something it found on the web in its memory or knowledge library.

Web searches do not ask: the switch in Settings is your answer for those.

Everything it does is recorded: each step, its outcome, the undo steps it made and every parameter it moved. Each step in the chat has Undo and Undo from here, and each parameter it moved gets its own line, for example "Gain on Pro-Q 3, 50% → 62%", with Revert. The History tab lists every edit in the project, newest first, with who made it: you, the assistant, or an AI app by name. Click one to take the project back to that point.

A knob the assistant moves inside a plugin is not an undo step; use Revert on its line. Loading a preset has no undo step at all. Undo holds the last 100 steps, and the conversation itself is never undone.

Setting it up

Sign in to daplug.in under Account in Preferences and the assistant works with no key of your own. Each request then goes through daplug.in to Anthropic, which runs the model, and daplug.in keeps nothing you write or the assistant answers.

Or use your own API key. Paste an Anthropic key under Settings in the AI panel. It is sealed in your system's keychain (the macOS Keychain, Windows Credential Manager or the Linux keyring), and the conversation goes from DAW Plug straight to the provider. Nothing passes through daplug.in. A key you save is used in place of the sign-in. If your studio routes AI traffic through a proxy, put its address in Endpoint.

Neither way needs a plan.

Claude Code and other AI apps

Everything the assistant can reach, an AI app on the same computer can reach too: Claude Code, Codex, Cursor, or an agent of your own. DAW Plug serves its tools over MCP, the protocol these apps use to connect to tools, so the app works in the session you have open, through the DAW's own controls.

This is the opposite of computer use, where a model takes screenshots of an app, guesses where to click and checks the result. Here the app never looks at pixels. It reads the session as data, meaning the tracks, the plugins on them, every parameter's exact value and the meters, and changes it with exact values. One request is one step, not a screenshot, a click and a correction, so the work is faster and needs far fewer rounds with the model.

To connect one:

  1. Sign in with a Pro plan under Preferences > Account.
  2. In the AI panel's Settings, under AI apps on this computer, turn the switch on (it is off by default).
  3. Copy the command shown there for Claude Code or Codex, or the configuration entry for any other app, and run or paste it once.
  4. Keep DAW Plug open. The app connects to the project you have open; if DAW Plug is not running, the app is told to open it and reconnect.

The same approval rule applies. A step that needs it asks in DAW Plug, for example Allow Claude Code to run this step?, after the app's own permission prompt. Every call lands in History under the app's name and can be undone like any other edit.

The connection is local only. Only apps running on this computer, as your user, can connect, and nothing is reachable over the network. Buying DAW Plug does not include it; it needs a Pro plan.

Your plugin's own tools

A plugin you build can give the assistant its own tools. These are actions in your plugin's terms, rather than a list of raw parameters. Return them from defineTools(), describing each input with t; the description is what the model reads, so write it for a person.

Tools an assistant can call on your plugin
import { EffectPlugin, t } from '@the-plug/core';
import type { AudioFrame, PluginAPI, TypedParameterDefinition } from '@the-plug/core';
import { Knob } from '@the-plug/ui';

type Params = { drive: number; tone: number };

export default class Driver extends EffectPlugin<Params> {
  static id = 'com.example.driver';
  static pluginName = 'Driver';
  static parameters = [
    { id: 'drive', name: 'Drive', default: 0.3 },
    { id: 'tone', name: 'Tone', default: 0.5 },
  ] satisfies TypedParameterDefinition<Params>[];

  defineTools() {
    return [
      this.mcp.tool({
        name: 'set_character',
        title: 'Set character',
        description: 'Set how hard the input is driven and how bright the result is.',
        parameters: t.object({
          drive: t.number().min(0).max(1).describe('0 is clean, 1 is crushed'),
          tone: t.number().min(0).max(1).describe('0 is dark, 1 is bright'),
        }),
        execute(params) {
          this.setParam('drive', params.drive);
          this.setParam('tone', params.tone);
          return { ok: true };
        },
      }),
    ];
  }

  process(frame: AudioFrame<Params>) {
    const k = 1 + frame.getParam('drive') * 20;
    frame.outL = Math.tanh(frame.inL * k);
    frame.outR = Math.tanh(frame.inR * k);
  }

  render(api: PluginAPI<Params>) {
    return <Knob value={this.getParam('drive')} onChange={(v) => this.setParam('drive', v)} label="Drive" />;
  }
}

The tool list is built into the plugin. In DAW Plug, the assistant and connected AI apps can call these tools on a VST3 or AU build even while its window is closed, and each call asks you first. Other DAWs cannot call them: DAW Plug reaches them through an interface of its own.

A chat inside your plugin

AIChat and the <ChatBox> component put a chat in your plugin's own window. The person using the plugin brings their own key, and the model can move your parameters and call your tools. For now this works in the browser preview only. In a built VST3 or AU plugin, AIChat cannot reach a model yet.