BlaiseBlaise
Documentation
Runner and PlugsReference

Configuration keys

Every key of blaise.yml, generated from its JSON schema.

Every key that blaise.yml accepts. The file is checked against this schema when the runner starts. Editors can use the same schema for completion: it is published as agent-config.v1.schema.json in @blaiseagent/runner. The prose reference is Configuration.

A key that accepts expressions takes a ${{ }} expression wherever it takes a plain value. Keys under setup[] describe one entry of the setup list.

KeyTypeRequiredExpressionsDescription
version1yesnoFormat version of this file.
serverobjectnonoConnection to Blaise.
server.urlstringnoyesBase URL of the Blaise server.
server.tokenstringnoyesRunner token. Overrides the credential stored by blaise-agent login. Prefer an expression such as ${{ env.BLAISE_RUNNER_TOKEN }} to a literal token.
logobjectnonoRunner logging.
log.leveltrace, debug, info, warn, error, fatalnoyesMinimum level to emit.
log.formatpretty, jsonnoyesOutput format. Auto-detected from the TTY when unset.
labelsobjectnonoLabels this runner declares, as key/value pairs. A value is a string or a list of strings. Agents state label requirements; a session runs on a runner whose labels include every required value. Values may use ${{ env.* }} expressions.
capacityintegernonoMaximum number of sessions this runner instance runs at once. Omit for no limit. Blaise offers work to the instance with the most free capacity first and never beyond this number.
agentobjectnonoThe ACP agent to launch, layered over the adapter configuration sent by Blaise. Expressions are evaluated when a run starts.
agent.driverstringnonoThe ACP agent driver to launch, e.g. claude.
agent.commandstringnonoExecutable that starts the ACP agent. Overrides the driver's default.
agent.argslist of stringnonoArguments for command.
setuplist of objectnonoOrdered list of plugs.
setup[].idstringnonoUnique name. Used to read the plug's outputs (setup.<id>.outputs.*) and to key its persisted state. Required for plugs that persist state.
setup[].usestringyesnoThe plug: blaise:<name>, a path (./x.ts) or a package specifier. Third-party scoped packages must be quoted in YAML.
setup[].withobjectnonoInputs, validated by the plug's own schema. May contain ${{ }} expressions.