createState() is called fresh for each rollout, so one run cannot contaminate the next. That is what makes repeated runs comparable and what lets you attribute a difference in score to the agent rather than to leftover state.It is also why createState() must return a newly cloned object. Return a cached import directly and rollout two inherits rollout one’s mutations — see State.
Silo Runs Task TASK-004 — Report the weighted value of open pipeline Rollouts 3 Passed 3 / 3 Mean reward 1.00 Best 1.00 Worst 1.00 run 1 PASS reward 1.00 · 1 calls · completed run 2 PASS reward 1.00 · 1 calls · completed run 3 PASS reward 1.00 · 1 calls · completed
Rollouts run sequentially, each from a fresh world, and each writes its own run directory. The spread is the interesting part: Best 1.00 / Worst 0.20 means an agent that sometimes finds the answer, which is a different problem from one that never does.
When either limit trips, the run’s signal aborts, further callTool calls stop, and the run terminates with max_tool_calls or timeout. A long-running loop should check signal.aborted and return what it has rather than spinning.Limits are recorded in run.json, so a run that hit one is legible after the fact rather than looking like an agent that gave up.
agent_error with 0 tool calls and a near-zero duration almost always means the agent never reached its model — usually a model server that is not running. A genuine model failure shows up as tool errors or a timeout, after some work.
A run that fails still produces artifacts. A rollout that dies before its first tool call writes a trace containing the task, the config and the failure, because an empty directory is the least useful thing to find when something broke.
Run ids are collision-free, so concurrent runs and --runs sweeps never overwrite each other. See Run Artifacts.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"burn0","colors":{"primary":"#FF4500","light":"#FF6122","dark":"#FF4500"},"logo":{"light":"https://mintcdn.com/srn/EsyJ_ClWCcI_vDLA/logo/burn0-silo.svg?fit=max\u0026auto=format\u0026n=EsyJ_ClWCcI_vDLA\u0026q=85\u0026s=58e6e9617834ad33bffbd33676b820c4","dark":"https://mintcdn.com/srn/EsyJ_ClWCcI_vDLA/logo/burn0-silo.svg?fit=max\u0026auto=format\u0026n=EsyJ_ClWCcI_vDLA\u0026q=85\u0026s=58e6e9617834ad33bffbd33676b820c4"},"favicon":"https://mintcdn.com/srn/hd-f7iLoeT07GSHR/favicon.svg?fit=max\u0026auto=format\u0026n=hd-f7iLoeT07GSHR\u0026q=85\u0026s=70748bc65e1597c71b63a809fe6fff55","footer":{"socials":{"github":"https://github.com/burn0-dev"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"srn","hasAudioNarration":false,"actualSubdomain":"srn","customDomains":["docs.burn0.dev"],"gitSource":{"type":"github","owner":"burn0-dev","repo":"burn0-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aa8ae1417b15219b4e8c08b","collectionId":"a18fc59c-9906-454c-888e-c2958d37d723","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aa8ae1417b15219b4e8c08b"},"entitlements":{},"buildId":"6aa8ae1417b15219b4e8c08b","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"Documentation","count":39},{"language":"default","tag":"Silo","count":27},{"language":"default","tag":"burn0","count":12},{"language":"default","tag":"Environments","count":8},{"language":"default","tag":"Reference","count":7},{"language":"default","tag":"Running Agents","count":7},{"language":"default","tag":"CLI","count":5},{"language":"default","tag":"Getting Started","count":5},{"language":"default","tag":"Guides","count":3},{"language":"default","tag":"Dashboard","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"silo/running/simulation","slug":"/silo/running/simulation","pageMetadata":{"title":"Running a Simulation","description":"silo run, its flags, and repeated rollouts","href":"/silo/running/simulation"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"silo run, its flags, and repeated rollouts\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @burn0/silo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --task`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` TASK-002`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./silo.agent.ts`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Silo Run`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Task TASK-002 — Rehome a departed rep's open pipeline`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Result PASS`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Reward 1.00`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Duration 0.0s`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Tool calls 3`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Successful 3`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Errors 0`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Checks 5 / 5`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Required 3 / 3`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Run saved: .silo/runs/run_20260915020238_9s01`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--env \u003cname>`})}),_jsx(_components.td,{children:`required`}),_jsx(_components.td,{children:`Which environment to run in`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--task \u003cid>`})}),_jsx(_components.td,{children:`required`}),_jsx(_components.td,{children:`Which task to attempt`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--agent \u003cpath>`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`./silo.agent.ts`})}),_jsx(_components.td,{children:`Your agent module`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--runs \u003cn>`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1`})}),_jsx(_components.td,{children:`Repeat the task from a fresh world`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--max-tool-calls \u003cn>`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`100`})}),_jsx(_components.td,{children:`Abort after this many tool calls`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--timeout-ms \u003cn>`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`120000`})}),_jsx(_components.td,{children:`Abort after this long`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`every-rollout-starts-clean`,children:`Every rollout starts clean`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`createState()`}),` is called fresh for each rollout, so one run cannot contaminate the next. That is what makes repeated runs comparable and what lets you attribute a difference in score to the agent rather than to leftover state.`]}),`\n`,_jsxs(_components.p,{children:[`It is also why `,_jsx(_components.code,{children:`createState()`}),` must return a newly cloned object. Return a cached import directly and rollout two inherits rollout one’s mutations — see `,_jsx(_components.a,{href:`/silo/environments/state`,children:`State`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`repeating-a-task`,children:`Repeating a task`}),`\n`,_jsx(_components.p,{children:`Agents are not deterministic. One passing run tells you a task is achievable, not that your agent achieves it.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @burn0/silo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --task`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` TASK-004`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./solver.ts`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --runs`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{numberOfLines:`13`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Silo Runs`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Task TASK-004 — Report the weighted value of open pipeline`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Rollouts 3`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Passed 3 / 3`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Mean reward 1.00`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Best 1.00`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Worst 1.00`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` run 1 PASS reward 1.00 · 1 calls · completed`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` run 2 PASS reward 1.00 · 1 calls · completed`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` run 3 PASS reward 1.00 · 1 calls · completed`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Rollouts run sequentially, each from a fresh world, and each writes its own run directory. The spread is the interesting part: `,_jsx(_components.code,{children:`Best 1.00 / Worst 0.20`}),` means an agent that sometimes finds the answer, which is a different problem from one that never does.`]}),`\n`,_jsx(Heading,{level:`2`,id:`comparing-agents`,children:`Comparing agents`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--agent`}),` is just a path, so the natural way to compare two approaches is to point at each in turn against the same task and seed:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @burn0/silo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --task`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` TASK-002`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./agents/haiku-loop.ts`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --runs`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @burn0/silo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --task`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` TASK-002`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --agent`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./agents/sonnet-loop.ts`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --runs`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Because the world is identical each time, the difference in pass rate is attributable to the agent.`}),`\n`,_jsx(Heading,{level:`2`,id:`limits`,children:`Limits`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @burn0/silo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --task`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` TASK-001`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --max-tool-calls`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 50`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --timeout-ms`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 60000`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`When either limit trips, the run’s `,_jsx(_components.code,{children:`signal`}),` aborts, further `,_jsx(_components.code,{children:`callTool`}),` calls stop, and the run terminates with `,_jsx(_components.code,{children:`max_tool_calls`}),` or `,_jsx(_components.code,{children:`timeout`}),`. A long-running loop should check `,_jsx(_components.code,{children:`signal.aborted`}),` and return what it has rather than spinning.`]}),`\n`,_jsxs(_components.p,{children:[`Limits are recorded in `,_jsx(_components.code,{children:`run.json`}),`, so a run that hit one is legible after the fact rather than looking like an agent that gave up.`]}),`\n`,_jsx(Heading,{level:`2`,id:`when-a-run-does-not-complete`,children:`When a run does not complete`}),`\n`,_jsx(_components.p,{children:`Every run ends with one of four reasons:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`terminationReason`})}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`completed`})}),_jsx(_components.td,{children:`The agent returned normally`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`max_tool_calls`})}),_jsx(_components.td,{children:`The tool-call budget was exhausted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timeout`})}),_jsx(_components.td,{children:`The time budget was exhausted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agent_error`})}),_jsx(_components.td,{children:`The agent threw`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`agent_error`}),` with `,_jsx(_components.strong,{children:`0 tool calls and a near-zero duration`}),` almost always means the agent never reached its model — usually a model server that is not running. A genuine model failure shows up as tool errors or a timeout, after some work.`]})}),`\n`,_jsx(_components.p,{children:`A run that fails still produces artifacts. A rollout that dies before its first tool call writes a trace containing the task, the config and the failure, because an empty directory is the least useful thing to find when something broke.`}),`\n`,_jsx(Heading,{level:`2`,id:`where-results-go`,children:`Where results go`}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`.silo/runs/\u003crunId>/`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`├── trace.jsonl`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`├── result.json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`├── state-diff.json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`└── run.json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Run ids are collision-free, so concurrent runs and `,_jsx(_components.code,{children:`--runs`}),` sweeps never overwrite each other. See `,_jsx(_components.a,{href:`/silo/running/artifacts`,children:`Run Artifacts`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Running a Simulation","description":"silo run, its flags, and repeated rollouts","href":"/silo/running/simulation"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Every rollout starts clean","slug":"every-rollout-starts-clean","depth":2,"children":[]},{"title":"Repeating a task","slug":"repeating-a-task","depth":2,"children":[]},{"title":"Comparing agents","slug":"comparing-agents","depth":2,"children":[]},{"title":"Limits","slug":"limits","depth":2,"children":[]},{"title":"When a run does not complete","slug":"when-a-run-does-not-complete","depth":2,"children":[]},{"title":"Where results go","slug":"where-results-go","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"srn","siteName":"burn0","title":"Running a Simulation - burn0","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-15T02:32:05.399Z","originalFileLocation":"silo/running/simulation.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"silo run, its flags, and repeated rollouts\">\u003cmeta data-mint-head name=\"application-name\" content=\"burn0\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/srn/pt9w0ePqOY4cZj8u/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/srn/pt9w0ePqOY4cZj8u/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/srn/pt9w0ePqOY4cZj8u/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/srn/pt9w0ePqOY4cZj8u/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/srn/pt9w0ePqOY4cZj8u/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/srn/pt9w0ePqOY4cZj8u/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/srn/pt9w0ePqOY4cZj8u/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/srn/pt9w0ePqOY4cZj8u/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/srn/pt9w0ePqOY4cZj8u/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Running a Simulation - burn0\">\u003cmeta data-mint-head property=\"og:description\" content=\"silo run, its flags, and repeated rollouts\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"burn0\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.burn0.dev/silo/running/simulation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://srn.mintlify.app/_mintlify/api/og/v2?division=Running+Agents\u0026amp;title=Running+a+Simulation\u0026amp;description=silo+run%2C+its+flags%2C+and+repeated+rollouts\u0026amp;theme=fad9ad47de8927e0d01f45c3\u0026amp;signature=9398a726a32d5ee971bdd0c990711da6614ec8665edaee43665bf24ad390b9a5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Running a Simulation - burn0\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"silo run, its flags, and repeated rollouts\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://srn.mintlify.app/_mintlify/api/og/v2?division=Running+Agents\u0026amp;title=Running+a+Simulation\u0026amp;description=silo+run%2C+its+flags%2C+and+repeated+rollouts\u0026amp;theme=fad9ad47de8927e0d01f45c3\u0026amp;signature=9398a726a32d5ee971bdd0c990711da6614ec8665edaee43665bf24ad390b9a5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/srn/pt9w0ePqOY4cZj8u/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"burn0\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF4500\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.burn0.dev/silo/running/simulation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/silo/running/simulation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.burn0.dev/#organization\",\"name\":\"burn0\",\"url\":\"https://docs.burn0.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/srn/EsyJ_ClWCcI_vDLA/logo/burn0-silo.svg?fit=max\u0026auto=format\u0026n=EsyJ_ClWCcI_vDLA\u0026q=85\u0026s=58e6e9617834ad33bffbd33676b820c4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.burn0.dev#website\",\"name\":\"burn0\",\"url\":\"https://docs.burn0.dev\",\"publisher\":{\"@id\":\"https://docs.burn0.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.burn0.dev/silo/running/simulation#webpage\",\"url\":\"https://docs.burn0.dev/silo/running/simulation\",\"name\":\"Running a Simulation\",\"description\":\"silo run, its flags, and repeated rollouts\",\"dateModified\":\"2026-09-15T02:32:05.399Z\",\"isPartOf\":{\"@id\":\"https://docs.burn0.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.burn0.dev/silo/running/simulation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.burn0.dev/silo/running/simulation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Running Agents\",\"item\":\"https://docs.burn0.dev/silo/agents/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Running a Simulation\",\"item\":\"https://docs.burn0.dev/silo/running/simulation\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.burn0.dev/silo/running/simulation#article\",\"headline\":\"Running a Simulation\",\"name\":\"Running a Simulation\",\"description\":\"silo run, its flags, and repeated rollouts\",\"url\":\"https://docs.burn0.dev/silo/running/simulation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.burn0.dev/silo/running/simulation#webpage\"},\"dateModified\":\"2026-09-15T02:32:05.399Z\",\"publisher\":{\"@id\":\"https://docs.burn0.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.burn0.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"burn0\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"burn0","nav":{"global":null,"tabs":[{"tab":"burn0","icon":"https://mintlify.s3.us-west-1.amazonaws.com/srn/logo/icon.svg","pages":[{"title":"burn0","href":"/introduction"}]},{"tab":"Silo","icon":"https://mintlify.s3.us-west-1.amazonaws.com/srn/logo/silo.png","anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/silo/introduction"},{"title":"Quickstart","href":"/silo/quickstart"},{"title":"Your First Environment","href":"/silo/your-first-environment"}]},{"group":"Environments","pages":[{"title":"Environment Overview","href":"/silo/environments/overview"},{"title":"Data","href":"/silo/environments/data"},{"title":"State","href":"/silo/environments/state"},{"title":"Tools","href":"/silo/environments/tools"},{"title":"Tasks","href":"/silo/environments/tasks"},{"title":"Verifiers","href":"/silo/environments/verifiers"},{"title":"LLM Judges","tag":"Coming soon","href":"/silo/environments/llm-judges"},{"title":"Environment Validation","href":"/silo/environments/validation"}]},{"group":"Running Agents","pages":[{"title":"Bring Your Own Agent","href":"/silo/agents/overview"},{"title":"Framework Adapters","tag":"Coming soon","href":"/silo/agents/framework-adapters"},{"title":"MCP Server","description":"Expose an environment's tools over the Model Context Protocol","tag":"Coming soon","href":"/silo/agents/mcp-server"},{"title":"Running a Simulation","href":"/silo/running/simulation"},{"title":"Rollout Lifecycle","description":"What happens between silo run and a score","href":"/silo/running/lifecycle"},{"title":"Scoring","href":"/silo/running/scoring"},{"title":"Run Artifacts","href":"/silo/running/artifacts"}]},{"group":"Guides","pages":[{"title":"Build an Environment From Scratch","href":"/silo/guides/build-from-scratch"},{"title":"Debug a Failed Run","href":"/silo/guides/debug-a-failed-run"},{"title":"Use Silo With Claude or Codex","href":"/silo/guides/claude-and-codex"}]},{"group":"Reference","pages":[{"title":"CLI Reference","href":"/silo/reference/cli"},{"title":"SDK Reference","href":"/silo/reference/sdk"},{"title":"Templates","href":"/silo/reference/templates"},{"title":"Schemas","href":"/silo/reference/schemas"},{"title":"Error Codes","href":"/silo/reference/error-codes"},{"title":"Examples","href":"/silo/reference/examples"}]}]},{"anchor":"GitHub","icon":"github","href":"https://github.com/burn0-dev/silo"},{"anchor":"NPM","icon":"npm","href":"https://www.npmjs.com/package/@burn0/silo"}]}]},"title":"Running a Simulation - burn0","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":[],"chunks":[]}