hermes-music-studio
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 8 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Describe a song; Hermes drafts lyrics and style for your approval, then renders it locally on ACE-Step or through MiniMax.

Hermes Music Studio
Describe a song, approve the draft, and hear it rendered on your own machine.

The draft is the gate: nothing renders until a person approves this exact version.
- Describe. Tell the agent the song you want; it drafts the title, style, lyrics and engine.
- Approve. Read the draft and approve that exact version. Nothing renders before you do.
- Hear. A worker renders the take on your machine; play it, then export a normal .wav.

Describe a song, approve the draft, hear it. Watch the full demo ▶
Install · Features · How it works · Documentation · Testing · Contributing
What it is
A studio inside Hermes. Describe a feeling and the agent drafts a song: title, style, lyrics and an
engine. Nothing renders until you approve that draft. Every take keeps its draft, seed, engine and
lineage, so it can be re-made rather than lost to a lucky accident. The library, the worker and the
audio stay on your machine.
Why it's different
- Approval is a step, not a warning. The render endpoint refuses a draft that was not approved,
and an approval is bound to the exactupdated_atversion you read. - A take can be re-made. Draft, seed and engine travel with the take. A seed is a replay handle
on the same runtime and hardware. - The build says which build it is. The header shows
v1.0.0-dev.N · a8310ba7 · 2026-11-16,
the version, commit and date filled from the running server, never from a constant in the page. - The product proves itself.
GET /api/verifymeasures, at request time, that the sample is real
audio, that the library reads, that a finished take's file is a real WAV on disk, and that REVamp's absence is a state rather than an error.
Features
- Draft → approve → render. Title, caption, lyrics, instrumental flag, duration, BPM, key,
vocal language and engine, with the approval token checked inside the write lock. - Two working engines behind one registry.
ace_localruns ACE-Step 1.5 on a local GPU with
repaint and extend.minimax_m3_comfyrenders MiniMax Music 3 through a ComfyUI server.ace_remoterenders on a remote ACE-Step API server the user adds on the Music engines page. - One render at a time, across processes. A detached worker takes a file lease; a crashed worker
is reconciled by pid and start time, so a dead render cannot wedge the profile. - Takes are immutable. Repaint, extend, section splice, fade and chorus preview create child
takes; the parent WAV and its record stay untouched. - Range repaint. Regenerate 3–30 s of an ACE take, then splice it back with the audio outside the
range copied byte for byte. - Extend. Append 10–60 s to a take of at least 20 s, up to 600 s total, with an equal-gain
crossfade at 48 kHz stereo. - Save spot / Back to last spot. A checkpoint keeps the draft, the keeper take with its audio
SHA-256, the lineage and the playhead. Twenty are kept; a pinned one is never pruned. - Check this take / Fix it. Compares a take with the request that produced it, reports only what
it measured, and can retry a measurable failure with a fresh seed. - Change this part, in words.
/song changeand the library's change box are deterministic:
"add a fiddle" edits the style caption; "mute the drums" is refused with a sentence. - Versions, batch, presets, compare. Three takes from one draft, a serial batch in one worker,
saved style presets, and an A/B compare across ready engines. - A real player. Play/pause, −10 s / +10 s, a scrubber that moves the audio, elapsed and total
time, and a volume slider. Exported songs are ordinary.wavfiles. - Workspaces and cover art. Group songs; upload PNG/JPEG/WebP up to 2 MiB. The agent can save a picture as the cover with the
set_coveraction. - REVamp is optional. Create a playlist from exported takes; with REVamp absent the screen says so
and playing and exporting still work. - Chat and shell clients. The
music_studiotool has 22 actions,/songdrives the same studio
in chat, andscripts/ms.pyis a standard-library HTTP client for shells and cron. - Honest surgery. A tail trim and a −1 dBFS peak cap are stored as a new file with the source
SHA-256; the raw take is never rewritten. Vocal evidence isunknownunless a real ASR result
proves otherwise.
Screenshots
Create: the draft and your creative partner.

Library: songs, takes and the More menu.

Player: a take playing.

Music engines: add a server, Test and save.

REVamp: add takes to a playlist.

Compare: engines and versions, side by side.

Install
You need:
- Python 3.13 with
fastapi,uvicorn,python-multipart(pip install -r requirements-dev.txt) - Node 20+ only for the browser-side tests
- Hermes itself, since this ships as a plugin
- Something to render with — see Limits
- Linux, macOS or Windows. The plugin, the studio and the ComfyUI engine run on all three, and
CI tests all three. Local ACE-Step rendering needs a CUDA GPU and has been run on Linux only.
hermes plugins install KeyArgo/hermes-music-studio --yes-deps --enable
To pin an exact revision (what CI and the release script do):
hermes plugins install KeyArgo/hermes-music-studio --ref <full 40-character sha> --yes-deps --enable
A short SHA destroys the checkout; the installer needs all 40 characters. The desktop pane appears
after Ctrl+K → Reload desktop plugins.
Running from a clone instead:
git clone https://github.com/KeyArgo/hermes-music-studio
cd hermes-music-studio
pip install -r requirements-dev.txt
TOKEN=$(python3 -c 'import secrets; print(secrets.token_urlsafe(32))')
HEWN_STUDIO_TOKEN=$TOKEN python3 -m uvicorn standalone.app:app --port 8770
# then open http://127.0.0.1:8770/?token=$TOKEN — the host refuses /api without it # the studio on its own, no Hermes needed
Upgrade
Updates come through Hermes; the studio never replaces its own code:
hermes plugins update hermes-music-studio
Then restart Hermes (quit Hermes Desktop fully and open it again, or hermes gateway restart) so the studio loads the new version.
Uninstall
hermes plugins uninstall hermes-music-studio
Uninstalling removes the plugin, not your library. Your projects and WAV files stay in the plugin data
folder until you delete it.
Where your data lives
The plugin library lives under~/.hermes/profiles/<profile>/plugin-data/hermes-music-studio/ (or under HERMES_HOME when set).
The standalone server uses $XDG_DATA_HOME/hewn-music-studio, or~/.local/share/hewn-music-studio when XDG_DATA_HOME is unset. Set HEWN_STUDIO_DATA_DIR to point
either at a different root. Settings, targets, presets and checkpoints live beside it; deleting the
folder deletes every project, take and WAV. Other folders and environment variables are listed in
docs/CONFIGURATION.md.
Quick start
- Install the plugin and reload the desktop pane.
- Open the pane and describe a song in Create. Pick an engine and length.
- Press Save draft, read the draft, then Approve draft.
- Press Build the full song. A detached worker renders it; the progress panel reports the take.
- Play it in the footer, then Export it as a normal
.wav.
With no engine installed, the studio still opens, the sample still plays, and the engine panel names
what is missing. It does not invent audio.
How it works
flowchart LR
A["Hermes tool: music_studio"] --> S["music_studio/service.py"]
B["Chat command: /song"] --> S
C["Studio UI: standalone/static"] --> R["dashboard/plugin_api.py"]
R --> S
S --> D["Store: JSON + WAV"]
S --> J["Jobs: queue, lease, lineage"]
J --> W["Detached worker"]
W --> E["Engine registry"]
E --> ACE["ACE-Step local"]
E --> MM["MiniMax via ComfyUI"]
E --> AR["ACE remote: not deployed"]
W --> Q["QC and reversible edits"]
The agent tool, the /song command and the dashboard all call music_studio/service.py. A generate,
repaint, extend or batch call queues a take and spawns python -m music_studio.worker in a new
session. The worker opens the render lease, claims its take, renders through the engine registry,
commits succeeded or failed, runs the quality pass, and exits. The requesting turn or HTTP request
can end immediately. music_studio/jobs.py owns the state machine, music_studio/worker.py owns the
render loop, and music_studio/engines/ is the only place that knows a backend. The UI is plain
HTML/CSS/JS with no build step; desktop/plugin.js only frames the loopback host.
Choosing a model
By default, the studio uses your Hermes model. To use a different provider or model, run these commands once:
hermes config set plugins.entries.hermes-music-studio.llm.allow_provider_override true
hermes config set plugins.entries.hermes-music-studio.llm.allow_model_override true
Then restart Hermes. The model picker in Create always lists Hermes' providers and their models; without these two settings Hermes only lets the studio use your Hermes model, and the studio tells you so instead of quietly switching. Pick any provider and model, or type a provider and model id. Your choice is remembered in your browser.
Providers you have set up in Hermes are marked ready. The studio connects through your Hermes installation, never directly; API keys stay in Hermes' credential store.
Documentation
| Document | What it covers |
|---|---|
| docs/README.md | Index of every document |
| docs/GETTING-STARTED.md | Start here. Your first song in 5 steps, and how to find your ComfyUI address |
| docs/USAGE.md | Every user-facing feature, with screenshots |
| docs/REFERENCE.md | Every tool action, slash command, CLI command, HTTP route and config key |
| docs/ARCHITECTURE.md | Processes, locks, state machine, data directory, route table |
| docs/CONFIGURATION.md | Environment variables and saved settings |
| docs/TROUBLESHOOTING.md | Real failure modes and what they mean |
| docs/AUDIO-QC.md | The measurement gate: lengths, edits, vocal evidence |
| docs/FAQ.md | Short answers to the usual questions |
| docs/DEVELOPMENT.md | Repo layout, test commands, CI |
| TESTING.md | How to run each suite and the measured counts |
| LIMITS.md | What is unsupported, unmeasured or refused |
| VERIFY.md | Recorded measurements and the commands behind them |
| CHANGELOG.md | What changed in each release |
| BACKEND.md | The operator's short version of the architecture |
| THIRD-PARTY.md | Models, services and licences |
| CONTRIBUTING.md | Dev setup and the rules a change must keep |
| SECURITY.md | Supported version and private reporting |
Privacy & security
- What it stores. Project JSON, raw take WAVs, QC edit WAVs,
engine-preference.json,presets.json,comfy-targets.json,comfy-workflows.json,studio-workspaces.json,engine-settings.json,library.json, checkpoint files and worker logs, all under the plugin data directory you chose.
Audio is opened withO_NOFOLLOW, checked as a regular file, and served withnosniff.
API keys are stored through Hermes' own credential store; the plugin never writes a key to its data
directory. - Network calls. The studio calls only addresses you give it: a ComfyUI server (added on the
Music engines page, a saved target, orCOMFYUI_URL; a custom workflow contacts only the endpoint
saved with it), an optional ACE-Step HTTP server (ACE_REMOTE_URLor the Music engines page), and
REVamp's local API at127.0.0.1:8114. Look on this computer checks only127.0.0.1ports 8000
and 8188. Only when you press the buttons does it reach your configured Hermes model and image
providers (creative partner and cover art), each Hermes provider's public model list when the model
picker loads (no key is sent), and Hugging Face for weights. Download ACE-Step 1.5 fetches only
the four files ofComfy-Org/ACE-Step-1.5pinned at revision371bb1680f8c88d8c1083f6ffb6330d3d55bff76(split_files/diffusion_models/acestep_v1.5_turbo.safetensors,split_files/text_encoders/qwen_0.6b_ace15.safetensors,split_files/text_encoders/qwen_4b_ace15.safetensors,split_files/vae/ace_1.5_vae.safetensors; 14.7 GB in all), and checks each against its SHA-256 before
using it. The older Hugging Face download (POST /api/studio/setup/hf) fetches the model you name. The
studio runs no installer,gitorpip, sends no telemetry and has no cloud audio service. Copy my
engines puts each saved engine's name, address and ready model list, plus the ACE-Step server
address, on your clipboard; keys are never included, and a custom workflow's graph stays on the
computer that saved it. "Check for a newer
build" reports that Hermes owns updates; the studio does not fetch or install code itself. ComfyUI
Desktop is installed by you and may update itself. - Background processes. A detached render worker per render (or batch), an ACE-Step subprocess in
the runtime's own venv, a loopback studio host (127.0.0.1, a free port near 8775),ffmpegfor
MiniMax's FLAC → WAV transcode, and read-onlynvidia-smiprobes for GPU attribution. The
creative partner drafts through Hermes' plugin LLM interface (ctx.llm), cover art is made by the
agent's own image tool and handed over as a file, and REVamp actions runrevampctl. - Shell commands.
gitis read for the version stamp. The studio never runs a shell string from
user text and never changes a password. The only credential it writes is the hosted API key you
enter, saved through Hermes' own credential store. - Local only. The HTTP server binds loopback and rejects a non-loopback
Host. Every/apiroute
also requires the per-launch token the host writes intostudio-host.json(0600): no token means
503, a wrong token means 401. It is single-user, so do not expose it to a network.
Read SECURITY.md for the supported version and private vulnerability reporting.
Testing
# Python: contract, HTTP surface, store, jobs, engines against fakes
env -u PYTHONPATH TMPDIR=/tmp python3 -m pytest --rootdir=tests tests -q
# Browser-side logic: the player, the pane, the settings screen
npm install # once
node --test tests/*.mjs
| Suite | Command | Measured result |
|---|---|---|
| Python | env -u PYTHONPATH TMPDIR=/tmp python3 -m pytest --rootdir=tests tests -q |
1097 passed, 2 skipped, 139 subtests passed |
| Browser-side | node --test tests/*.mjs |
254 passed |
| Total | both suites | 1351 passed, 2 skipped |
env -u PYTHONPATH matters: a Hermes checkout on the path ships its own tests package, which wins
over this repo's folder and makes collection fail. The full breakdown, CI commands and the exact
summary lines are in TESTING.md.
Limits
- No model ships here. Rendering needs a reachable engine: a ComfyUI host with MiniMax Music 3, or
a local ACE-Step checkout. With neither, the studio still opens, the sample still plays, and the
engine panel says what is missing. - One render at a time per profile. A second generate returns
GPU busy. - No automated test performs a real render. The suites use fake engines. Audio quality is judged
by listening. - MiniMax cannot repaint or extend, and
ace_remoteis registered but undeployed. - A seed reproduces on the same runtime and hardware, not across GPUs or checkpoints.
- CI covers all three platforms. The suites run on Linux, macOS and Windows. Real-hardware use
has been on Linux, and local ACE-Step rendering on Windows or macOS is untested.
The complete list, with the code that enforces each item, is in LIMITS.md.
Contributing
Contributions that keep the honesty rule are welcome: every claim backed by a command in
VERIFY.md or a test that fails when the claim is false. Start with
CONTRIBUTING.md, and read the Code of Conduct.
License
MIT. See LICENSE. Models and services carry their own licences, recorded in
THIRD-PARTY.md.
Acknowledgements
- ACE-Step 1.5 (MIT) for the local music model.
- MiniMax Music 3 for the hosted model, under its
community licence. - ComfyUI for the MiniMax graph runner.
- ffmpeg for FLAC → WAV conversion.
- Hermes Agent for the plugin host.
- REVamp for the optional player integration.
- InovinLabs for the product and its direction.
Special thanks to sovthpaw. A passionate advocate, a dedicated community member, and someone who genuinely gives a damn about open AI. Respect doesn't require agreement.
Built by KeyArgo · InovinLabs
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found