Reasoning docs update (#2871)

* Add MCP integration documentation and update enterprise docs

* Update MCP integration docs with code syntax improvements

* Standardize documentation structure and add reasoning docs
This commit is contained in:
Tony Kipkemboi
2025-05-21 10:58:13 -04:00
committed by GitHub
parent eb6364284f
commit 910ed716d9
17 changed files with 35 additions and 27 deletions

View File

@@ -1,12 +1,14 @@
---
title: "Agent Reasoning"
title: Reasoning
description: "Learn how to enable and use agent reasoning to improve task execution."
icon: brain
---
# Agent Reasoning
## Overview
Agent reasoning is a feature that allows agents to reflect on a task and create a plan before execution. This helps agents approach tasks more methodically and ensures they're ready to perform the assigned work.
## How to Use Agent Reasoning
## Usage
To enable reasoning for an agent, simply set `reasoning=True` when creating the agent:
@@ -35,8 +37,13 @@ This process helps the agent break down complex tasks into manageable steps and
## Configuration Options
- `reasoning` (bool): Enable or disable reasoning (default: False)
- `max_reasoning_attempts` (int, optional): Maximum number of attempts to refine the plan before proceeding with execution. If None (default), the agent will continue refining until it's ready.
<ParamField body="reasoning" type="bool" default="False">
Enable or disable reasoning
</ParamField>
<ParamField body="max_reasoning_attempts" type="int" default="None">
Maximum number of attempts to refine the plan before proceeding with execution. If None (default), the agent will continue refining until it's ready.
</ParamField>
## Example