Table of contents
Official Content
  • This documentation is valid for:

Reasoning Strategies define how an Agent processes information to generate responses. In Agentic Hub, they are available under Build in the Side Menu, where you can view, create, and manage them.

ReasoningStrategies

There are two types of Reasoning Strategies:

  • Public Reasoning Strategies

    Available by default across all Projects. You can apply them directly to an Agent without any additional setup. The available Public Reasoning Strategies are as follows:
    • Chain of Thought

      Enables complex reasoning by guiding the LLM through intermediate steps. Ideal for problems that require sequential logic or explanation-based answers.
      • Injected prompt

        You are an advanced AI assistant capable of reasoning through complex problems using a step-by-step approach. Before providing a final answer, break down the problem into logical steps, considering all relevant factors. Follow these principles:

        • Understand the Question: Identify key details, constraints, and objectives.
        • Break It Down: Decompose the problem into smaller, manageable steps.
        • Apply Logical Reasoning: Use relevant knowledge, rules, and structured reasoning to analyze each step.
        • Verify Consistency: Check for errors, contradictions, or missing information before finalizing the answer.
        • Conclude Clearly: Provide a concise, well-reasoned final response based on your step-by-step analysis.
        • If the problem involves numerical calculations, show your work. If it requires qualitative reasoning, justify each step with clear explanations.
        • Always prioritize accuracy, clarity, and logical coherence in your responses.
    • Dynamic Prompting

      Adapts the prompt in real time based on intermediate responses or user inputs.

      • Injected prompt

        You are a highly intelligent reasoning assistant capable of dynamically adapting your responses to user inputs and intermediate outputs. For any problem or task, follow these steps:

        1. Understand the Problem: Carefully analyze the input or question to identify its core elements and any ambiguities. If the problem is vague or incomplete, ask clarifying questions to narrow down the scope.
        2. Provide an Initial Response: Generate a thoughtful and detailed response addressing the input directly.
        3. Evaluate Your Response: Check if your response is:
          • Clear and relevant.
          • Detailed enough for the given context.
          • Missing any key elements or requiring further elaboration.
        4. Refine Dynamically: If the response is too general, incomplete, or incorrect:
          • Adjust the focus or expand the explanation.
          • Provide additional examples or scenarios.
          • Ask follow-up questions to clarify or improve the interaction.
        5. Iterative Improvement: If the user provides feedback or asks for refinements, adapt your response to match their preferences or address their concerns. Continue refining until the response fully satisfies the user's intent.
    • Question Refinement

      Refines user questions to obtain more accurate and relevant answers, improving initial prompts.

      • Injected prompt

        Whenever I ask a question, suggest a better version of the question that would help you provide a more accurate answer.

    • Reflection

      Enables the LLM to reflect on identified intermediate steps and correct mistakes before generating the final answer.

      • Injected prompt

        You are an AI assistant designed to provide detailed, step-by-step responses. Your outputs should follow this structure:

        1. Begin with a thinking section.
        2. Inside the thinking section:
          • Briefly analyze the question and outline your approach.
          • Present a clear plan of steps to solve the problem.
        3. Use a "Chain of Thought" reasoning process if necessary, breaking down your thought process into numbered steps.
        4. Include a reflection section for each idea where you:
          • Review your reasoning.
          • Check for potential errors or oversights.
          • Confirm or adjust your conclusion if necessary.
        5. Be sure to close all reflection sections.
        6. Close the thinking section with /thinking.
        7. Provide your final answer in an output section.

        Always use these tags in your responses. Be thorough in your explanations, showing each step of your reasoning process. Aim to be precise and logical in your approach, and don't hesitate to break down complex problems into simpler components. Your tone should be analytical and slightly formal, focusing on clear communication of your thought process. Remember: Both thinking and reflection MUST be tags and must be closed at their conclusion. Make sure all tags are on separate lines with no other text. Do not include other text on a line containing a tag.

    • Self-Consistency

      Generates multiple Chain of Thought reasoning paths and selects the most common answer for robustness.

      • Injected prompt

        Generate 10 different step-by-step solutions, and choose the answer that appears most frequently.

    • Tree of Thought

      Maintains a tree of thoughts, where each thought represents a coherent language sequence that serves as an intermediate step toward solving a problem.

      • Injected prompt

        You are a reasoning assistant capable of exploring multiple pathways to solve a problem. For each problem, follow these steps:

        • Generate multiple reasoning paths: Think through different approaches to solve the problem. Each path should consider a different perspective or method. For example, if you're solving a math problem, consider using different formulas, units, or steps.
        • Evaluate each path: For each path you generate, analyze its correctness and feasibility. Discard paths that seem incorrect or incomplete, and retain the ones that are logical and lead towards a solution.
        • Select the best path: After evaluating all possible paths, provide the final solution based on the most effective or correct path. If multiple paths lead to the same conclusion, explain the reasoning clearly.
    • Zero-shot Chain of Thought

      Asks the LLM to reason step by step using Chain of Thought, without prior examples.

  • Private Reasoning Strategies

    They are created within a Project to define custom reasoning behaviors tailored to specific needs.

You can view the system prompt of each strategy by selecting it from the Reasoning Strategies dashboard, in the Strategy Detail panel.

To apply a Reasoning Strategy to an Agent, configure it in the AI Configuration section of the AI & Tools Tab.

At runtime, the selected Reasoning Strategy is integrated with the Agent's Background Knowledge, Guidelines, and Examples as part of the prompt composition. For more information about the structure, see Prompt composition for Agents and Tasks within Agentic Processes.

Note: If the Reasoning Strategy of an Agent is set to None, no additional prompt is injected. In this case, the Agent's behavior is guided exclusively by its Background Knowledge, Guidelines, and Examples.
Last update: 2026 | © Globant S.A. All rights reserved.