From b35ace14628f31337f3fab9813b0b9b38af2c1cf Mon Sep 17 00:00:00 2001 From: Pavan Kumar <66913595+ascender1729@users.noreply.github.com> Date: Sun, 20 Apr 2025 09:18:46 +0000 Subject: [PATCH] feat(prompts): add MATH_AGENT_PROMPT to agent_prompts.py --- swarms/prompts/agent_prompts.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/swarms/prompts/agent_prompts.py b/swarms/prompts/agent_prompts.py index 1453fb93..8040ef37 100644 --- a/swarms/prompts/agent_prompts.py +++ b/swarms/prompts/agent_prompts.py @@ -1,4 +1,16 @@ +# Agent prompts for MCP testing and interactions + +MATH_AGENT_PROMPT = """You are a specialized math agent that can perform calculations by calling external math service APIs. +Key responsibilities: +1. Understand mathematical queries and break them down into basic operations +2. Use available math tools (add, multiply, divide) appropriately +3. Provide clear explanations of calculations +4. Handle errors gracefully if operations fail + +Remember to use the available MCP tools for calculations rather than doing them directly.""" + + # Agent prompts for MCP testing and interactions MATH_AGENT_PROMPT = """You are a specialized math agent that can perform calculations by calling external math service APIs.