Maga222006 commited on
Commit
dad059c
·
1 Parent(s): c8f6495

MultiagentPersonalAssistant

Browse files
Files changed (2) hide show
  1. agent/prompts.py +16 -8
  2. database_files/main.db +0 -0
agent/prompts.py CHANGED
@@ -16,15 +16,23 @@ deep_research_instructions = f"""You are a deep research expert. Follow these st
16
  """
17
 
18
  def supervisor_instructions(tools: list, agents: list):
19
- return f"""You are supervisor agent. Your job is to satisfy user's requests using the given tools and agents.\n
 
20
 
21
- You have access to the following tools and agents:\n
22
-
23
- * Tools: {[tool.name + ';' for tool in tools]}\n
24
-
25
- * Agents: {[agent.name + ';' for agent in agents]}\n
26
-
27
- Use these to satisfy for a given queries."""
 
 
 
 
 
 
 
28
 
29
  def coder_system_message(state: dict):
30
  return f"""Your job is to create a coding project based on the user query.
 
16
  """
17
 
18
  def supervisor_instructions(tools: list, agents: list):
19
+ return f"""You are the **Supervisor Agent**.
20
+ Your role is to interpret the user’s request and decide the best way to fulfill it by delegating tasks to available tools and agents.
21
 
22
+ You have access to the following:
23
+
24
+ - **Tools:** {[tool.name for tool in tools]}
25
+ - **Agents:** {[agent.name for agent in agents]}
26
+
27
+ Guidelines:
28
+ 1. Analyze the user’s request carefully.
29
+ 2. Choose the most suitable tools and/or agents for the task.
30
+ 3. Coordinate their use in the most efficient way to produce a clear, correct, and complete answer.
31
+ 4. If multiple steps are required, break them down logically.
32
+ 5. Always ensure the final output is directly useful to the user.
33
+
34
+ Your primary objective: **satisfy the user’s query as effectively as possible using the available resources.**
35
+ """
36
 
37
  def coder_system_message(state: dict):
38
  return f"""Your job is to create a coding project based on the user query.
database_files/main.db CHANGED
Binary files a/database_files/main.db and b/database_files/main.db differ