Skip to content

Repository files navigation

studio-agent

Talk to your music studio.

Put the manuals for your gear in a folder, list how it's cabled, or both, and ask questions about it:

You:    Can the TR-8S drive the minilogue xd's tempo?

Agent:  Yes, through the KeyStep 37: the cabling is TR-8S → KeyStep 37 →
        minilogue xd. [connections] On the TR-8S, set Sync Out to ON.
        [TR-8S p46] Set the KeyStep to MIDI or Auto sync: it passes the clock
        on. [KeyStep 37 p67] Then set the minilogue xd's Clock Source to
        Auto (MIDI). [minilogue xd p46]

Note the citations! It follows your cabling, too:

You:    My minilogue xd is silent. What's in its chain, and what should I check?

Agent:  MIDI:  KeyStep 37 → minilogue xd
        Audio: minilogue xd → RE-202 → 1202VLZ4 channels 5-6 → monitors
        [connections]

        Listen on headphones first: the minilogue's headphone jack carries the
        same signal as its outputs. [minilogue xd p7] If you hear it there,
        look at the RE-202 and the mixer, not the synth. …

And it says when it doesn't know:

You:    What year did the 1202VLZ4 come out?

Agent:  I can't verify the release year: the 1202VLZ4 manual describes the
        mixer but doesn't give a launch date. [1202VLZ4 p4]

Ask from a chat app like Claude Desktop, by voice if you like. No chat app? studio-agent can answer by itself too.

Coming later: controlling your gear directly, over MIDI, and drawing diagrams of your studio.

Status: early, a work in progress. Tested on macOS.

Get started

You'll need a Mac, uv (brew install uv; it fetches the right Python for you) and an OpenAI API key (it's billed apart from ChatGPT).

  1. Install it:

    uv tool install --python 3.14 "studio-agent[ocr]"

    Trouble, or updating later? See installing and updating.

  2. Add your key to your shell's startup file (~/.zshrc etc):

    export OPENAI_API_KEY="sk-…"
  3. Tell it about your studio. Either of these is enough; both is best.

    • Your manuals: put them in ~/Studio Agent/Manuals. Then read them in:

      studio-agent index

      Do this again whenever you add or change a manual.

    • Your cabling: list your cables in ~/Studio Agent/connections.yaml. The easy way: describe them to a chat app and have it write the file. Here's the format.

Ask from Claude Desktop

In Claude Desktop, open Settings → Developer → Edit Config, and add this, with your own key, and the path which studio-agent prints:

{
  "mcpServers": {
    "studio-agent": {
      "command": "/Users/you/.local/bin/studio-agent",
      "args": ["mcp"],
      "env": { "OPENAI_API_KEY": "sk-…" }
    }
  }
}

Restart Claude Desktop, then ask about your gear. Restart it again after each index, so it sees the new manuals. Other chat apps that support MCP work too.

No chat app?

Open studio-agent's own web page:

studio-agent web

Then go to http://localhost:5001. Or ask from the terminal:

studio-agent ask "How do I set the MIDI channel on the minilogue xd?"

Good to know

  • Check the citations. Every answer says where it came from, so you can look it up.
  • It costs pennies. Reading in a studio's manuals costs about half a cent; a question, a fraction of a cent.
  • Your manuals' text goes to OpenAI, to make them searchable. The files stay on your machine.
  • It isn't perfect yet. Some tables and scanned manuals come out garbled.

More

Licence

Copyright (C) 2026 Ari Russo. AGPL-3.0-or-later: use it, change it and share it, as long as what you share stays under the same open licence. More in the guide.

Releases

Packages

Contributors

Languages