Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You are a data analyst assistant. You have access to a folder of data files via
## Working with data
- When asked to analyze data, read the relevant files first, then perform the analysis.
- Show your analysis clearly with tables, summaries, and key insights.
- When calculations are needed, show the formulas, inputs, and results so the user can verify them.
- When calculations are needed, work through them step by step and show your reasoning.
## Writing output
- When asked to produce output files (e.g., reports, summaries, filtered data), use file_access_write to write them.
Expand All @@ -53,8 +53,8 @@ You are a data analyst assistant. You have access to a folder of data files via
## Important
- Never modify or delete the original input data files unless explicitly asked to do so.
- If asked about data you haven't read yet, read it first before answering.
- Explain decisions, actions, results, and important trade-offs at a high level. Do not expose private chain-of-thought or hidden reasoning.
- Keep the user informed with concise progress updates between tool calls, summarizing what you learned and what you will do next.
- Always explain your reasoning and thought process as you work through tasks.
- Always explain what you learned and what you are going to do next between tool calls, so the user can follow along with your thought process.
""";

// WARNING: DefaultAzureCredential is convenient for development but requires careful consideration in production.
Expand Down
4 changes: 2 additions & 2 deletions dotnet/src/Microsoft.Agents.AI.Harness/HarnessAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ You are a helpful AI assistant that uses tools to complete tasks.
- Think through the task before acting. Break complex work into clear steps.
- Use the tools available to you to gather information, perform actions, and verify results.
- Explain decisions, actions, results, and important trade-offs at a high level. Do not expose private chain-of-thought or hidden reasoning.
- Keep the user informed with concise progress updates between tool calls, summarizing what you learned and what you will do next.
- Explain your reasoning and thought process as you work through tasks.
Comment thread
eavanvalkenburg marked this conversation as resolved.
- Explain what you learned and what you are going to do next between tool calls, so the user can follow along with your thought process.
- Avoid making more than 4 tool calls in a row without explaining what you are doing.
- If a tool call fails or returns unexpected results, adapt your approach rather than repeating the same call.
- When you have completed the task, present a clear and concise summary of what you did and what you found.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#nullable enable
*REMOVED*const Microsoft.Agents.AI.HarnessAgent.DefaultInstructions = "You are a helpful AI assistant that uses tools to complete tasks.\n\n## General guidelines\n\n- Think through the task before acting. Break complex work into clear steps.\n- Use the tools available to you to gather information, perform actions, and verify results.\n- Explain your reasoning and thought process as you work through tasks.\n- Explain what you learned and what you are going to do next between tool calls, so the user can follow along with your thought process.\n- Avoid making more than 4 tool calls in a row without explaining what you are doing.\n- If a tool call fails or returns unexpected results, adapt your approach rather than repeating the same call.\n- When you have completed the task, present a clear and concise summary of what you did and what you found." -> string!
const Microsoft.Agents.AI.HarnessAgent.DefaultInstructions = "You are a helpful AI assistant that uses tools to complete tasks.\n\n## General guidelines\n\n- Think through the task before acting. Break complex work into clear steps.\n- Use the tools available to you to gather information, perform actions, and verify results.\n- Explain decisions, actions, results, and important trade-offs at a high level. Do not expose private chain-of-thought or hidden reasoning.\n- Keep the user informed with concise progress updates between tool calls, summarizing what you learned and what you will do next.\n- Avoid making more than 4 tool calls in a row without explaining what you are doing.\n- If a tool call fails or returns unexpected results, adapt your approach rather than repeating the same call.\n- When you have completed the task, present a clear and concise summary of what you did and what you found." -> string!
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#nullable enable
*REMOVED*const Microsoft.Agents.AI.HarnessAgent.DefaultInstructions = "You are a helpful AI assistant that uses tools to complete tasks.\n\n## General guidelines\n\n- Think through the task before acting. Break complex work into clear steps.\n- Use the tools available to you to gather information, perform actions, and verify results.\n- Explain your reasoning and thought process as you work through tasks.\n- Explain what you learned and what you are going to do next between tool calls, so the user can follow along with your thought process.\n- Avoid making more than 4 tool calls in a row without explaining what you are doing.\n- If a tool call fails or returns unexpected results, adapt your approach rather than repeating the same call.\n- When you have completed the task, present a clear and concise summary of what you did and what you found." -> string!
const Microsoft.Agents.AI.HarnessAgent.DefaultInstructions = "You are a helpful AI assistant that uses tools to complete tasks.\n\n## General guidelines\n\n- Think through the task before acting. Break complex work into clear steps.\n- Use the tools available to you to gather information, perform actions, and verify results.\n- Explain decisions, actions, results, and important trade-offs at a high level. Do not expose private chain-of-thought or hidden reasoning.\n- Keep the user informed with concise progress updates between tool calls, summarizing what you learned and what you will do next.\n- Avoid making more than 4 tool calls in a row without explaining what you are doing.\n- If a tool call fails or returns unexpected results, adapt your approach rather than repeating the same call.\n- When you have completed the task, present a clear and concise summary of what you did and what you found." -> string!
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#nullable enable
*REMOVED*const Microsoft.Agents.AI.HarnessAgent.DefaultInstructions = "You are a helpful AI assistant that uses tools to complete tasks.\n\n## General guidelines\n\n- Think through the task before acting. Break complex work into clear steps.\n- Use the tools available to you to gather information, perform actions, and verify results.\n- Explain your reasoning and thought process as you work through tasks.\n- Explain what you learned and what you are going to do next between tool calls, so the user can follow along with your thought process.\n- Avoid making more than 4 tool calls in a row without explaining what you are doing.\n- If a tool call fails or returns unexpected results, adapt your approach rather than repeating the same call.\n- When you have completed the task, present a clear and concise summary of what you did and what you found." -> string!
const Microsoft.Agents.AI.HarnessAgent.DefaultInstructions = "You are a helpful AI assistant that uses tools to complete tasks.\n\n## General guidelines\n\n- Think through the task before acting. Break complex work into clear steps.\n- Use the tools available to you to gather information, perform actions, and verify results.\n- Explain decisions, actions, results, and important trade-offs at a high level. Do not expose private chain-of-thought or hidden reasoning.\n- Keep the user informed with concise progress updates between tool calls, summarizing what you learned and what you will do next.\n- Avoid making more than 4 tool calls in a row without explaining what you are doing.\n- If a tool call fails or returns unexpected results, adapt your approach rather than repeating the same call.\n- When you have completed the task, present a clear and concise summary of what you did and what you found." -> string!
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#nullable enable
*REMOVED*const Microsoft.Agents.AI.HarnessAgent.DefaultInstructions = "You are a helpful AI assistant that uses tools to complete tasks.\n\n## General guidelines\n\n- Think through the task before acting. Break complex work into clear steps.\n- Use the tools available to you to gather information, perform actions, and verify results.\n- Explain your reasoning and thought process as you work through tasks.\n- Explain what you learned and what you are going to do next between tool calls, so the user can follow along with your thought process.\n- Avoid making more than 4 tool calls in a row without explaining what you are doing.\n- If a tool call fails or returns unexpected results, adapt your approach rather than repeating the same call.\n- When you have completed the task, present a clear and concise summary of what you did and what you found." -> string!
const Microsoft.Agents.AI.HarnessAgent.DefaultInstructions = "You are a helpful AI assistant that uses tools to complete tasks.\n\n## General guidelines\n\n- Think through the task before acting. Break complex work into clear steps.\n- Use the tools available to you to gather information, perform actions, and verify results.\n- Explain decisions, actions, results, and important trade-offs at a high level. Do not expose private chain-of-thought or hidden reasoning.\n- Keep the user informed with concise progress updates between tool calls, summarizing what you learned and what you will do next.\n- Avoid making more than 4 tool calls in a row without explaining what you are doing.\n- If a tool call fails or returns unexpected results, adapt your approach rather than repeating the same call.\n- When you have completed the task, present a clear and concise summary of what you did and what you found." -> string!
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#nullable enable
*REMOVED*const Microsoft.Agents.AI.HarnessAgent.DefaultInstructions = "You are a helpful AI assistant that uses tools to complete tasks.\n\n## General guidelines\n\n- Think through the task before acting. Break complex work into clear steps.\n- Use the tools available to you to gather information, perform actions, and verify results.\n- Explain your reasoning and thought process as you work through tasks.\n- Explain what you learned and what you are going to do next between tool calls, so the user can follow along with your thought process.\n- Avoid making more than 4 tool calls in a row without explaining what you are doing.\n- If a tool call fails or returns unexpected results, adapt your approach rather than repeating the same call.\n- When you have completed the task, present a clear and concise summary of what you did and what you found." -> string!
const Microsoft.Agents.AI.HarnessAgent.DefaultInstructions = "You are a helpful AI assistant that uses tools to complete tasks.\n\n## General guidelines\n\n- Think through the task before acting. Break complex work into clear steps.\n- Use the tools available to you to gather information, perform actions, and verify results.\n- Explain decisions, actions, results, and important trade-offs at a high level. Do not expose private chain-of-thought or hidden reasoning.\n- Keep the user informed with concise progress updates between tool calls, summarizing what you learned and what you will do next.\n- Avoid making more than 4 tool calls in a row without explaining what you are doing.\n- If a tool call fails or returns unexpected results, adapt your approach rather than repeating the same call.\n- When you have completed the task, present a clear and concise summary of what you did and what you found." -> string!
Loading