Documentation
¶
Overview ¶
Package main demonstrates execution config.
Each agent loop operation (LLM call, tool execute, MCP, sub-agent delegation, etc.) has its own independent timeout and retry budget. This example shows how to override those defaults using With*ExecutionConfig options.
SDK defaults used when no override is set:
LLM Timeout: 30m MaxAttempts: 3 ToolAuth Timeout: 30m MaxAttempts: 1 ToolExecute Timeout: 30m MaxAttempts: 3 MCP Timeout: 30m MaxAttempts: 3 A2A Timeout: 30m MaxAttempts: 3 Retriever Timeout: 5m MaxAttempts: 3 Memory Timeout: 5m MaxAttempts: 3 Conversation Timeout: 30s MaxAttempts: 1 SubAgent Timeout: (agent run timeout) MaxAttempts: 1
Zero fields in ExecutionConfig keep the SDK default for that field.
See: docs/features/execution-config.mdx
Click to show internal directories.
Click to hide internal directories.