Agentic model configuration
Look up the fields, execution limits, source permissions, and output rules for agentic models in pipeline tasks.
Use this page when you write or review an agentic model definition. It lists the fields, execution limits, source and tool permissions, and output rules. For the Blueprint and pipeline workflow, see Agentic models.
Model and step fields
The following table lists the fields of an agentic model:
Each step needs an id, source.ref, instructions, execution.mode, and columns. The following rules also apply to steps:
- Choose exactly one of
mapandreduce. Each containsoverand a non-emptygroup_bylist. - Map reads a source alias or an earlier step. Reduce reads one or several earlier steps.
source.refmust equal the firstoverinput.- Source aliases and step IDs must be unique.
- A step can override
llm.profileand assignment limits. - Model-level
executionandpublishsettings for cross-warehouse compute aren't supported for agentic models. - Authored step
skillsaren't supported. Keep the instructions in the model.
Execution limits
The following example sets every execution limit at the model level:
limits:
tokens: 100000
timeout_seconds: 600
tokens_per_assignment: 16000
tool_calls_per_assignment: 8
model_calls_per_assignment: 12The following table describes each limit:
Each value is an optional positive integer or null. The following rules decide the effective value:
- If the model omits a limit, that limit is unlimited. There are no fixed default assignment token or call caps.
- If a step omits a limit, the step inherits the model default.
- If a step sets a limit to
null, the step removes the inherited assignment cap.
The following example sets limits inside a step:
limits:
tokens_per_assignment: null
tool_calls_per_assignment: 4A step can't turn off the model's total token limit or timeout. A direct llm_call still permits only one model call. Provider response capacity and transport limits also apply.
Without a separate assignment token cap, an assignment reserves the remaining finite run budget. Other assignments wait for it to settle. Set an assignment allowance when concurrent work must share a finite total.
Known usage settles the reservation. Unknown usage keeps a finite reservation. Without a finite reservation, charged tokens are a lower bound. They don't prove zero usage or exact provider billing.
Limits count tokens and calls, not currency. A retry can add cost.
Context sources and web tools
Model sources declares the available references. Step context_sources controls extra reads during an agent loop. It doesn't change the step's prepared input. Step execution.tools controls extra host tools.
The following table shows how each value of these two fields works:
The supported extra tools are web_search and web_fetch. Requested tools must be available in the environment. A direct call can't request source callbacks or host tools. Ordinary chat tools aren't assignment tools.
Use context_sources in new definitions. The older step-level sources field stays accepted, but both fields can't appear together. Changing effective tool permissions requires a new run. Resume can't silently add tools to saved work.
Source reads use declared columns and supported arguments. Each read returns at most 100 rows and 64 KiB. These are bounded reads and don't prove exhaustive coverage. A source failure stops the assignment.
Classification
A classification step returns one choice for each prepared row. Use the managed classification profile that your Bobsled AI environment supports, as in the following example:
platform:
models:
classifier:
provider: <provider>
model: <classification model>
api_key: $MODEL_API_KEYSet the model or step's llm.profile to classifier. Use llm_call, and declare between 2 and 12 choices. The following example shows a classification step:
id: classify
source: { ref: pairs }
map: { over: pairs, group_by: [pair_id] }
execution: { mode: llm_call }
llm: { profile: classifier }
instructions: Choose whether the supplied records describe the same location.
classification:
choices:
same: The records describe the same location.
different: The records describe different locations.
uncertain: There is insufficient evidence.
columns:
- { name: pair_id, type: string, nullable: false }
- { name: choice, type: string, nullable: false }
- { name: confidence, type: number, nullable: false }This step assumes that the model declares the pairs alias. Each group must contain exactly one input row. The output contains only the grouping keys, choice, and confidence, plus system metadata. Grouping keys must include replacement keys.
Classification can't use tools, context callbacks, Skills, or reduce inputs. It doesn't generate explanations or evidence. Bobsled AI saves the selected label and the provider confidence. An uncertain choice is completed work. Use downstream SQL to select results that need human review or another agentic model.
Output and publication
Business columns need name, type, and an explicit nullable. The supported types are string, integer, number, boolean, timestamp, date, array, and object.
Grouping and replacement keys keep their input types. Output grain and replacement keys must be non-null scalar columns.
Don't declare reserved _dogsled_* columns. Bobsled AI adds the following columns to the published schema:
Evidence records a source, a reference, an optional excerpt, and the retrieval time. Citation structure doesn't prove that the claim is correct. Untouched rows keep their earlier run metadata.
Publication replaces findings only for completed input keys. A completed empty result removes earlier findings for those keys. Failed or missing work can't count as an empty success. All steps must complete before Bobsled AI publishes the selected output.
Existing target columns must match the declared output schema. Schema changes require an explicit rebuild or migration.
Final checks can block publication. The supported tests are not_null, unique, and accepted_values. Custom SQL tests and warning-severity expectations aren't supported for agentic publication.
Recovery and storage
A matching pipeline retry keeps the saved inputs, accepted results, attempt counts, and token charges. It opens a new timeout window. It restarts an unfinished assignment from its prepared input, including the full agent loop.
A new run can take over unpublished failed incremental work only after it gets exclusive ownership of the earlier checkpoint. The earlier run becomes superseded and can't resume. Prepared or confirmed publication must be reconciled through the original run first.
Checkpoints keep source records and findings. Model output, publication stages, receipts, and cursors stay in the configured warehouse. Agent execution also keeps its normal session state. Provider inference data policies don't change retention.
Agentic checkpoints and retained publication stages don't expire automatically. Ask the warehouse operator to preserve recovery records during cleanup.
Don't delete a checkpoint or receipt to bypass a conflict.