Give your agent a DJ booth.
Install | Why djbooth.ai | Getting Started | Workbench | Architecture | Compatibility Journal
Agentic, local-first toolkit for taking music from discovery to a prepared DJ set, with 1:1 Rekordbox compatibility at the Pioneer DJ/AlphaTheta hardware boundary.
- Agent — Give Codex or Claude a playlist, set URL, or outcome; it finds recordings, reuses what you own, analyzes tracks, separates stems, builds playlists, and prepares playback end to end.
- Native apps — SwiftUI for macOS and iPhone, with a local library, offline audio, collections, native playback and private Cloudflare sync.
- Workbench — The local web workstation retains playlists, waveforms, live stems, two decks, EQ, cues, and transition auditioning while its surfaces migrate to native.
Every layer is also a focused command:
| CLI | What it does |
|---|---|
djbooth |
Typed CLI, MCP, Code Mode, and umbrella workflow router |
tracks |
Resolve sets, acquire recordings, enrich metadata, analyze, and import |
spots |
Spotify authentication, catalog lookup, and playlist management |
soundcloud |
SoundCloud authentication, search, likes, playlists, and exact sources |
slsk |
Soulseek search, ranking, and lossless acquisition |
ytdlp-ts |
Inspect, search, and acquire web-hosted audio |
rekordbox |
Read/write compatible databases, ANLZ, settings, XML, analysis, stems |
cdj-usb |
Sync playlists, media, analysis, and history to mounted player media |
djlink |
Discover players and serve/search/control libraries over Pro DJ Link |
djbooth-rs analyzer |
Native BPM, key, grid, phrase, and waveform analysis |
djbooth-rs usb |
Native USB export runtime |
djbooth-rs link |
Native Pro DJ Link runtime |
djbooth-stems-mlx |
Apple Silicon Mel-Band-RoFormer vocals/drums/bass/other separation |
"Import this playlist, acquire anything I do not own, analyze it, build a compatible playlist,
and open it so I can audition the transitions."
prompt → recordings → analysis/stems → library → USB/CDJ
Rekordbox is the de facto preparation layer for professional DJs because it is tightly integrated with the Pioneer DJ/AlphaTheta hardware found in booths. USB Export moves prepared tracks and playlists onto standalone players; PRO DJ LINK loads the same library and analysis over the network.
A better agent or library manager is not useful if its output stops working when the USB reaches the booth. djbooth.ai opens and automates the workflow without giving up that interchange contract.
The compatibility target is 1:1 at the boundary the hardware consumes—not a pixel clone of the Rekordbox UI. djbooth.ai produces compatible database rows, paths, playlists, DAT/EXT/2EX analysis, waveforms, beat grids, cues, USB layouts, and DJ Link behavior. It emits both legacy Device Library and newer OneLibrary/Device Library Plus artifacts.
Prepared media works across club-standard CDJs and newer XDJ all-in-one systems, including the CDJ-2000NXS2, CDJ-3000, XDJ-XZ, and XDJ-AZ. Differential fixtures and physical-player validation keep compatibility grounded in what the hardware actually reads.
The other half of the thesis is agency. “Find tracks for a late-night warm-up” should create a playlist you can hear—not stage a literal search for that phrase. The agent can inspect local and hosted catalogs, acquire missing recordings, parallelize analysis, cache completed work, and carry the result through to a workbench, USB, or connected player. Every operation remains available to you directly through the same CLI and UI.
The npm release is not public yet. Install from source with Node.js 22:
gh repo clone gakonst/djbooth ~/github/gakonst/djbooth
cd ~/github/gakonst/djbooth
pnpm install
pnpm build
(cd packages/djbooth && npm link)
djbooth --versionCopy .env.example to the ignored root .env for provider credentials. Audio,
sessions, cookies, databases, and model caches remain local and outside Git.
Use the top-level CLI directly. Incur provides command help, machine-readable schemas, an LLM manifest, and MCP from the same command definitions:
djbooth --help
djbooth --llms
djbooth --llms-full
djbooth mcp addThen ask for the outcome:
Import this Spotify playlist. Reuse tracks already in my library, acquire the missing recordings,
analyze BPM, key, grids, phrases, and waveforms, then create a Rekordbox-compatible playlist.
Find 20 deep late-night warm-up tracks in my library. Build a rising-energy temporary playlist and
open it so I can audition it.
Sync this playlist fresh to my USB, verify every waveform artifact, and tell me when it is safe to
eject.
Serve my library to the CDJs and cue "Apathy" on player 3 without starting playback.
Run the same workflows explicitly:
# Run stages independently; every stage resumes from Rekordbox master.db.
djbooth resolve "$SET_URL" --format json
djbooth download "$SET_URL" --format json
djbooth analyze "$SET_URL" --format json
# Or run through ordered playlist import in one command.
djbooth import "$SET_URL" --format json
# Enrich the complete library idempotently; scope to a playlist folder only when needed.
djbooth enrich --format json
djbooth enrich --folder 'DJ Sets I Like' --dry-run --format json
# Separate one library track by stable content ID (or a unique title search).
djbooth stems "$CONTENT_ID" --layout four-stem --format json
# Import play history and batch one host playlist folder onto both USB library formats.
djbooth usb /Volumes/CDJ --playlist-folder 'DJ Sets I Like' --format json
djbooth link --format json
djbooth link "Apathy" --player 3 --format jsonDownloads, provider responses, model weights, analysis, stems, and playlist acquisition are cached. Warm runs do not redownload or reanalyze unchanged tracks.
Open the local workstation:
djbooth serve --openKeep Codex or Claude as the conversation surface and open the UI without its embedded assistant:
djbooth serve --open --no-assistant
djbooth status --format json
djbooth stop --format jsonThe same workbench ships as the djbooth.ai Tauri desktop app. Agent and UI share one local library,
cache, processing queue, and toolchain. Library writes remain explicit; the normal workbench opens
the active database read-only unless write access is requested.
Codex / Claude / Nanocodex djbooth.ai workbench
│ │
└─────────── MCP · CLI ──────────────┘
│
TypeScript orchestration
┌─────────────┼──────────────┐
│ │ │
providers/library djbooth-rs MLX stems
│ analyzer·usb·link │
└─────────────┼──────────────┘
│
local library · compatible artifacts · CDJs
| Path | Responsibility |
|---|---|
packages/djbooth/ |
Unified API, CLI, MCP map, and Code Mode surface |
apps/djbooth/ |
Browser workstation and Tauri desktop application |
packages/ |
Typed workflow libraries and focused Incur commands |
rust/bin/djbooth-rs/ |
Unified native CLI |
rust/crates/ |
Reusable analyzer, core, and DJ Link libraries |
python/stems-mlx/ |
Standalone uv/MLX stem separator |
pnpm install
pnpm validateContributions are welcome. For compatibility work, update the porting journal with the evidence, fixtures, and hardware scope.
Having trouble? Open an issue with the command, bounded output, platform, target player, and whether the library path was USB or Pro DJ Link.