Skip to main content
Glama
README.md
<p align="center"><img src="assets/banner.svg" alt="produceSir: make music in Ableton by just saying what you want" width="820"></p>

<p align="center">
  <img src="https://img.shields.io/badge/tested%20on-Ableton%20Live%2012%20Lite-F2A33A?style=flat-square" alt="Tested on Ableton Live 12 Lite">
  <img src="https://img.shields.io/badge/macOS-14%2B-1B1B22?style=flat-square" alt="macOS 14 or later">
  <img src="https://img.shields.io/badge/licence-MIT-1B1B22?style=flat-square" alt="MIT licence">
</p>

You have a song in your head. Ableton has four hundred buttons.

produceSir sits between the two. Say what you want in plain words. It tells you what it will do, waits for your yes, and does it inside Ableton Live.

<p align="center">
  <img src="assets/screenshots/start-light.png" alt="The produceSir panel: Sir the metronome, the question What are we doing, and six buttons" width="260">
  <img src="assets/screenshots/approve-light.png" alt="produceSir describing a beat it is about to build, with Cancel and Approve buttons" width="260">
  <img src="assets/screenshots/choices-light.png" alt="produceSir reporting the tempo and key of a recording, with three answer buttons" width="260">
</p>

## Install

Quit Ableton, then paste this into Terminal:

```bash
git clone https://github.com/Dibakar01/producesir.git && cd producesir && ./install.sh
```

Sir appears in your menu bar. Click him and press **Connect**. That's it.

<p align="center">
  <img src="assets/screenshots/connect-light.png" alt="The Connect screen with one Connect button" width="260">
  <img src="assets/screenshots/connected-light.png" alt="All four steps ticked: You're connected" width="260">
</p>

<details>
<summary>What you need first</summary>

- A Mac on macOS 14 or later
- Ableton Live 12 Lite, opened at least once
- [Claude Code](https://claude.com/code), signed in with your Claude account
- [uv](https://docs.astral.sh/uv/)
- Apple's Command Line Tools: `xcode-select --install`

</details>

<details>
<summary>If Ableton was already open when you pressed Connect</summary>

One step by hand, once. In Ableton press `Cmd+,`, choose **Tempo & MIDI**, and pick **producesir** under **Control Surface**. The panel shows this when it is needed.

</details>

<details>
<summary>Using it from the Claude desktop app instead of the panel</summary>

`install.sh` offers to add produceSir to the Claude desktop app. Same tools, same rules, from a normal chat.

</details>

## What you can say

| You say | What happens |
| --- | --- |
| "Make a 90 BPM lo-fi beat with drums, bass and soft keys." | Sets the speed, adds the instruments, writes four sections, plays the first. |
| "I want to record my guitar over a simple beat." | Builds the beat, adds a track for the guitar, asks before it records. |
| "The drums feel too busy." | Thins out the quieter hits and softens the rest. |
| "Mix this so everything sits right." | Balances levels, spreads parts left and right, adds a little room. |
| "Make it sound finished." | A gentle finishing chain on the main output, checked so it never clips. |
| "I just played an idea. Match the song to it." | Reads the take, tells you its speed and key, offers to match the song. |
| "Go back, I liked it before." | Undoes the whole last request. |

No Ableton words needed. The six buttons are shortcuts. The text box takes anything.

## How it behaves

<table>
<tr>
<td width="55%">

- **It asks first.** Nothing changes until you press Approve.
- **It asks every time** before deleting, replacing a part, or recording.
- **One question, a few buttons.** Never a form.
- **Undo takes back the whole request,** not one step of it.
- **Teach me** adds one line after each change in Ableton's real terms. Turn it on when you want to learn the software as you go.

</td>
<td align="center">
<img src="assets/screenshots/approve-dark.png" alt="The Approve card in dark mode" width="240">
</td>
</tr>
</table>

## How it works

<p align="center"><img src="assets/architecture.svg" alt="You, the produceSir panel, the produceSir tools, Ableton Live" width="820"></p>

A small script inside Ableton, a tool server with 24 actions, and a native menu-bar panel that runs your own Claude Code. Three Python packages. No Electron. No database. No server of ours.

## Tested on

| | |
| --- | --- |
| **Ableton Live 12 Lite, 12.4.6** | Everything: beat, chords, mix, finishing chain, arranging, recording, listening to a take, undo. |
| **Ableton Live 12 Lite, 12.4.16** | Connects and reads the song. Full run not repeated on this version yet. |
| **macOS** | 26 (Apple silicon). |

Built for Live Lite and its limits. It has not been tried on Intro, Standard or Suite.

## What it can't do

- **More than Lite allows.** 8 tracks, 16 sections, 2 effect channels.
- **Hear your mix.** It works from level meters and engineering rules. Safe and balanced. Taste is still yours.
- **Export for you.** It gets the song ready, then tells you: `Cmd+Shift+R`, Export.
- **Chords from audio.** It turns a hummed or played line into notes, one note at a time.
- **Undo everything.** Solo, arm, metronome, loop and key sit outside Ableton's undo. It tells you when one was left as it was.

## Privacy

Your requests go to Claude through your own account. Your audio never leaves your Mac. produceSir has no server and collects nothing. The Connect button writes only to Ableton's own folders, and keeps a backup of the one settings file it touches.

## Troubleshooting

| What you see | What to do |
| --- | --- |
| "Ableton closed" | Open Ableton. It connects by itself. |
| "Not switched on" | In Ableton: `Cmd+,`, Tempo & MIDI, Control Surface, pick producesir. |
| Connect asks you to quit Ableton | Save, `Cmd+Q`, open it again. |
| The panel is gone | Click Sir in the menu bar. It steps aside when you are in another app. |
| Something went wrong mid-request | Press Undo, then ask again in other words. |

## For developers

```bash
uv run pytest -q   # 124 tests, no Ableton needed
app/build.sh       # builds app/build/produceSir.app (unsigned)
```

Every Ableton call lives in `remote_script/producesir/ops.py`. Issues and pull requests are welcome.

## Credits

produceSir stands on other people's work.

**Code it is built from**

| Project | By | Licence | What produceSir uses |
| --- | --- | --- | --- |
| [ableton-mcp](https://github.com/ok2ju/ableton-mcp) | ok2ju | MIT | The base. The script inside Ableton, the local connection, most of the tools, and the fake-Live test setup were forked from it. |
| [ableton-live-mcp](https://github.com/wstierhout/ableton-live-mcp) | wstierhout | MIT | Level meters, track input and monitoring, fixed-length recording, capture, quantize and redo were adapted from it. |
| [ableton-mcp](https://github.com/ahujasid/ableton-mcp) | Siddharth Ahuja | MIT | The original Ableton MCP. wstierhout's project builds on it, so his copyright travels with that code. |

**Ideas and fixes**

| Project | By | What produceSir learned |
| --- | --- | --- |
| [Producer Pal](https://github.com/adamjmurray/producer-pal) | Adam Murray | An automation fix, and careful notes on how undo behaves in Live 12. |

**Tools it runs on**

| Tool | By | For |
| --- | --- | --- |
| [Model Context Protocol Python SDK](https://github.com/modelcontextprotocol/python-sdk) | Anthropic and contributors | The tool server. |
| [Claude Code](https://claude.com/code) | Anthropic | The thinking, through your own account. |
| [NumPy](https://numpy.org) and [python-soundfile](https://github.com/bastibe/python-soundfile) | Their contributors | Reading a take to find tempo and key. |
| [uv](https://docs.astral.sh/uv/) | Astral | Running the Python side. |

Full licence texts are in [THIRD_PARTY_NOTICES](THIRD_PARTY_NOTICES). Sir, the mascot, was drawn for this project.

produceSir is independent. It is not made or endorsed by Ableton or Anthropic. Ableton and Live are trademarks of Ableton AG.

## Licence

[MIT](LICENSE). Made by Dibakar Upadhyaya, a musician who wanted fewer buttons between the idea and the sound.

First make it exist, then make it perfect. Go make the song exist.

TDQS

A3.8/5.0

Scored across 24 tools

Disambiguation4/5

Most tools map to a distinct resource+action (get_set_state vs get_clip_notes vs get_device_params; create_track vs load_device vs write_clip). The few soft overlaps—transport vs launch for playback, write_clip vs update_clip for clips, record vs capture_midi for capturing performance—are explicitly disambiguated in the descriptions. An agent should reliably pick the right tool.

Naming Consistency4/5

Predominantly consistent verb_noun snake_case (get_*, set_*, create_*, update_*, write_*, load_*, measure_*, capture_*, listen_to_*). A handful of bare-verb command names (transport, launch, duplicate, delete, undo, record) deviate but are still clear and idiomatic for a DAW transport. No casing mixing.

Tool Count4/5

24 tools is on the heavy side of the 16-25 band, but the domain (full song production: read state, tracks, clips, devices, scenes, transport, arrangement, recording, analysis, undo) genuinely needs this breadth. Each tool covers a distinct workflow stage rather than being redundant surface area.

Completeness4/5

Strong lifecycle coverage: song settings, track CRUD, clip write/update/quantize, device load/param/delete, scene naming/duplication, arrangement, recording, take analysis, automation, mixing via update_track and measure_levels, plus undo/redo. Minor gaps remain—no delete for scenes, and track renaming is implied via update_track but not spelled out—but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues