3. Strategy
The Strategy section defines how an AI agent approaches problem-solving.
You can think of it as the agent's way of working — how it breaks down a task, reasons through the steps, chooses when to use tools, and how to react when something fails or when it encounters unexpected situations.
Currently Available Strategies
1. Basic Strategy
This is the simplest mode of operation. It answers user prompts or runs tools as instructed — with no breakdown, and no internal reasoning.
Example:
Agent with skill get_fear_and_greed_latest
:
User asks, “What’s today’s crypto fear and greed index?” → The agent directly calls the tool and answers: “The current Fear and Greed Index is 39 (Fear).”
This strategy is ideal for lightweight tasks like fetching current prices, generating images, or reading weather data. The benefit of this strategy is that it is faster compared to other two strategies.
2. ReAct Strategy
ReAct stands for Reasoning + Acting.
Instead of jumping straight to an answer or tool, the agent thinks first.
In other words, it decides: "Do I need to use a skill? If yes, which one? Or should I answer directly instead?"
It works through a structured loop:
Thought: “I need to do answer users query by...”
Action: If required, the agent invokes a skill.
Observation: Tool output is analyzed.
Answer: The final response is generated.
Example:
Agent with 3 skills: convert_price
, get_cryptocurrency_info
, get_cryptocurrency_quotes_latest
.
User: “How much is 1 BTC in ETH, and what is BTC’s market cap today?”
The ReAct agent breaks it down:
Thought: “I need to get both the current price of BTC and convert it to ETH.”
Action:
get_cryptocurrency_quotes_latest
with symbol = BTCObservation: Output includes price and market cap
Action:
convert_price
from BTC to ETHObservation: BTC = 15.2 ETH
Thought: Now I can generate final response.
Answer: “1 BTC is approximately 15.2 ETH. The current market cap of BTC is $925B.”
This strategy is useful when the task involves deciding whether to use a tool, and which one to choose.
3. Planning Strategy
The Planning Strategy is the most advanced one, involving a three-model system that breaks down complex tasks into sequential subtasks, reasons through each one, and dynamically adapts if a tool fails or an output is unclear.
This makes it suitable for users who expect more than basic answers — they want agents that can actually think, adapt, and execute with accuracy.
This strategy is powered by GPT-o3-mini-high.
It uses multiple models to handle different roles:
LLM 1: Breaks the goal into subtasks (like a project manager)
LLM 2: Executes each subtask using tools (like a problem-solver)
LLM 3: Writes the final answer for the user
How Planning Strategy Works?
→ Step 1: User Query
User start by asking the AI a question or giving it a task.
→ Step 2: Plan Generation
The first AI model (LLM 1) creates a plan by breaking your query into multiple smaller tasks.
→ Step 3: Sub-Tasks
LLM 2 picks up each sub-task and decides:
What tool to use (e.g., web search, calculator, database, etc.)
How to use it
This part runs in a loop, where it tries tools, checks results, and repeats if needed.
Soon, this layer will be powered by our own fine-tuned GPT-4o Mini — a model specifically trained for advanced tool usage. It has already outperformed the base GPT-4o in internal benchmarks, with faster execution, better context retention, and higher accuracy when handling tool-based tasks.
→ Step 4: Output Evaluation
Now the system checks: Was the tool's result good enough?
If yes → the sub-task is marked complete. If no → it decides what to do next:
→ Step 5: What If the Tool Output Fails?
There are 3 options:
Try Another Tool – If another tool is available, use it.
Retry or Refine – Try again with the same tool but improve the input.
Change the Plan – If nothing works, go back and update the task or plan using either:
LLM 2 (refine sub-task)
LLM 1 (completely re-plan)
→ Step 6: Repeat
This loop continues until every small task is successfully completed.
→ Step 7: Final Output
Once all sub-tasks are done, LLM 3 combines all the results and creates a final, polished answer for the user.
Why Planning is Different? Unlike ReAct, which handles a few tools linearly, Planning Strategy:
Breaks a big query into smaller, manageable subtasks
Dynamically picks the right tools for each
Checks every tool output to ensure it's correct
If anything fails or looks wrong, it retries or replans
Merges all results into one clean, context-aware response
In nuthsell, the Planning Strategy runs a built-in feedback loop. After every tool execution, the system checks: Is this result correct? Is it complete? Does it move the task forward? If not, it loops back — either re-executing the tool with new input or calling the Planner to rework the strategy.
This makes the system highly self-correcting and capable of handling real-world complexity without getting stuck or silently failing.
💡Choosing the Right Strategy
Basic
Simple info retrieval
No
Yes
No
None
ReAct
Logic + one or two tools
Yes
Yes
Yes
Limited
Planning
Complex tasks with multiple tools
Yes (deep)
Yes (multiple)
Yes (automated loop)
Self-correcting
Difference between Skills and Strategy
Skills and Strategy are two separate but connected parts of how an AI agent functions.
Skills are the tools that let the agent perform specific actions — like converting crypto prices, scraping websites, or checking the stock market. For example, the convert_price
skill allows an agent to convert the value of 1 Bitcoin to USD or ETH.
But just having this skill doesn’t mean the agent knows when or how to use it — that’s where strategy comes in.
Strategy controls the thinking process. It tells the agent how to break down a task, whether or not to use a skill, which skill to choose, and what to do with the result.
So, if skills are what the agent can do, then strategy is how the agent decides what to do.
Let’s take an example. Suppose a user asks: "Tell me how much 1 BTC is worth in ETH, and give me the top 3 gainers in the stock market today."
The skills needed here might include convert_price
and get_current_gainer_stocks
.
The strategy will determine how the agent handles this. It will:
Understand that the user’s request involves two different tasks.
Use the
convert_price
skill to convert BTC to ETH.Then use
get_current_gainer_stocks
to fetch stock gainers.Finally, combine the results into one complete answer.
Without strategy, the agent wouldn't know how to split the request, run each tool in the right order, or merge the answers meaningfully. Skills do the execution. Strategy decides the steps. Both are necessary — but they play very different roles.
Last updated