Documentation Index
Fetch the complete documentation index at: https://docs.standardagentbuilder.com/llms.txt
Use this file to discover all available pages before exploring further.
What Are Prompts?
Prompts define:- system instructions (
prompt) - model (
model) - available tools (
tools) - optional context controls and validation
agents/prompts/.
Basic Example
Tool Types in tools
tools accepts multiple forms:
stringcallable nameSubpromptConfigfor prompt-tool optionsPromptToolConfigfor tool-level optionsSubagentToolConfigfordual_aisubagent relationships
Subagent Tool Configuration
UseSubagentToolConfig to define parent -> child behavior:
Important Fields
blocking: wait for child completion or return immediatelyresumable: persistent child instances with message routinginitUserMessageProperty: map args to child initial messageinitAttachmentsProperty: map args to child initial attachment pathsinitAgentNameProperty: map args to child thread display nameimmediate:truefor default immediate boot, or an object when you want explicitnameEnv/descriptionEnvhints and runtime-onlyscopedEnvtransfer
Resumable Runtime Tools
When a prompt has resumable subagent configs, AgentBuilder injects runtime tools:subagent_createsubagent_message
subagent_create requires a non-empty name argument. Use a concise stable child-instance label rather than leaving the thread anonymous.
Non-resumable subagents behave like normal tool calls and are not created via lifecycle tools.
Context and Validation
Useful options:includeChatincludePastToolstoolChoicerequiredSchemareasoninghooks
Best Practices
- Keep orchestrator prompts focused on delegation + synthesis
- Put strict production/QA logic into the child
dual_aiagent - Use explicit
init*Propertymappings for predictable payloads - Use the object form of
immediatewhen per-instance boot should derive from safe name/description envs without exposing secrets - Set reasonable
maxInstanceson resumable children