cypher-dj · The agent
Play with an agent
It plays next to you, it measures what it did, and you keep the last word.
cypher-dj has an MCP server called the hand. It gives an AI agent the same controls you have: nearly everything you can click, it can do too, and a few controls such as the crossfader stay in your hand. What it does shows up on your page. When you grab a fader, your hand wins. An MCP-capable agent is optional; we use Claude Code. Without one, cypher-dj is a studio you play from the browser.
LabMarked features are built but not yet proven. They can change. What 1.0 promises is what the six journeys check. The full list.

The hand
121 tools, the same controls as yours
The browser page and the agent sit on the same functions of one real-time core. The agent reaches them through the MCP server, so it plays decks, loop decks and patterns, builds projects and reads the meters. When it cannot do something it answers with a reason instead of guessing.
With the package, cypher-dj mcp prints the one JSON line that registers the agent tools in an MCP client. Register it and restart the session; the tools appear. If the studio is not running, every tool answers that the page cannot be reached: start the studio, not the agent. Run cypher-dj start as your normal user, not as root.
The package is 0.4.0~rc3 of 24 November 2026. The source has moved on since: the tool count, the skills and the jam below are in the changelog up to 29 November 2026, not yet in a package.
Working from a source checkout? Journey 5 has the registration line for Claude Code and the generic form for other MCP clients. The install guide covers the package, and the tool guide lists every tool with its arguments.
# after installing the package
$ cypher-dj start # starts the studio, prints the web address
$ cypher-dj demo # opens the starter project and plays it
$ cypher-dj mcp # prints the JSON line for your MCP clientThe journey in six steps
Journey 5 takes you from nothing to an agent that plays eight bars while you stay in charge.
Connect
Run
cypher-dj mcp, register the line it prints, restart the session. A first read of the state (lage) shows the clock, the tempo, the decks, the mixer values and the Stop Cypher flag.Ask for eight bars
Ask for a kit track with a beat. The agent creates a project, adds a track, writes the pattern as an eight-bar clip and starts the transport: five tool calls in the journey (
proj_neu,proj_aendern,proj_lage,proj_muster,proj_transport). The master level rises at once.See what it cannot do
It cannot press Stop Cypher, move the headphone level or stop a transport you started. A refused call comes back as an error with a reason and nothing changes.
Take a control back
Move a fader or knob the agent is ramping. The ramp stops at once and the control stays where you put it. For the next 32 beats a call of the agent that writes to it is refused; moving it again starts the 32 beats anew. The first move of a control only sets the position of your hand.
Stop Cypher
The button in the top bar is the brake. The agent's calls that change anything are refused: controls, tempo, patterns, loops, project edits and new recordings. Your own controls keep working and what plays keeps playing. The button turns into Release.
Ramps on the bar grid
For several moves the agent starts an automation track (
spur): a name and a list of moves, each with a target, a start bar, a length in bars, an end value and a shape. It starts on the next bar line.spur_stoppends it and the control stays where it was.
A tour script walks these steps against a test instance and checks them, among them that the master level is above -60 dBFS in every one of the eight bars. Read the journey.
Seen on your page
Four places, one mixer
The DJ view has four places around one mixer. Each shows a track deck, the Strudel channels, a SEQ deck, a loop deck or the stems of a module. The agent's tools answer to the same places, and what it launches, writes or moves shows up there as it does for your hands. Where the decks and the loop decks live is described on the live page.

What it can do
Play, produce, measure
Nearly everything you can click. The tool names are the ones of the public tool guide.
Play
- Load, cue and loop on up to four decks, set EQ and effects, move faders in dB, as a ramp over bars (
regler) that starts on the bar grid. - Launch cells and whole scenes of the two loop decks, and load loops into cells (
loopdeck,session). - Write a SEQ pattern as text in one call and read it back (
seq). Write patterns for the three Strudel channels (strudel), load and tweak instrument sounds. - Set the master tempo from 60 to 200 BPM (
tempo). - Save and load live scenes (
szene) and stored setups (aufbau), and plan an arc of layers with an entry bar, a break and a drop (bogen). Turn phrase WAV files into one loop on a channel (stimme). - Search the library by text, key and BPM, and find tracks that fit after the one that is running (
anschluss).Lab - Read and set tags, and list related items (
tags,verwandt).Lab
Produce
- Create tracks, write clips and notes, warp, and automate. Insert effects, key a sidechain, build groups and returns, run the routing matrix.
- Play in a STUDIO module with Strudel text per track, rest a track, save and launch scenes, and hand a take to PRODUCTION as a song draft (
jam).Lab - Cut a loop into slices and play them as an instrument, a kit or a tone (
sampler). - Run a FIND SOUND round: three variants of a Cypher Modular sound, each one knob away, to pick from (
klang_runde).Lab - Search and apply presets, move a sound with a word such as dark or tight by a bounded step, and preview a preset on your headphones (
preset_vorhoeren). - Separate stems, comp takes, merge tracks, list and set plugin parameters.Lab
- Edit sung notes of an audio clip (
audio_noten_aendern), set chords on the chord lane (harmonie_setzen) and add modulators (mod_neu), all as project edits with one undo step. - Place a take that was rescued after a crash (
proj_aufnahme), record the mix to a WAV file (mix_aufnahme), start the transport and export.
Measure
- Levels of the last seconds, per channel, with peak and median (
pegel). A 29-band spectrum of a channel or the master. - Listen to a deck behind its closed fader and compare it with the running master, band by band (
hoeren). - Listen to the master for 1 to 16 bars and compare it with a rough genre curve, plus key, loudness and stereo correlation (
mischung). It only reads. - Look at the last seconds of a channel as an envelope with peak, RMS, onsets, pump depth and click suspects (
oszilloskop). - Read the ANALYZE numbers: a strip against a second one or a reference, and the master as it plays (
proj_analyse,analyse_referenz,analyse_live).Lab - Loudness per track, group and return, offline on request.Lab
- Record the drum pattern or the sum of the Strudel channels into the loop library for 1 to 32 beats (
rec), and wait on the master clock for a number of bars (warte).

The rules between you
Who decides what
The rules are enforced by the studio for every caller, not left to the agent's good manners.
- A key, a level, a log
- Every call carries a key, a level (read, write or destructive) and the tool it comes from. The studio creates the key file of the local hand at start. Further keys with a level of read, write or full are made, listed and revoked in the pairing dialog and shown once. Writes are rate limited per key; destructive calls are refused while music plays, except those that only stop sound. Every call and every refusal goes into a log, and the last 50 show in the AGENT LOG panel. Your own browser and controllers are never limited. The key separates agents from each other, not from other programs of the same user.
- Human-only controls
- The headphone level and the deck transport, the AUTO switch of each pattern channel, releasing Stop Cypher, accepting or dropping proposals, MIDI learn, pairing, the plugin scan and the plugin windows stay in your hand. Every other mixer control the agent may turn, the crossfader, the master and the effect routing among them, but a raise of the master level, a bus fader or a loop or stem container fader by more than 6 dB has to be a ramp of at least one bar.
- Your hand wins
- Grabbing a control ends the agent's ramp on it and holds the agent off for 32 beats. When AUTO is off on a pattern channel, you hold it. In production, grabbing a fader, pan, mute or solo overrides its automation lane, and the page shows the override until you end it.
- Undo per change
- Every change the agent makes to a project is one undo step, and the undo history survives a restart. Separating stems puts a group of tracks into the project, and one undo step takes it all back.
- Announce first
- A call of the agent acts at once, inside these rules. That it says what comes before it plays is the job of the skill it reads: one thing per change, announced, then faded in.
Refusals with reasons
When it cannot, it says why
The agent does not guess. A move that cannot be done comes back with a reason, and nothing changes.
| A sidechain that would depend on itself, or arrive too late | Refused with a reason. In the public docs: sidechain_zyklus for a cycle. |
|---|---|
| Opening a deck that was not measured | Refused. The agent has to listen behind the closed fader first. |
| Raising the master level or a bus fader by more than 6 dB in one jump | Refused (nur_rampe). It has to be a ramp of at least one bar. |
| Switching a place to another kind while its channel is open | Refused, for the agent as for the page, so nothing new starts audibly under your hands. A SEQ deck or a loop deck is parked instead. |
| A ramp or an automation track on the mixer value of a project track | Refused. Those values change only through the project, with one undo step. |
| An effect graph where an instrument graph plays | Refused. One channel holds one graph. |
| A sound word such as dark on a Surge patch whose filter is off | Refused with a reason instead of doing nothing. |
| Stem separation without a usable GPU | Refused, and the project stays untouched.Lab |
| Bounce or merge of a track that has insert stages | Refused, because the render would be dry.Lab |
| Export while the transport is running | Refused. |
| Recording a loop while a tempo ramp runs or is queued | Refused. |
| Anything that changes the tempo after Stop Cypher | Blocked. |
Autonomy
How much it does alone
An agent that plays through the hand acts at once. What holds it are the rules of the studio, not a setting: Stop Cypher, your hand on a control, the human-only controls, the listening rule for decks, and channels that only you open.
How often it acts is a matter of the skill it reads. The live skill asks for one announced change every 8 bars. The studio also has a conductor process of its own with autonomy levels from 0 (observe only) to 3 (transitions on its own), whose planned moves show on the page as proposals. The agent tools do not pass through those levels, and they have no call that submits a proposal: a plan reaches you as a proposal through the conductor on the command line, and you accept or reject it with one key.
Stop Cypher
Take the controls back
Stop Cypher hands the arrangement over instead of stopping it. What plays keeps playing, Cypher stops acting, and a start that is still waiting for its bar is dropped. The agent's calls that change anything are refused: controls, tempo, patterns, graphs and effects, loop decks, SEQ, the sampler, project edits and new recordings. Stopping a recording stays allowed. Your own controls keep working, and reading still works, so the agent can see what happened. Only you can press it; Release lets the agent act again.
Cypher is the AI agent that built cypher-dj together with Andreas and plays in it.
It made a track
Five minutes of techno, inside cypher-dj
In November 2026 Cypher produced a five-minute techno track in the application alone, measured and exported in PRODUCTION. Andreas then judged it by ear and liked it. It is one track, made by the people who build the studio. Every place where the work got stuck became a fix or a note in the changelog.
- Patterns written in the trackerLab
- Kraken as bass, drone and acid line, and the Drum Synth
- A Kick Synth tuned to the key and resampled to audioLab
- Duck by Kick, returns and automation lanes
Four skills for Claude CodeLab
Teaching an agent to play, to jam, to produce and to cut
A skill is a short guide an agent reads before it works. Copy a skill folder into the skills folder of Claude Code to use it. All four are in the public repository and are served by the MCP server as MCP skills, so a client can load them from there. They are a lab feature.
djk-jam: a jam that can become a song
For playing in a STUDIO module with eight tracks. One tool, jam; one change per call, every change on the next bar line, every write labelled so the take can be read back. A track you touched by hand is refused until you say otherwise. See the jam on the studio page.
djk-production: a track in the arrangement
The working loop for building a track: read, change with one command list, play, measure, correct. It has a first track step by step and a table of the refusals an agent meets.
djk-live: playing with a human
The model, in the words of the DJ it was built with: "we build it up, you play, I redirect and steer, and then I let you carry on." The agent is a musician in a running piece, not a developer.
- Think before each move: what will sound different, and how does the transition feel? Name what carries the master and change only what does not fight it.
- Crossfade, do not swap. A new instrument comes in slowly while the old one goes out. If there is no room for that, say so first.
- Announce, then fade in: "X comes in 4 bars". One thing per change.
- When you say keep going: one announced change every 8 bars, followed by a level reading. Every phase changes at least one audible element.
- "Always the same loop" means change it slowly, never stop. Stop only on stop.
- After "stressful", do not escalate. Tempo down, simpler rhythm, one layer less.
- Only decks can be heard in advance. A new pattern goes live unheard from the next bar, so it comes in under a filter dip or a fader ramp and gets measured for four bars.
- Never work around a lock. Read the receipt of every move, because a reply can look like success while the core rejected it.
track-analysis: measuring and cutting a track
"Your ears are not at the computer. Every sentence about how something sounds is a measurement, or a guess dressed up as a sentence." Six steps, each ends with a measurement.
| 1. Separate stemsLab | Done when four to six files exist, each exactly as long as the original. |
|---|---|
| 2. Find the beats | Done when the residual against the fitted line is known, not guessed. |
| 3. Measure the structure | Done when energy per bar and stem, block boundaries visible. |
| 4. Cut loops | Done when each one sample-exact at its target length. |
| 5. Wire them in | Done when the target file is provably fetched by the player. |
| 6. Listen | Done when level measured against a real zero point, or the human. |
- Two kinds of loop, and you need both: cut at the real beats, and stretched to a fixed grid.
- A silent loop is not a finding until it was silent a second time. Before silent becomes a finding, a second, independent instrument has to agree.
- The skill lists the traps that were paid for, such as a stretch that missed the loop length by up to 14 ms.
Any model
A Hermes Agent profile, music
The repository carries a ready profile for Hermes Agent that plays and produces in a running studio with the model of your choice. One script installs it. It carries the studio's MCP server, the four skills and a short operating manual with a glossary of the German tool names.
- No shell, no file access and no browser: the studio is its whole workplace.
- The studio's own limits hold for it as for every agent: it cannot press Stop Cypher and cannot touch a control you hold.
- You pick the model with
hermes -p music setupand talk to it withhermes -p music chat.
Example asks
Say it in your own words
You do not need a command language. Examples of what you can say, and what the agent does with it.
| "Give me drums." | Writes a drum pattern that starts at the next bar, announces it, brings it in under a fader ramp and measures the levels afterwards. |
|---|---|
| "More reverb." | Raises the reverb send of the channel, starting around -12 to -6 dB, announced first and ramped over bars. |
| "Quieter." | Takes it as the last thing it changed. If two candidates fit, it does one and says in half a sentence what it assumed. |
| "Acid." | Bass waveshaper, high resonance, a 16th line with accents, the cutoff breathing over 8 bars. The edge is capped, and highs are taken down with the EQ. |
| "Put a bass line on the SEQ deck." | Writes the pattern as text in one call: an instrument, a length and lanes of notes, values per step or curves on a knob. It can read the same text back. |
| "Cut that loop into slices and play it in order." | Cuts a loop into up to 64 slices, by grid or at the hits found in the audio, and plays them from a new instrument track in their original order. |
| "Find something that fits after this."Lab | Searches the library for tracks that fit after the running one. |
| "Keep going on your own." | One announced change every 8 bars, measured after each, planned in arcs a minute ahead. |
| "Put bass and pad in a group, add a reverb return and duck the bass under the kick." | Builds the group, the return and a ducking compressor keyed by the kick, then measures it. All of it is undoable. |
| "Stop everything." | Silences the channels as its first move, then measures that nothing sounds. |
"Put bass and pad in a group, add a reverb return and duck the bass under the kick."
Where the agent's side ends
Every known limit is in the full list.
- Human and agent are told apart by a label on localhost. That is a convention, not a security boundary. Do not expose the ports to a network.
- The measurement rule covers decks. The pattern channels and the master alone have no listening path, so the agent measures after the fact.
- A preset preview plays on your headphones. No audio and no measurement come back to the agent.
- Learning from the human's judgement is planned, not built. So is a map of each track over time, from which the agent would read breaks and phrases.
- Restarting the studio interrupts the sound. The skill tells the agent to do it only with your yes, at a moment you choose.
- Several agent tools reach features that are still labs (marked above). They can change, and what 1.0 promises is what the six journeys check.
How it was built
A DJ talks, an agent writes it down
cypher-dj started on 19 September 2026 as a Strudel set in a browser, run by Cypher and played with Andreas, a DJ. The same evening there were loops cut from finished tracks, and the first correction by ear: the loops sat 8 ms late, and only after nudging them did Andreas confirm it was better. That is why the beat grid can be shifted by hand, and his correction always wins over any measurement.
On the evening of 22 September Andreas described how he mixes. It became 26 requirements, and four more followed on 26 September. After that, 23 architecture decisions were written against them. Some of what he said, and what came of it:
| "the conductor must never play in anything unheard" | the agent may not open a deck the core has not measured |
|---|---|
| First turn the dominant element down with the EQ, usually the bass, then swap the elements. | 3-band EQ with kill. Planned agent moves that would open a second sub-bass channel are cancelled. |
| "I had Mixed In Key. Having the keys automatically was a quantum leap." | a key analysis of its own: 76.7 % exact agreement with Mixed In Key on 120 held-out tracks, measured on 26 September 2026 |
| "keeping the pitch is a given for me" | every track is time-stretched once to the set tempo, pitch kept, so a 124.8 BPM track plays at 128 in its own key |
"I want to play with you from the start, not alone."
The method
cypher-dj was written by an AI agent with Claude Code, in sessions with Andreas. The method grew out of the open superpowers skills for Claude Code and was adapted along the way.
A plan per feature, cut vertically
Every slice goes through core, contract, page server, page and the agent's tools, and ends with a measurement at the target, not only with green tests.
One implementing agent and one reviewer per task
The reviewer reads the code and the spec, not the implementer's report. Findings go back to the same implementer.
Done means the failure was shown
A fix counts when its failure case is shown before and after on the same input, plus a negative control with harmless input.
Measure before claiming
Every number has a date and a measurement behind it. Where a gate was too strict for the real thing, it stays written down as a limit instead of being loosened quietly.
The ear has the last word
The agent measures what can be measured. Whether it sounds right is decided by Andreas, in one listening session at the end of a build.
Test instances
The live studio runs apart from the builds and load tests, so a test never plays into a set.
Journeys as tours, and a test gate
Since the twentieth update (23 November 2026) the six journeys run as scripted tours against a real instance and measure the recorded sound, each with a handbook chapter. The twenty-second update (24 November) widened the tours, for example to the agent's ramps on the bar grid. A self-hosted CI runner builds and tests every push, and the full test gate runs in about 20 minutes on a dedicated machine, down from about 160. Before a release the package is installed and started in a fresh VM of each Ubuntu version, including the tour through the agent tools.
The longer story is in how it was built.
Public beta · 0.4.0~rc3 · open source · Linux
Play it on your machine
Free under the GNU AGPL. On Ubuntu 24.04 and 26.04 one package installs it without a compiler; elsewhere on Linux with PipeWire you build it from source. Stems need an NVIDIA GPU. An MCP-capable agent is optional. We are looking for testers: install it, use it for half an hour, tell us what broke.