Example
The following agent can use structured reasoning to solve complex problems:Toolkit Params
| Parameter | Type | Default | Description |
|---|---|---|---|
enable_think | bool | True | Enable the think reasoning function. |
enable_analyze | bool | True | Enable the analyze reasoning function. |
instructions | Optional[str] | None | Custom instructions for reasoning behavior. |
add_instructions | bool | False | Whether to add instructions to the agent. |
add_few_shot | bool | False | Whether to include few-shot examples. |
few_shot_examples | Optional[str] | None | Custom few-shot examples for reasoning. |
Toolkit Functions
| Function | Description |
|---|---|
think | Perform step-by-step reasoning about a problem or situation. |
analyze | Conduct detailed analysis with structured reasoning steps. |