LOCAL-FIRST · OPEN SOURCE · MIT

Make something unreal.
Own every sound.

CocoLoop CL Studio is a local-first desktop DAW for humans and agents. Sequence drums, edit MIDI, mix and export WAV or MIDI — entirely on your machine.

Desktop appZero runtime dependenciesCodex MCPOpenClaw CLIDefault libraryNo cloud
MIT licensed44.1 kHz WAV14 agent actions0 € to run
CL Studio arrangement, channel rack and inspector
WHAT IS INSIDE

A real workstation, not a demo.

Every item below is implemented and covered by tests or a reproducible browser check. Read the roadmap for what is still missing.

▦

Arrangement & Channel Rack

1–32 bars, per-track pattern clips, 16-step sequencer, mute, preview and humanize.

♬

Piano Roll

MIDI notes with length and velocity, right-click delete, automatic pitch labels and previews.

◫

Mixer & master

Volume, pan, low-pass, delay send, master fader, compressor and live stereo meter.

◉

Original instruments

Kick, snare, hat, clap, perc, 808 bass, electric keys, analog lead, soft pad and a sampler.

⇩

Exports that open elsewhere

Stereo 16-bit/44.1 kHz WAV, Standard MIDI File and portable JSON projects with embedded samples.

↺

Shared undo

Human and agent edits share one history. Every agent batch is atomic and reversible.

▤

Default library

21 ready items: templates, patterns, mixer presets, five role-aware plugins and agent profiles.

▣

Windows desktop app

Native window, desktop shortcut and bundled server, MCP and CLI. No Python required.

AGENT-NATIVE

Your agent edits the session, not the source code.

Codex connects over MCP stdio. OpenClaw uses a small CLI. Both hit the same validated action schema, gated by a consent switch that is off by default.

  • 14 documented musical actions, no shell or file-system access.
  • 1–64 actions per batch; all apply or none do.
  • One undo step per transaction, visible in the Activity Log.
  • Bearer token plus same-origin checks on the local bridge.
# read real track ids first python3 bridge/clctl.py project # then submit one atomic batch python3 bridge/clctl.py batch '[ {"type":"set_tempo", "bpm":124}, {"type":"set_steps", "track_id":"cl_kick", "steps":[0,4,8,12]}, {"type":"set_track", "track_id":"cl_kick", "field":"volume", "value":0.9} ]'
SECURITY MODEL

Local by default. Narrow by design.

The bridge listens only on loopback, validates the Host header and requires a token for agent writes. The UI enforces a human consent toggle. Static files and API responses carry a restrictive CSP.

Not independently audited. Do not expose the port to the Internet. Report vulnerabilities through GitHub private advisories.

Read the security policy
127.0.0.1:38475 # loopback only Host validation # DNS rebinding guard Bearer token # ~/.cocoloop/agent-token Consent toggle # off by default Action allowlist # 14 types, bounded values CSP + nosniff + DENY # every response
GET STARTED

Two commands. Your browser. Done.

No npm install, no account, no API key. Python 3.10+ is the only requirement.

git clone https://github.com/smouj/cocoloop.git cd cocoloop python3 server.py --open
Download CocoLoop for Windows