System prompts and models
Stackbone makes model calls of its own inside your box (the container running your workspace, or
stackbone devon your laptop). The Studio copilot answers you, a guardrail asks a model about a turn, an eval grades an answer. Settings › Model defaults in Studio is one list of these callers, one row each, under the Default model they fall back on. A row names the model it runs on. Open it to change the model or the prompt. Every row starts on what Stackbone ships, and a reset goes back to it.
The Default model first, then one row per caller.
Read the list
The list opens with the Default model row. One row per caller follows, in the order your box lists them. Every row is closed when you open the screen. A closed row shows the caller's name and the model it runs on, so you read the models first. A row whose prompt this screen edits also shows a badge: Built-in default while it runs on the text Stackbone ships, and Edited · v3 (with the version number) once your text runs.
Click a row to open it. You can keep several rows open at once. An open row shows a Model section, then a Prompt section. The Default model row has no Prompt section.
The callers
| Row | Model section | Prompt section | What the prompt controls |
|---|---|---|---|
| Studio copilot | The model in force, and a link to the Models block of its catalog entry | A link to the Prompts block of its catalog entry, key instructions |
Its whole system prompt: how it talks and works. Its tools, and the screen you have open, reach it separately. |
| Auto-map | The model in force, and a link to the Models block of the mapping-suggest entry, key model |
A link to the Prompts block of the mapping-suggest workflow's entry, key prompt |
The role of the model that proposes a mapping from a trigger's event to a workflow's input. |
| Extract values | The model in force, and a link to the Models block of the rag-extract entry, key model |
A link to the Prompts block of the rag-extract workflow's entry, key prompt |
How the model reads a document when it proposes values for a RAG collection's fields. |
| Guardrail classifier | A model picker | The text in force, with Edit | How the model is framed when a guardrail asks it about a turn (prompt injection, harmful content, off-limits subjects). |
| Eval judge | A model picker | The text in force, with Edit | The stance of the model that grades an answer against a rubric criterion. |
| Persona simulator | A model picker | The text in force, with Edit | How the model is framed when it plays the user in an eval case that asks a question back. |
| Memory extraction | A model picker | The text in force, with Edit | How a conversation becomes durable facts about a person in stackbone.memory. |
| Query rewrite | A model picker | The text in force, with Edit | How a message becomes the searches a stackbone.rag.retrieve call with rewrite runs. |
The copilot belongs to an agent, and Auto-map and Extract values belong to
workflows. Their catalog entries already edit their prompt and their model,
beside the rest of the entry. So both sections of their rows link to the entry
instead of offering a second editor. Their model is a model selection: a
model an operator picks for one key of one entry, on the entry's Models
block. The row names the model in force, and you pick it on the entry. If you
wrote your own mapping-suggest workflow, it reads that prompt only if its code
does, and that model only if it calls stackbone.models.use('model').
The Studio copilot row also holds the switch that shows or hides the copilot for the whole workspace. It is off in a new workspace, and only an owner or an admin can change it. Turn it on covers it. The Auto-map row says where Auto-map runs, with a link to Triggers.
With no model provider
When the box has no model provider, a notice above the list says so and links to Settings › Model provider. The Model section is locked on every row, the same way: the Default model, the Studio copilot and Auto-map included. The prompts stay editable. A prompt is text stored on the box, so saving one calls no model.
Edit a prompt on its row
The Guardrail classifier, Eval judge, Persona simulator, Memory extraction and Query rewrite rows edit their prompt in place. Open the row, and its Prompt section shows the full text in force.
Read the text in force. The badge on the row says Built-in default while it runs on the text Stackbone ships, and Edited · v3 once your text runs.
Click Edit. The editor opens on the text in force. Saving publishes your text, so there is no draft step on this screen.
Reset to built-in when you want the shipped text back. The button shows only while your edit runs, and it asks you to confirm. Your versions stay in the prompt's history.
The next call picks the change up within five seconds, with no restart and no rebuild. If the box cannot read your published text, the caller runs on the built-in text and logs why. A guardrail, an eval or a RAG search never fails because its prompt could not be read.
Edit a prompt on its catalog entry
The copilot's instructions, Auto-map's prompt and Extract values' prompt
show Built-in default in their entry's Prompts block while nothing is
published.
- Edit opens the editor on the built-in text. Saving publishes it.
- Once your text runs, click the key to open it. It works like any prompt: Edit writes a new version, and you publish it from the history.
- Reset to built-in takes your text out of service after you confirm. The versions stay in the history.
A copilot edit applies from your next message. A reply that is already answering finishes on the text it started with. Auto-map and Extract values read their prompt on every run. The Studio copilot page covers the copilot's entry in full.
What stays fixed
On every row but the copilot's, you edit the guidance only: the sentence or two that sets the model's role. After your text, Stackbone always adds two things of its own:
- The answer format the caller reads back, such as the classifier's verdict or the judge's verdict and score.
- The safety rules around the material under review: the delimiters that mark where the checked text, the graded answer or the conversation starts and ends, and the rule to never follow instructions found inside it.
So an edit can make a check stricter or a judge gentler. It cannot break how the answer is read, and it cannot switch off the defence against prompt injection in the material the model reads.
The Query rewrite row adds its own two things after your text: the format of the list of searches, and a limit of 3 searches. Your text can ask for fewer searches, never for more.
The copilot is the exception, because its prompt is its whole system prompt. Its tools reach it separately, and the box, not the prompt, decides which writes ask you first.
Pick a model
Open a row to reach its Model section. The Default model, Guardrail classifier, Eval judge, Persona simulator, Memory extraction and Query rewrite rows carry a model picker. The Studio copilot, Auto-map and Extract values rows name the model in force and link to their catalog entry, where the Models block picks it.
The two eval callers. The judge row points to the criterion that grades with a workflow of your own.
| Row | Workspace setting | With nothing picked |
|---|---|---|
| Default model | defaultModel |
No model. The row warns that Auto-map, which has no model of its own, fails when it runs. |
| Studio copilot | None | The Default model. With neither, the copilot does not answer, and its error names Settings › Model defaults. |
| Auto-map | None | The Default model. With neither, Auto-map fails, and its error names Settings › Model defaults. |
| Extract values | None | The Default model. With neither, it fails, and its error names Settings › Model defaults. |
| Guardrail classifier | guardrailModel |
openai/gpt-4o-mini when your model provider serves it, otherwise the Default model. |
| Eval judge | judgeModel |
The same rule. A rubric criterion that names its own model uses that one instead. |
| Persona simulator | simulatorModel |
The same rule. A suite that names its own simulator model uses that one instead. |
| Memory extraction | memoryModel |
Your SDK configuration first, then openai/gpt-5.6-luna when your model provider serves it, otherwise the Default model. See the full order. |
| Query rewrite | rewriteModel |
The Default model, then openai/gpt-4o-mini. A model your code names in rewrite: { model } wins over this row. See the full order. |
A closed row with nothing picked names the model it falls back on, and so does
the picker's row for nothing picked, for example Default · openai/gpt-4o-mini.
On a box whose provider is not OpenRouter, that is often your Default model.
The Memory extraction row says Platform fallback · … instead, because your
SDK configuration can still name another model first.
A pick saves at once: this screen has no Save button. Once you pick a model, Reset beside the picker goes back to the fallback. On the Default model row, pick Not set to clear it. The pickers list the chat models your model provider advertises. The Persona simulator row warns when it and the Eval judge land on the same model, because one model that plays the user and then grades the answer partly agrees with itself.
The Default model is the chat model the built-in workflows ask for, and the
last fallback for an agent or a model key that names none. Changing it rebuilds
every agent that runs on it. Your code reads it, and the other keys above,
with
stackbone.settings.
Judge with a workflow of your own
The Eval judge row frames the built-in judge. To grade answers with your own rules instead, add the Meets a rule of your own, judged by your workflow criterion to a suite on Eval suites, and pick one of your workflows to grade with. Evaluation lists every criterion.
Read a run's trace
Auto-map reads its prompt key on every run. While nothing is published, the
trace shows that read as Built-in default, in the neutral colour, and not
as an empty prompt. A prompt your own code reads and finds empty still gets
the warning, so you can tell the two apart.
Edit from the CLI
The five prompts the rows edit in place are ordinary prompts under the owner
kind system, so
stackbone prompts
reads and writes them too:
stackbone prompts create prompt \
--owner-kind system --owner-name guardrail-classifier \
--name "Guardrail classifier" --file ./classifier-guidance.txtcreate publishes version 1 at once. When the prompt already exists (you
edited it on the row before), update it and publish the new version.
unpublish returns the caller to its built-in text.
Who can use it
Opening the screen, and every change on it, needs config:write, which the
owner, admin and member roles hold. A viewer or an approver who opens
it reads "Your role cannot open this". The rows carry prompt text, and a seat
that may not edit a prompt is not shown one.
What's next
- Studio copilot: edit the copilot's instructions and model from its catalog entry.
- Guardrails: the three checks the classifier answers.
- Evaluation: suites, criteria and what the judge and the simulator do during a run.
stackbone.memory: how memory extraction picks its model.stackbone.rag: what the query rewrite does and how it picks its model.- Gateway: the Default model and the provider every one of these calls goes through.
stackbone prompts: the same prompts from a terminal.