The brief — the system prompt.
Before a single note is played, you can tell the improviser how to play — its role, its manner, its rules. That standing instruction is a system prompt.
Every time you chat with an AI, one message shapes the whole conversation — and you never see it. Whoever built the tool wrote it before you typed a word, and it tells the model who to be and how to answer: its role, its tone, the rules it follows, the shape its replies should take. That hidden, standing instruction is the system prompt.
Before a set, the bandleader briefs the player on how the night will run — the key, the feel, how to carry themselves: "stay in the changes", "leave space for the singer", "keep the solos short". The player holds that brief in mind on every tune. The tunes don't change — only the way they're played does.
The brief belongs to no single request. It's set ahead of all of them and rides along on every turn: the standing cost in the window that the last lesson measured, tokens spent before the first note. And the model doesn't remember it between replies — it's re-sent, in full, every time. One short instruction, quietly shaping every phrase that follows.
Swap the brief and replay the same tune. Watch — and hear — the improviser's manner change, never the facts underneath.
One argument, set once.
In code the brief is just a system instruction handed to the model alongside the request. Change that one string and every solo changes with it.
solo = model.play( system = "You are a disciplined improviser. Stay in the changes.", tune = "Two bars over a C-major vamp.", ) # change only the system line → a different solo, same tune
One brief, every tune.
The brief — the system prompt — is set once, before the session, and the model plays every phrase through it. Same tune, same key; change the brief and you change the tone, the length, the format, even the role the improviser plays.
It's the builder's first and biggest lever: before you reach for a different model or a cleverer request, change the instruction the model is standing on.