Skip to main content

Run the audible demo

Clone aidj-platform, aidj-ui, and aidj-docs from the prochain-aidj organization. They are private repositories. Use Rust 1.98.1, Node 22 and pnpm 8.15.8. Signalsmith's native wrapper needs a C++ compiler and libclang; on Ubuntu install build-essential libclang-dev.

In aidj-platform:

cargo run --release --bin booth-cli -- demo
cargo run --release --bin booth-cli -- render 300
cargo run --release --bin booth-cli -- replay SESSION_ID
BOOTH_TOKEN=your-local-token cargo run --release --bin boothd

Replace SESSION_ID with the completed render ID. data/library contains assets, analysis and the SQLite index; data/sessions contains journals and WAV exports. BOOTH_DATA_DIR changes the root. In local SQLite mode use one daemon/process per data directory. For multiple metadata clients, configure MongoDB storage; audio volumes and session ownership still need explicit deployment planning.

In aidj-ui:

corepack pnpm install --frozen-lockfile
corepack pnpm dev

Open http://localhost:3000/b2b, enter the same token and connect. Create the demo library if needed, configure actors and render. Use /library to import WAV/FLAC/MP3 and review grid/key estimates. At least three reviewed feasible tracks are required. /booth is a separate metadata harness, not the audible renderer.

The default local planner runs without credentials and is not an LLM. For independent model-backed actors configure the daemon before starting it:

AI_BACKEND=ollama AI_BASE_URL=http://127.0.0.1:11434 AI_MODEL=YOUR_INSTALLED_MODEL \
BOOTH_TOKEN=your-local-token cargo run --release --bin boothd

The model must already be installed and served. A compatible hosted chat-completions endpoint uses AI_BACKEND=chat-completions, its API base URL, model and optional AI_API_KEY. Only compact musical metadata and handoffs are sent to the configured model; audio processing remains local. No live model quality result is implied by adapter tests.

Validation:

# platform
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo test --workspace --locked
# UI and docs, in each repository
corepack pnpm typecheck
corepack pnpm build

For documentation development run corepack pnpm start --port 3001 in aidj-docs so it does not occupy the UI port. Daemon HTTP is on loopback port 8787. Authentication and allowed origins support local development only; LAN hosting and hardware are deferred.