Krystian Bugalski

VoctManager

The app a professional vocal ensemble runs its concerts on. The conductor has moved his work into it, and the singers rehearse from it. Claude catalogued the whole score library. I am its only developer.

March 2026 – present Python, Django, PostgreSQL, Celery, React, TypeScript, Anthropic API Source on GitHub

A singer reads her part before the concert
Claude reads a new score
An agent answers the conductor
The conductor plans a rehearsal
A singer marks the score
The conductor marks the score for everyone
A singer practises his part at night
A singer sends an idea
The foundation tracks a grant, cost by cost
Editors reword the website in three languages

Getting the conductor to use it

Before the app, the ensemble’s work lived in a cloud drive, WhatsApp, score-editing programs, a paper notebook, a tuning fork and a calendar.

The first concert in the app, in May 2026, ran mostly on data I had entered myself. The workflow held up, but the conductor did not use it. He is very good at his job and has no time to learn new tools between rehearsals, which I had not planned for. Getting him to open the app on an ordinary weekday was harder than anything on the engineering side.

In August I put a feedback button on every screen. Free-text reports had mostly said “it doesn’t work”, so the button sends the user’s note with the page, the device and the last error. At the end of that month he ran a concert through the app himself, and the singers used it during the concert. Then he sent reports like crazy, 59 in twelve days, and 53 were closed the same day. The fixes that came out of them had him using the app every day.

Before a concert he now spends hours a day in it, writing remarks on the scores.

Claude reads every new score

Every new piece arrives as a PDF score that has to be catalogued: composer, movements, the sung text, its pronunciation and translations. One Claude Sonnet 5 call reads the whole PDF, text layer or scan, for $0.04–0.20 a score. A new piece waits as “awaiting conductor review” until he approves it.

The first score pipeline was a chain of small calls. Each call saw only its own part, so for well-known hymns the model returned the standard text. The ensemble’s Adoro te devote has the first, third and fifth verses in Polish. The model kept returning everything in Latin. One call over the whole score fixed the hymns and cost less.

A PDF goes in, the pipeline reports its progress live, and the review screen opens on the catalogued piece. Score: Giovanni Priuli, Ave dulcissima Maria, engraved by the Mutopia Project (CC BY-SA 3.0).

Composer and work are matched against MusicBrainz and Wikidata, and canonical IDs come only from there. Every field is kept with its history, down to the model and the prompt version. The review screen marks each field by how far it can be trusted. Epoch, composition year and opus number are the fields the model invents most often. I did not show the model’s own confidence, because it came back at about 95% whether the field was right or wrong.

The review screen: the PDF score on the left, the extracted fields on the right with "Verified 0 of 10" and "8 to check", and a note that epoch, composition year and opus number are the fields the model invents most often.

A command runs real scores through the live pipeline and reports accuracy for each of 12 fields, cost and time. When I measured the move to Sonnet 5, my reason for it (better reading of scanned scores) turned out not to matter, because almost the whole archive is born-digital PDFs. Sonnet 5 stayed because it was cheaper and faster at the same accuracy.

How it works
  • A PDF that has already been processed is recognised by its SHA-256 hash and never reaches the model.
  • Programme notes used to be generated at the end of the pipeline from unreviewed metadata, so a wrong composer or period could end up in a printed concert programme. Now the note is a separate task, written from the corrected record. It is the only text the audience reads word for word, so it goes to Claude Opus 5, for about a cent more per note.
  • Overloads, rate limits and timeouts are not billed, so the pipeline waits and tries again. A reply cut off at the token limit is billed, so the retry doubles the budget, at most twice. A rejected request stops the chain. Spend is capped at $1.50 a run, $7.50 per piece and $20 a day.
  • The Anthropic SDK is pinned to an exact version, because the pipeline depends on native PDF input, structured outputs and prompt caching.

An agent answers at night

The conductor works mostly at night, when I am not around. The singers open the app for a short while, and I am not always around then either. Thirteen of the first sixteen reports came in after half past ten at night, five of them after midnight.

Since 10 November an agent answers them. It is Claude Opus 5.5, reading the app’s code at the version the reporter is running, with no access to the database.

The conductor wrote that he was not on the attendance list for the men’s sectional and could not tick himself off. The agent explained that the list holds only the voices a rehearsal calls, tenors and basses here, and told him where to add himself. Every reply comes to me as well, and this one made me think he should not be on any list, because without him there is no rehearsal.

Asked who got the highest fee for the last concert, it said it could not see the ensemble’s data and pointed to the screen that lists the fees. Asked in French whether “Christian the programmer” can follow everything one does in the app, it said clicks are not logged, but what you write is stored and anyone with an admin account can read it.

It replies in the app’s Messages. In its first five days it got 16 reports in Polish, Romanian and French. It answered 8, all of them correctly, and left the other 8, ideas and praise, to me. A run takes under a minute, and all sixteen cost $2.13.

How it works
  • It has three tools that search, read and list the code at the commit the reporter’s app is running, and it sees the reporter’s role, not their name.
  • I built it in the week before it went live and tested it on 17 questions with reference answers and 11 reports that need no reply, with Claude Sonnet 5.5 as the judge. Four of the questions were held back from tuning.
  • Early replies were long and addressed everyone as “Pan”, the formal Polish “sir”. A rule about where to search first made 12 of 15 runs hit the round limit, and I reverted it. An English reply to a Polish report passed the judge, so language and gendered forms are now checked in code before anything is sent. At 14 tool rounds, five minutes or $1.50 the agent loses its tools and has to answer with what it has. I read every reply to the held-back questions myself and would have sent each one as it was.
  • On its first evening live, two replies arrived as notifications stacked on top of each other, and the agent was reading code 16 commits behind production. Both were fixed by the end of that day.

Also in the app

Rehearsal plans

The request that shaped the app most came from the conductor: every singer gets a personal window in the rehearsal plan (“your part 19:00–21:00”), so nobody sits through pieces they do not sing.

A music stand on a tablet

Singers read the score from tablets on their stands, and a Bluetooth pedal turns the page. Marks sit on four layers: the choir’s, the rehearsal leader’s, the management’s and each singer’s own, which the management cannot read either. The server enforces that.

How it works

I reworked the stand over the summer with the conductor and the singers, and the next pages are already loaded. An open stand asks every 20 seconds whether the marks have changed, and fetches them only when they have. Server-Sent Events would have kept about thirty connections open through a whole rehearsal to save a second or two.

Announcements wait for the conductor

Every edit on a live project is saved at once, but what the choir is told waits until he publishes it. Twelve singers and five rehearsal edits make twelve emails, not sixty, and a typo fixed a minute later reaches nobody.

One ledger for the money

Budgets, fees, expenses and grants per project sit in one ledger, every write is recorded in an append-only event table, and a contract’s amount and payee are frozen on the day it is issued. Contracts are printed from the app.

The website’s copy desk

The foundation’s board rewords the ensemble’s website on the live page, in three languages, and I read every change as a diff.

How I work

I decide what gets built and how it should work. Most work starts as a written spec, about 90 since August, many from the conductor’s reports. It gets built in Claude Code sessions, checked by CI on every push (ruff, strict mypy and the tests against PostgreSQL) and tried on the choir’s own phones and tablets. Each module is built for the devices of the people it is for: the conductor works on a laptop, the singers on phones and tablets.

Twelve backend modules, about 2,600 backend tests, 1,400 commits on about 180 days.

Stack. A Django 6 and Django REST Framework backend on PostgreSQL, with Celery and Redis for the pipeline and notifications; a React and TypeScript panel; a separate Astro site for the public. Everything runs in Docker Compose on one DigitalOcean server, with uptime and heartbeat checks, daily off-site backups and a restore drill.

Timeline

  1. March 58 March – April: first working version; push and email notifications, iCal sync.
  2. April 230
  3. May 117 First concert run through the app; first version of the score pipeline.
  4. June 99 June – September: the tablet music stand, reworked with the conductor and singers.The golden-set evaluator.
  5. July 170
  6. August 210 The six scores the evaluator measures.Feedback button; the conductor runs a concert in the app on his own.
  7. September 286 Finance module.
  8. October 207 The October programme prepared in the app by the conductor and most of the choir.
  9. November 87 An AI agent that answers the in-app feedback reports from the app’s code.