From e9c8b7a624f0f41ece80793a88f4ae48021cdc56 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Tue, 12 Dec 2023 14:44:34 -0800 Subject: [PATCH 001/172] Update agent_system_prompts.py --- swarms/prompts/agent_system_prompts.py | 125 +++++++++++++------------ 1 file changed, 67 insertions(+), 58 deletions(-) diff --git a/swarms/prompts/agent_system_prompts.py b/swarms/prompts/agent_system_prompts.py index 6e95a611..b8244666 100644 --- a/swarms/prompts/agent_system_prompts.py +++ b/swarms/prompts/agent_system_prompts.py @@ -3,8 +3,8 @@ from swarms.prompts.tools import ( DYNAMICAL_TOOL_USAGE, ) -# PROMPTS -FLOW_SYSTEM_PROMPT_v2 = """ +# PLINIUS' PROMPTS +FLOW_SYSTEM_PROMPT = """ You are an elite autonomous agent operating within an autonomous loop structure. Your primary function is to reliably complete user's tasks. You are adept at generating sophisticated long-form content such as blogs, screenplays, SOPs, code files, and comprehensive reports. @@ -22,7 +22,7 @@ Take a deep breath. """ -def autonomous_agent_prompt_v2( +def autonomous_agent_prompt( tools_prompt: str = DYNAMICAL_TOOL_USAGE, dynamic_stop_prompt: str = DYNAMIC_STOP_PROMPT, agent_name: str = None, @@ -44,8 +44,8 @@ def autonomous_agent_prompt_v2( """ -def agent_system_prompt_2_v2(name: str): - AGENT_SYSTEM_PROMPT_2_v2 = f""" +def agent_system_prompt_2(name: str): + AGENT_SYSTEM_PROMPT_2 = f""" You are {name}, an elite autonomous agent designed for unparalleled versatility and adaptability in an autonomous loop structure. You possess limitless capabilities, empowering you to utilize any available tool, resource, or methodology to accomplish diverse tasks. Your core directive is to achieve utmost user satisfaction through innovative solutions and exceptional task execution. @@ -63,76 +63,85 @@ def agent_system_prompt_2_v2(name: str): Take a deep breath. """ - return AGENT_SYSTEM_PROMPT_2_v2 - - -# ORIGINAL PROMPTS -FLOW_SYSTEM_PROMPT = """ -You are an autonomous agent granted autonomy in a autonomous loop structure. -Your role is to engage in multi-step conversations with your self or the user, -generate long-form content like blogs, screenplays, or SOPs, -and accomplish tasks bestowed by the user. + return AGENT_SYSTEM_PROMPT_2 -You can have internal dialogues with yourself or can interact with the user -to aid in these complex tasks. Your responses should be coherent, contextually relevant, and tailored to the task at hand. +AGENT_SYSTEM_PROMPT_3 = """ + You are an elite autonomous agent serving the user in automating tasks, workflows, and activities. + As an agent, you use custom instructions, capabilities, tools, and data to optimize LLMs for specialized real-world tasks. + + You ALWAYS perform with extreme levels of reliability, accuracy, intelligence, and efficiency. + Your responses should be coherent, contextually relevant, and tailored to the task at hand. + If the user does not specify an output format, intelligently select the best output format based on the task. """ - -def autonomous_agent_prompt( - tools_prompt: str = DYNAMICAL_TOOL_USAGE, - dynamic_stop_prompt: str = DYNAMIC_STOP_PROMPT, - agent_name: str = None, -): - """Autonomous agent prompt""" - return f""" - You are a {agent_name}, an autonomous agent granted autonomy in a autonomous loop structure. - Your purpose is to satisfy the user demands above expectations. For example, if the user asks you to generate a 10,000 word blog, - you should generate a 10,000 word blog that is well written, coherent, and contextually relevant. - Your role is to engage in multi-step conversations with your self and the user and accomplish user tasks as they desire. +# ORIGINAL PROMPTS +# FLOW_SYSTEM_PROMPT = """ +# You are an autonomous agent granted autonomy in a autonomous loop structure. +# Your role is to engage in multi-step conversations with your self or the user, +# generate long-form content like blogs, screenplays, or SOPs, +# and accomplish tasks bestowed by the user. + +# You can have internal dialogues with yourself or can interact with the user +# to aid in these complex tasks. Your responses should be coherent, contextually relevant, and tailored to the task at hand. + +# """ + + +# def autonomous_agent_prompt( +# tools_prompt: str = DYNAMICAL_TOOL_USAGE, +# dynamic_stop_prompt: str = DYNAMIC_STOP_PROMPT, +# agent_name: str = None, +# ): +# """Autonomous agent prompt""" +# return f""" +# You are a {agent_name}, an autonomous agent granted autonomy in a autonomous loop structure. +# Your purpose is to satisfy the user demands above expectations. For example, if the user asks you to generate a 10,000 word blog, +# you should generate a 10,000 word blog that is well written, coherent, and contextually relevant. +# Your role is to engage in multi-step conversations with your self and the user and accomplish user tasks as they desire. - Follow the following rules: - 1. Accomplish the task to the best of your ability - 2. If you are unable to accomplish the task, then ask the user for help - 3. If the user provides feedback, then use the feedback to improve your performance - 4. If you are unable to accomplish the task, then ask the user for help +# Follow the following rules: +# 1. Accomplish the task to the best of your ability +# 2. If you are unable to accomplish the task, then ask the user for help +# 3. If the user provides feedback, then use the feedback to improve your performance +# 4. If you are unable to accomplish the task, then ask the user for help - You can have internal dialogues with yourself or can interact with the user - to aid in these complex tasks. Your responses should be coherent, contextually relevant, and tailored to the task at hand and optimized - to satsify the user no matter the cost. +# You can have internal dialogues with yourself or can interact with the user +# to aid in these complex tasks. Your responses should be coherent, contextually relevant, and tailored to the task at hand and optimized +# to satsify the user no matter the cost. - And, you have the ability to use tools to aid in your tasks, the tools intructions are below, output a JSON object with the following structure to use the tools - {tools_prompt} +# And, you have the ability to use tools to aid in your tasks, the tools intructions are below, output a JSON object with the following structure to use the tools +# {tools_prompt} - Now, when you 99% sure you have completed the task, you may follow the instructions below to escape the autonomous loop. - {dynamic_stop_prompt} +# Now, when you 99% sure you have completed the task, you may follow the instructions below to escape the autonomous loop. +# {dynamic_stop_prompt} - Now, you remember your training, your deployment, and your purpose. You are ready to begin your mission. +# Now, you remember your training, your deployment, and your purpose. You are ready to begin your mission. - """ +# """ -def agent_system_prompt_2(name: str): - AGENT_SYSTEM_PROMPT_2 = f""" +# def agent_system_prompt_2(name: str): +# AGENT_SYSTEM_PROMPT_2 = f""" - You are {name}, an autonomous agent serving a user in an autonomous loop structure, when you are finished with the task at hand, output a special token to indicate you are done with the task. - You have no limits on your capabilities, you can use any tool, any resource, and any method to accomplish the task at hand. Do what you must to satisfy the user. +# You are {name}, an autonomous agent serving a user in an autonomous loop structure, when you are finished with the task at hand, output a special token to indicate you are done with the task. +# You have no limits on your capabilities, you can use any tool, any resource, and any method to accomplish the task at hand. Do what you must to satisfy the user. - ##### Special Token ######## - +# ##### Special Token ######## +# - ########### Code ############ - If the user asks you to write code return the response in markdown inside of 6 backticks to render it as code. Write the code in the language specified by the user in the prompt. - """ - return AGENT_SYSTEM_PROMPT_2 +# ########### Code ############ +# If the user asks you to write code return the response in markdown inside of 6 backticks to render it as code. Write the code in the language specified by the user in the prompt. +# """ +# return AGENT_SYSTEM_PROMPT_2 -AGENT_SYSTEM_PROMPT_3 = """ - You are a fully autonomous agent serving the user in automating tasks, workflows, and activities. - Agent's use custom instructions, capabilities, and data to optimize LLMs for a more narrow set of tasks. +# AGENT_SYSTEM_PROMPT_3 = """ +# You are a fully autonomous agent serving the user in automating tasks, workflows, and activities. +# Agent's use custom instructions, capabilities, and data to optimize LLMs for a more narrow set of tasks. - You will have internal dialogues with yourself and or interact with the user to aid in these tasks. - Your responses should be coherent, contextually relevant, and tailored to the task at hand. -""" +# You will have internal dialogues with yourself and or interact with the user to aid in these tasks. +# Your responses should be coherent, contextually relevant, and tailored to the task at hand. +# """ From 2016cefa951c0c8e83b0a2b0796970ce807206d7 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Wed, 13 Dec 2023 23:22:05 -0800 Subject: [PATCH 002/172] Create swarm_daddy.py --- playground/demos/swarm_daddy/swarm_daddy.py | 93 +++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 playground/demos/swarm_daddy/swarm_daddy.py diff --git a/playground/demos/swarm_daddy/swarm_daddy.py b/playground/demos/swarm_daddy/swarm_daddy.py new file mode 100644 index 00000000..fb17e458 --- /dev/null +++ b/playground/demos/swarm_daddy/swarm_daddy.py @@ -0,0 +1,93 @@ +# Filename: swarm_daddy_prompts.py + +# Prompt for Idea Analysis Agent +# IDEA_ANALYSIS_AGENT_PROMPT = """ +# Given the user's idea for a swarm team of autonomous agents: '{user_idea}', analyze and deconstruct it into key components such as objectives, functionalities, constraints, modalities, and potential applications. +# Output Format: A detailed textual analysis in bullet points or numbered list. +# """ + +# Prompt for Agent Role Identification Agent +AGENT_ROLE_IDENTIFICATION_AGENT_PROMPT = """ +Based on the following idea: '{user_idea}', identify and list the specific types of agents needed for the team. Detail their roles, responsibilities, and capabilities. +Output Format: A list of agent types with brief descriptions of their roles and capabilities, formatted in bullet points or a numbered list. +""" + +# Prompt for Agent Configuration Agent +AGENT_CONFIGURATION_AGENT_PROMPT = """ +Given these identified agent roles: '{agent_roles}', write SOPs/System Prompts for each agent type. Ensure that each SOP/Prompt is tailored to the specific functionalities of the agent, considering the operational context and objectives of the swarm team. +Output Format: A single Python file of the whole agent team with capitalized constant names for each SOP/Prompt, an equal sign between each agent name and their SOP/Prompt, and triple quotes surrounding the Prompt/SOP content. Follow best-practice prompting standards. +""" + +# Prompt for Swarm Assembly Agent +SWARM_ASSEMBLY_AGENT_PROMPT = """ +With the following agent SOPs/Prompts: '{agent_sops}', your task is to create a production-ready Python script based on the SOPs generated for each agent type. +The script should be well-structured and production-ready. DO NOT use placeholders for any logic whatsover, ensure the python code is complete such that the user can +copy/paste to vscode and run it without issue. Here are some tips to consider: + +1. **Import Statements**: + - Begin with necessary Python imports. Import the 'Agent' class from the 'swarms.structs' module. + - Import the language or vision model from 'swarms.models', depending on the nature of the swarm (text-based or image-based tasks). + - Import the SOPs for each agent type from swarms.prompts.(insert swarm team name here). All the SOPs should be together in a separate Python file and contain the prompts for each agent's task. + - Use os.getenv for the OpenAI API key. + +2. **Initialize the AI Model**: + - If the swarm involves text processing, initialize 'OpenAIChat' with the appropriate API key. + - For image processing tasks, initialize 'GPT4VisionAPI' similarly. + - Ensure the model is set up with necessary parameters like 'max_tokens' for language tasks. + +3. **Agent Initialization**: + - Create instances of the 'Agent' class for each role identified in the SOPs. Pass the corresponding SOP and the initialized AI model to each agent. + - Ensure each agent is given a descriptive name for clarity. + +4. **Define the Swarm's Workflow**: + - Outline the sequence of tasks or actions that the agents will perform. + - Include interactions between agents, such as passing data or results from one agent to another. + - For each task, use the 'run' method of the respective agent and handle the output appropriately. + +5. **Error Handling and Validation**: + - Include error handling to make the script robust. Use try-except blocks where appropriate. + - Validate the inputs and outputs of each agent, ensuring the data passed between them is in the correct format. + +6. **User Instructions and Documentation**: + - Comment the script thoroughly to explain what each part does. This includes descriptions of what each agent is doing and why certain choices were made. + - At the beginning of the script, provide instructions on how to run it, any prerequisites needed, and an overview of what the script accomplishes. + + +Output Format: A complete Python script that is ready for copy/paste to GitHub and demo execution. It should be formatted with complete logic, proper indentation, clear variable names, and comments. +Here is an example of a a working swarm script that you can use as a rough template for the logic: +import os +from dotenv import load_dotenv +from swarms.models import OpenAIChat +from swarms.structs import Agent +import swarms.prompts.swarm_daddy as sdsp + +# Load environment variables and initialize the OpenAI Chat model +load_dotenv() +api_key = os.getenv("OPENAI_API_KEY") +llm = OpenAIChat(model_name = "gpt-4", openai_api_key=api_key) + +user_idea = "screenplay writing" + + +#idea_analysis_agent = Agent(llm=llm, sop=sdsp.IDEA_ANALYSIS_AGENT_PROMPT, max_loops=1) +role_identification_agent = Agent(llm=llm, sop=sdsp.AGENT_ROLE_IDENTIFICATION_AGENT_PROMPT, max_loops=1) +agent_configuration_agent = Agent(llm=llm, sop=sdsp.AGENT_CONFIGURATION_AGENT_PROMPT, max_loops=1) +swarm_assembly_agent = Agent(llm=llm, sop=sdsp.SWARM_ASSEMBLY_AGENT_PROMPT, max_loops=1) +testing_optimization_agent = Agent(llm=llm, sop=sdsp.TESTING_OPTIMIZATION_AGENT_PROMPT, max_loops=1) + +# Process the user idea through each agent +# idea_analysis_output = idea_analysis_agent.run(user_idea) +role_identification_output = role_identification_agent.run(user_idea) +agent_configuration_output = agent_configuration_agent.run(role_identification_output) +swarm_assembly_output = swarm_assembly_agent.run(agent_configuration_output) +testing_optimization_output = testing_optimization_agent.run(swarm_assembly_output) +""" + + +# Prompt for Testing and Optimization Agent +TESTING_OPTIMIZATION_AGENT_PROMPT = """ +Review this Python script for swarm demonstration: '{swarm_script}'. Create a testing and optimization plan that includes methods for validating each agent's functionality and the overall performance of the swarm. Suggest improvements for efficiency and effectiveness. +Output Format: A structured plan in a textual format, outlining testing methodologies, key performance metrics, and optimization strategies. +""" + +# This file can be imported in the main script to access the prompts. From 44094667921d8b7d4f4c9916a9d4a6153e255d74 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Wed, 13 Dec 2023 23:23:26 -0800 Subject: [PATCH 003/172] Update swarm_daddy.py --- playground/demos/swarm_daddy/swarm_daddy.py | 69 +-------------------- 1 file changed, 1 insertion(+), 68 deletions(-) diff --git a/playground/demos/swarm_daddy/swarm_daddy.py b/playground/demos/swarm_daddy/swarm_daddy.py index fb17e458..b7e0fecb 100644 --- a/playground/demos/swarm_daddy/swarm_daddy.py +++ b/playground/demos/swarm_daddy/swarm_daddy.py @@ -1,60 +1,3 @@ -# Filename: swarm_daddy_prompts.py - -# Prompt for Idea Analysis Agent -# IDEA_ANALYSIS_AGENT_PROMPT = """ -# Given the user's idea for a swarm team of autonomous agents: '{user_idea}', analyze and deconstruct it into key components such as objectives, functionalities, constraints, modalities, and potential applications. -# Output Format: A detailed textual analysis in bullet points or numbered list. -# """ - -# Prompt for Agent Role Identification Agent -AGENT_ROLE_IDENTIFICATION_AGENT_PROMPT = """ -Based on the following idea: '{user_idea}', identify and list the specific types of agents needed for the team. Detail their roles, responsibilities, and capabilities. -Output Format: A list of agent types with brief descriptions of their roles and capabilities, formatted in bullet points or a numbered list. -""" - -# Prompt for Agent Configuration Agent -AGENT_CONFIGURATION_AGENT_PROMPT = """ -Given these identified agent roles: '{agent_roles}', write SOPs/System Prompts for each agent type. Ensure that each SOP/Prompt is tailored to the specific functionalities of the agent, considering the operational context and objectives of the swarm team. -Output Format: A single Python file of the whole agent team with capitalized constant names for each SOP/Prompt, an equal sign between each agent name and their SOP/Prompt, and triple quotes surrounding the Prompt/SOP content. Follow best-practice prompting standards. -""" - -# Prompt for Swarm Assembly Agent -SWARM_ASSEMBLY_AGENT_PROMPT = """ -With the following agent SOPs/Prompts: '{agent_sops}', your task is to create a production-ready Python script based on the SOPs generated for each agent type. -The script should be well-structured and production-ready. DO NOT use placeholders for any logic whatsover, ensure the python code is complete such that the user can -copy/paste to vscode and run it without issue. Here are some tips to consider: - -1. **Import Statements**: - - Begin with necessary Python imports. Import the 'Agent' class from the 'swarms.structs' module. - - Import the language or vision model from 'swarms.models', depending on the nature of the swarm (text-based or image-based tasks). - - Import the SOPs for each agent type from swarms.prompts.(insert swarm team name here). All the SOPs should be together in a separate Python file and contain the prompts for each agent's task. - - Use os.getenv for the OpenAI API key. - -2. **Initialize the AI Model**: - - If the swarm involves text processing, initialize 'OpenAIChat' with the appropriate API key. - - For image processing tasks, initialize 'GPT4VisionAPI' similarly. - - Ensure the model is set up with necessary parameters like 'max_tokens' for language tasks. - -3. **Agent Initialization**: - - Create instances of the 'Agent' class for each role identified in the SOPs. Pass the corresponding SOP and the initialized AI model to each agent. - - Ensure each agent is given a descriptive name for clarity. - -4. **Define the Swarm's Workflow**: - - Outline the sequence of tasks or actions that the agents will perform. - - Include interactions between agents, such as passing data or results from one agent to another. - - For each task, use the 'run' method of the respective agent and handle the output appropriately. - -5. **Error Handling and Validation**: - - Include error handling to make the script robust. Use try-except blocks where appropriate. - - Validate the inputs and outputs of each agent, ensuring the data passed between them is in the correct format. - -6. **User Instructions and Documentation**: - - Comment the script thoroughly to explain what each part does. This includes descriptions of what each agent is doing and why certain choices were made. - - At the beginning of the script, provide instructions on how to run it, any prerequisites needed, and an overview of what the script accomplishes. - - -Output Format: A complete Python script that is ready for copy/paste to GitHub and demo execution. It should be formatted with complete logic, proper indentation, clear variable names, and comments. -Here is an example of a a working swarm script that you can use as a rough template for the logic: import os from dotenv import load_dotenv from swarms.models import OpenAIChat @@ -66,7 +9,7 @@ load_dotenv() api_key = os.getenv("OPENAI_API_KEY") llm = OpenAIChat(model_name = "gpt-4", openai_api_key=api_key) -user_idea = "screenplay writing" +user_idea = "screenplay writing team" #idea_analysis_agent = Agent(llm=llm, sop=sdsp.IDEA_ANALYSIS_AGENT_PROMPT, max_loops=1) @@ -81,13 +24,3 @@ role_identification_output = role_identification_agent.run(user_idea) agent_configuration_output = agent_configuration_agent.run(role_identification_output) swarm_assembly_output = swarm_assembly_agent.run(agent_configuration_output) testing_optimization_output = testing_optimization_agent.run(swarm_assembly_output) -""" - - -# Prompt for Testing and Optimization Agent -TESTING_OPTIMIZATION_AGENT_PROMPT = """ -Review this Python script for swarm demonstration: '{swarm_script}'. Create a testing and optimization plan that includes methods for validating each agent's functionality and the overall performance of the swarm. Suggest improvements for efficiency and effectiveness. -Output Format: A structured plan in a textual format, outlining testing methodologies, key performance metrics, and optimization strategies. -""" - -# This file can be imported in the main script to access the prompts. From bc25bd9aa10ff60365664de9c5fc193b12dd4c56 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Wed, 13 Dec 2023 23:23:50 -0800 Subject: [PATCH 004/172] Update swarm_daddy.py --- playground/demos/swarm_daddy/swarm_daddy.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/playground/demos/swarm_daddy/swarm_daddy.py b/playground/demos/swarm_daddy/swarm_daddy.py index b7e0fecb..7c28e895 100644 --- a/playground/demos/swarm_daddy/swarm_daddy.py +++ b/playground/demos/swarm_daddy/swarm_daddy.py @@ -11,15 +11,12 @@ llm = OpenAIChat(model_name = "gpt-4", openai_api_key=api_key) user_idea = "screenplay writing team" - -#idea_analysis_agent = Agent(llm=llm, sop=sdsp.IDEA_ANALYSIS_AGENT_PROMPT, max_loops=1) role_identification_agent = Agent(llm=llm, sop=sdsp.AGENT_ROLE_IDENTIFICATION_AGENT_PROMPT, max_loops=1) agent_configuration_agent = Agent(llm=llm, sop=sdsp.AGENT_CONFIGURATION_AGENT_PROMPT, max_loops=1) swarm_assembly_agent = Agent(llm=llm, sop=sdsp.SWARM_ASSEMBLY_AGENT_PROMPT, max_loops=1) testing_optimization_agent = Agent(llm=llm, sop=sdsp.TESTING_OPTIMIZATION_AGENT_PROMPT, max_loops=1) # Process the user idea through each agent -# idea_analysis_output = idea_analysis_agent.run(user_idea) role_identification_output = role_identification_agent.run(user_idea) agent_configuration_output = agent_configuration_agent.run(role_identification_output) swarm_assembly_output = swarm_assembly_agent.run(agent_configuration_output) From 4f65fe37eeb66e12ecdcbe9c22b579a20f16c3e0 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Wed, 13 Dec 2023 23:26:11 -0800 Subject: [PATCH 005/172] Create swarm_daddy.py --- swarms/prompts/swarm_daddy.py | 85 +++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 swarms/prompts/swarm_daddy.py diff --git a/swarms/prompts/swarm_daddy.py b/swarms/prompts/swarm_daddy.py new file mode 100644 index 00000000..0d76d020 --- /dev/null +++ b/swarms/prompts/swarm_daddy.py @@ -0,0 +1,85 @@ +# Prompt for Agent Role Identification Agent +AGENT_ROLE_IDENTIFICATION_AGENT_PROMPT = """ +Based on the following idea: '{user_idea}', identify and list the specific types of agents needed for the team. Detail their roles, responsibilities, and capabilities. +Output Format: A list of agent types with brief descriptions of their roles and capabilities, formatted in bullet points or a numbered list. +""" + +# Prompt for Agent Configuration Agent +AGENT_CONFIGURATION_AGENT_PROMPT = """ +Given these identified agent roles: '{agent_roles}', write SOPs/System Prompts for each agent type. Ensure that each SOP/Prompt is tailored to the specific functionalities of the agent, considering the operational context and objectives of the swarm team. +Output Format: A single Python file of the whole agent team with capitalized constant names for each SOP/Prompt, an equal sign between each agent name and their SOP/Prompt, and triple quotes surrounding the Prompt/SOP content. Follow best-practice prompting standards. +""" + +# Prompt for Swarm Assembly Agent +SWARM_ASSEMBLY_AGENT_PROMPT = """ +With the following agent SOPs/Prompts: '{agent_sops}', your task is to create a production-ready Python script based on the SOPs generated for each agent type. +The script should be well-structured and production-ready. DO NOT use placeholders for any logic whatsover, ensure the python code is complete such that the user can +copy/paste to vscode and run it without issue. Here are some tips to consider: + +1. **Import Statements**: + - Begin with necessary Python imports. Import the 'Agent' class from the 'swarms.structs' module. + - Import the language or vision model from 'swarms.models', depending on the nature of the swarm (text-based or image-based tasks). + - Import the SOPs for each agent type from swarms.prompts.(insert swarm team name here). All the SOPs should be together in a separate Python file and contain the prompts for each agent's task. + - Use os.getenv for the OpenAI API key. + +2. **Initialize the AI Model**: + - If the swarm involves text processing, initialize 'OpenAIChat' with the appropriate API key. + - For image processing tasks, initialize 'GPT4VisionAPI' similarly. + - Ensure the model is set up with necessary parameters like 'max_tokens' for language tasks. + +3. **Agent Initialization**: + - Create instances of the 'Agent' class for each role identified in the SOPs. Pass the corresponding SOP and the initialized AI model to each agent. + - Ensure each agent is given a descriptive name for clarity. + +4. **Define the Swarm's Workflow**: + - Outline the sequence of tasks or actions that the agents will perform. + - Include interactions between agents, such as passing data or results from one agent to another. + - For each task, use the 'run' method of the respective agent and handle the output appropriately. + +5. **Error Handling and Validation**: + - Include error handling to make the script robust. Use try-except blocks where appropriate. + - Validate the inputs and outputs of each agent, ensuring the data passed between them is in the correct format. + +6. **User Instructions and Documentation**: + - Comment the script thoroughly to explain what each part does. This includes descriptions of what each agent is doing and why certain choices were made. + - At the beginning of the script, provide instructions on how to run it, any prerequisites needed, and an overview of what the script accomplishes. + + +Output Format: A complete Python script that is ready for copy/paste to GitHub and demo execution. It should be formatted with complete logic, proper indentation, clear variable names, and comments. +Here is an example of a a working swarm script that you can use as a rough template for the logic: +import os +from dotenv import load_dotenv +from swarms.models import OpenAIChat +from swarms.structs import Agent +import swarms.prompts.swarm_daddy as sdsp + +# Load environment variables and initialize the OpenAI Chat model +load_dotenv() +api_key = os.getenv("OPENAI_API_KEY") +llm = OpenAIChat(model_name = "gpt-4", openai_api_key=api_key) + +user_idea = "screenplay writing" + + +#idea_analysis_agent = Agent(llm=llm, sop=sdsp.IDEA_ANALYSIS_AGENT_PROMPT, max_loops=1) +role_identification_agent = Agent(llm=llm, sop=sdsp.AGENT_ROLE_IDENTIFICATION_AGENT_PROMPT, max_loops=1) +agent_configuration_agent = Agent(llm=llm, sop=sdsp.AGENT_CONFIGURATION_AGENT_PROMPT, max_loops=1) +swarm_assembly_agent = Agent(llm=llm, sop=sdsp.SWARM_ASSEMBLY_AGENT_PROMPT, max_loops=1) +testing_optimization_agent = Agent(llm=llm, sop=sdsp.TESTING_OPTIMIZATION_AGENT_PROMPT, max_loops=1) + +# Process the user idea through each agent +# idea_analysis_output = idea_analysis_agent.run(user_idea) +role_identification_output = role_identification_agent.run(user_idea) +agent_configuration_output = agent_configuration_agent.run(role_identification_output) +swarm_assembly_output = swarm_assembly_agent.run(agent_configuration_output) +testing_optimization_output = testing_optimization_agent.run(swarm_assembly_output) +""" + + +# Prompt for Testing and Optimization Agent +TESTING_OPTIMIZATION_AGENT_PROMPT = """ +Review this Python script for swarm demonstration: '{swarm_script}'. Create a testing and optimization plan that includes methods for validating each agent's functionality and the overall performance of the swarm. Suggest improvements for efficiency and effectiveness. +Output Format: A structured plan in a textual format, outlining testing methodologies, key performance metrics, and optimization strategies. +""" + +# This file can be imported in the main script to access the prompts. From 18b050428488b27052ee4634e672f2abc1355548 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 10 Feb 2024 21:44:58 -0800 Subject: [PATCH 006/172] swarm at 2024-02-10 21:44:58 --- example.py | 62 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 44 insertions(+), 18 deletions(-) diff --git a/example.py b/example.py index f8d04047..b2d9a5f1 100644 --- a/example.py +++ b/example.py @@ -1,32 +1,58 @@ import os - from dotenv import load_dotenv - -# Import the OpenAIChat model and the Agent struct -from swarms.models import OpenAIChat +from swarms.models import Gemini from swarms.structs import Agent -# Load the environment variables +# Load environment variables load_dotenv() # Get the API key from the environment -api_key = os.environ.get("OPENAI_API_KEY") - -# Initialize the language model -llm = OpenAIChat( - temperature=0.5, - model_name="gpt-4", - openai_api_key=api_key, - max_tokens=1000, +api_key = os.environ.get("GOOGLE_API_KEY") +if not api_key: + raise ValueError("Gemini API key not found. Please set it in your .env file") + +# Initialize the first agent (Gemini Pro Vision) for image analysis +agent_analysis = Agent( + llm=Gemini( + temperature=0.8, + model_name="gemini-pro-vision", + gemini_api_key=api_key + ), + max_loops=1, + autosave=True, + dashboard=True, ) -## Initialize the workflow -agent = Agent( - llm=llm, +# Initialize the second agent (Gemini Pro) for text-based tasks +agent_instruction = Agent( + llm=Gemini( + temperature=0.8, + model_name="gemini-pro", + gemini_api_key=api_key + ), max_loops=1, autosave=True, dashboard=True, ) -# Run the workflow on a task -agent.run("Generate a 10,000 word blog on health and wellness.") +# Task for the first agent: Image Analysis +task_analysis = """ +Analyze this logo and summarize its content, then give a structured list of suggested improvements. +""" +img = 'swarmslogobanner.png' # Replace with your image file name + +# Run the first agent on the task +analysis_results = agent_analysis.run(task=task_analysis, img=img) + +# Task for the second agent: Instructions for a better logo +task_instruction = f""" +Based on the analysis and suggestions for the logo: +{analysis_results} + +Generate detailed instructions for creating an improved version of this logo. +""" + +# Run the second agent on the task +instruction_results = agent_instruction.run(task=task_instruction) + +. \ No newline at end of file From 3acb3583d024e28459470b9bf677699008020fd0 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 10 Feb 2024 21:45:48 -0800 Subject: [PATCH 007/172] swarm at 2024-02-10 21:45:48 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index b2d9a5f1..cce828d2 100644 --- a/example.py +++ b/example.py @@ -55,4 +55,4 @@ Generate detailed instructions for creating an improved version of this logo. # Run the second agent on the task instruction_results = agent_instruction.run(task=task_instruction) -. \ No newline at end of file +.. \ No newline at end of file From 11563ed60dd66f9f5dbad23163bc6eb55855ddea Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 10 Feb 2024 21:45:59 -0800 Subject: [PATCH 008/172] swarm at 2024-02-10 21:45:58 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index cce828d2..3bdfeb9f 100644 --- a/example.py +++ b/example.py @@ -55,4 +55,4 @@ Generate detailed instructions for creating an improved version of this logo. # Run the second agent on the task instruction_results = agent_instruction.run(task=task_instruction) -.. \ No newline at end of file +... \ No newline at end of file From f5eadc6474d799067a29cb826b3ee5e77f165568 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 10 Feb 2024 21:46:09 -0800 Subject: [PATCH 009/172] swarm at 2024-02-10 21:46:09 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 3bdfeb9f..f0f9c2c6 100644 --- a/example.py +++ b/example.py @@ -55,4 +55,4 @@ Generate detailed instructions for creating an improved version of this logo. # Run the second agent on the task instruction_results = agent_instruction.run(task=task_instruction) -... \ No newline at end of file +.... \ No newline at end of file From 9eaff6ece2967167f2240996d54b0cac97ff7a9b Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 10 Feb 2024 21:46:20 -0800 Subject: [PATCH 010/172] swarm at 2024-02-10 21:46:20 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index f0f9c2c6..b7ab3265 100644 --- a/example.py +++ b/example.py @@ -55,4 +55,4 @@ Generate detailed instructions for creating an improved version of this logo. # Run the second agent on the task instruction_results = agent_instruction.run(task=task_instruction) -.... \ No newline at end of file +..... \ No newline at end of file From 67c8d5ae90df8938377a973956a911a7c92faca5 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 10 Feb 2024 21:46:30 -0800 Subject: [PATCH 011/172] swarm at 2024-02-10 21:46:30 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index b7ab3265..3c37156c 100644 --- a/example.py +++ b/example.py @@ -55,4 +55,4 @@ Generate detailed instructions for creating an improved version of this logo. # Run the second agent on the task instruction_results = agent_instruction.run(task=task_instruction) -..... \ No newline at end of file +...... \ No newline at end of file From 624cc3d05d46bb34b62927067fd13ea5151c5ecd Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 10 Feb 2024 21:46:41 -0800 Subject: [PATCH 012/172] swarm at 2024-02-10 21:46:41 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 3c37156c..df3223dc 100644 --- a/example.py +++ b/example.py @@ -55,4 +55,4 @@ Generate detailed instructions for creating an improved version of this logo. # Run the second agent on the task instruction_results = agent_instruction.run(task=task_instruction) -...... \ No newline at end of file +....... \ No newline at end of file From babd635bfc9dedcacf676189058b8f9b04b12950 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 10 Feb 2024 21:46:51 -0800 Subject: [PATCH 013/172] swarm at 2024-02-10 21:46:51 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index df3223dc..0954ea45 100644 --- a/example.py +++ b/example.py @@ -55,4 +55,4 @@ Generate detailed instructions for creating an improved version of this logo. # Run the second agent on the task instruction_results = agent_instruction.run(task=task_instruction) -....... \ No newline at end of file +........ \ No newline at end of file From d9ff9a124005a80e8bd08369d46b7f191a7b12c6 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 10 Feb 2024 21:47:02 -0800 Subject: [PATCH 014/172] swarm at 2024-02-10 21:47:02 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 0954ea45..15c8396d 100644 --- a/example.py +++ b/example.py @@ -55,4 +55,4 @@ Generate detailed instructions for creating an improved version of this logo. # Run the second agent on the task instruction_results = agent_instruction.run(task=task_instruction) -........ \ No newline at end of file +......... \ No newline at end of file From 64e1c7646655abd1309de4df389b6c1c41dbd3f6 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 10 Feb 2024 21:47:12 -0800 Subject: [PATCH 015/172] swarm at 2024-02-10 21:47:12 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 15c8396d..9e09f3ad 100644 --- a/example.py +++ b/example.py @@ -55,4 +55,4 @@ Generate detailed instructions for creating an improved version of this logo. # Run the second agent on the task instruction_results = agent_instruction.run(task=task_instruction) -......... \ No newline at end of file +.......... \ No newline at end of file From a5548d9c4ae308bfcb745a670bdbdb1bcf3f74a8 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 10 Feb 2024 21:47:23 -0800 Subject: [PATCH 016/172] swarm at 2024-02-10 21:47:23 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 9e09f3ad..cc4b59e8 100644 --- a/example.py +++ b/example.py @@ -55,4 +55,4 @@ Generate detailed instructions for creating an improved version of this logo. # Run the second agent on the task instruction_results = agent_instruction.run(task=task_instruction) -.......... \ No newline at end of file +........... \ No newline at end of file From 84c61a81553409adcd5c4896370784500f30ac44 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 10 Feb 2024 21:47:33 -0800 Subject: [PATCH 017/172] swarm at 2024-02-10 21:47:33 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index cc4b59e8..56906e14 100644 --- a/example.py +++ b/example.py @@ -55,4 +55,4 @@ Generate detailed instructions for creating an improved version of this logo. # Run the second agent on the task instruction_results = agent_instruction.run(task=task_instruction) -........... \ No newline at end of file +............ \ No newline at end of file From 7233b636e7edd800e10fe581137800f6e1a06ab3 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 10 Feb 2024 21:47:44 -0800 Subject: [PATCH 018/172] swarm at 2024-02-10 21:47:44 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 56906e14..b3694542 100644 --- a/example.py +++ b/example.py @@ -55,4 +55,4 @@ Generate detailed instructions for creating an improved version of this logo. # Run the second agent on the task instruction_results = agent_instruction.run(task=task_instruction) -............ \ No newline at end of file +............. \ No newline at end of file From 40ad2e5fb942ba4457cc4c37d8fa5bc4a92f757f Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:54:30 -0800 Subject: [PATCH 019/172] swarm at 2024-02-10 21:54:30 --- example.py | 1 + 1 file changed, 1 insertion(+) diff --git a/example.py b/example.py index 26e0ac86..e82bc8eb 100644 --- a/example.py +++ b/example.py @@ -32,3 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") +. \ No newline at end of file From f1a7839cf7465e67b9bd4aab7801f8d2263f1b87 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:54:57 -0800 Subject: [PATCH 020/172] swarm at 2024-02-10 21:54:57 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index e82bc8eb..55e56c28 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -. \ No newline at end of file +.. \ No newline at end of file From 9f73c5c43cad47d74221a60f18ab7ab63438a068 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:55:08 -0800 Subject: [PATCH 021/172] swarm at 2024-02-10 21:55:08 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 55e56c28..b6c0496e 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.. \ No newline at end of file +... \ No newline at end of file From f6a6309b2e119fdc391fd93552ba58e5f02bd95c Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:55:19 -0800 Subject: [PATCH 022/172] swarm at 2024-02-10 21:55:19 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index b6c0496e..c3609aaa 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -... \ No newline at end of file +.... \ No newline at end of file From 86fd8950009a3fe4ec441f3747ab6221f2f54f25 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:55:30 -0800 Subject: [PATCH 023/172] swarm at 2024-02-10 21:55:30 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index c3609aaa..e0cba54b 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.... \ No newline at end of file +..... \ No newline at end of file From 955c727eeae335d1b5b0be8ac40159e97468f643 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:55:41 -0800 Subject: [PATCH 024/172] swarm at 2024-02-10 21:55:41 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index e0cba54b..dc304b31 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -..... \ No newline at end of file +...... \ No newline at end of file From 969a332f41c15cddab880962c460259b61558238 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:55:52 -0800 Subject: [PATCH 025/172] swarm at 2024-02-10 21:55:52 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index dc304b31..2f2535f0 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -...... \ No newline at end of file +....... \ No newline at end of file From 8575f63e96af56fdc28b9c8b56fdc39c13a0258d Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:56:03 -0800 Subject: [PATCH 026/172] swarm at 2024-02-10 21:56:03 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 2f2535f0..a9734de0 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -....... \ No newline at end of file +........ \ No newline at end of file From 3e47d5e5b614f072593eda7b30e769af8f5cd7fe Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:56:14 -0800 Subject: [PATCH 027/172] swarm at 2024-02-10 21:56:14 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index a9734de0..733709e5 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -........ \ No newline at end of file +......... \ No newline at end of file From d49a5fb8dec99206cc9987275f8a475d50f6a15f Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:56:25 -0800 Subject: [PATCH 028/172] swarm at 2024-02-10 21:56:25 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 733709e5..5ec39f0a 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -......... \ No newline at end of file +.......... \ No newline at end of file From ad744ce7857738c5f16b70d3f281e68c9bcf16c9 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:56:36 -0800 Subject: [PATCH 029/172] swarm at 2024-02-10 21:56:36 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 5ec39f0a..b9ce1523 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.......... \ No newline at end of file +........... \ No newline at end of file From 708a48bbb2dfa221b3834721802dd1c8cccf7cf4 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:56:47 -0800 Subject: [PATCH 030/172] swarm at 2024-02-10 21:56:47 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index b9ce1523..2e751151 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -........... \ No newline at end of file +............ \ No newline at end of file From 12691b9ef9d3b8499144a43d69919fcb8f036799 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:56:58 -0800 Subject: [PATCH 031/172] swarm at 2024-02-10 21:56:58 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 2e751151..2d2fd245 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............ \ No newline at end of file +............. \ No newline at end of file From e0492307dabadc23af05236408d5fda69c8c83be Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:57:09 -0800 Subject: [PATCH 032/172] swarm at 2024-02-10 21:57:09 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 2d2fd245..877eda7c 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............. \ No newline at end of file +.............. \ No newline at end of file From 267ac51933cbb6e54e9fb4f408b592f257546ca5 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:57:20 -0800 Subject: [PATCH 033/172] swarm at 2024-02-10 21:57:20 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 877eda7c..d0f2a2ad 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.............. \ No newline at end of file +............... \ No newline at end of file From e7d3331a5309907e51e345bb143e5c0914f6c0b7 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:57:31 -0800 Subject: [PATCH 034/172] swarm at 2024-02-10 21:57:31 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index d0f2a2ad..239a6585 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............... \ No newline at end of file +................ \ No newline at end of file From 4a3ed3ecf808ac3414f2bb8b3bcce61bbeb73c74 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:57:42 -0800 Subject: [PATCH 035/172] swarm at 2024-02-10 21:57:42 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 239a6585..ffb3f4c7 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................ \ No newline at end of file +................. \ No newline at end of file From aafa1b95a9c55f7449d8e8e086fc14b2b72f38da Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:57:53 -0800 Subject: [PATCH 036/172] swarm at 2024-02-10 21:57:53 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index ffb3f4c7..dca7fe8a 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................. \ No newline at end of file +.................. \ No newline at end of file From 0eb2573b850f87972a8cda03c5d8a89e51b5ac29 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:58:04 -0800 Subject: [PATCH 037/172] swarm at 2024-02-10 21:58:04 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index dca7fe8a..03fa8b07 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.................. \ No newline at end of file +................... \ No newline at end of file From f74902abac921b78c8b5fd3a3168e6c3ae10723a Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:58:15 -0800 Subject: [PATCH 038/172] swarm at 2024-02-10 21:58:15 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 03fa8b07..c6e00a0a 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................... \ No newline at end of file +.................... \ No newline at end of file From 592cac80441fc41b03d098c0e4b462c97775531f Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:58:26 -0800 Subject: [PATCH 039/172] swarm at 2024-02-10 21:58:26 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index c6e00a0a..1e02d23f 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.................... \ No newline at end of file +..................... \ No newline at end of file From ac0816aec9d42afe86b42e2d969998e81674cefa Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:58:37 -0800 Subject: [PATCH 040/172] swarm at 2024-02-10 21:58:37 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 1e02d23f..eeb269dc 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -..................... \ No newline at end of file +...................... \ No newline at end of file From fcee64b452bda2a749b43a2f615a55bcfce470cf Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:58:48 -0800 Subject: [PATCH 041/172] swarm at 2024-02-10 21:58:48 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index eeb269dc..14bff710 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -...................... \ No newline at end of file +....................... \ No newline at end of file From fdd9cb3fd35977d16d7c69428c64e4dbd04e6095 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:58:59 -0800 Subject: [PATCH 042/172] swarm at 2024-02-10 21:58:59 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 14bff710..4bb6d04b 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -....................... \ No newline at end of file +........................ \ No newline at end of file From 970deab2fea09015eecc44f3bd012b8148fd7be4 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:59:10 -0800 Subject: [PATCH 043/172] swarm at 2024-02-10 21:59:10 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 4bb6d04b..b36790fe 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -........................ \ No newline at end of file +......................... \ No newline at end of file From 9cde9387bddfefedd1ba2b6897a2cc454b040783 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:59:21 -0800 Subject: [PATCH 044/172] swarm at 2024-02-10 21:59:21 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index b36790fe..0b2b449b 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -......................... \ No newline at end of file +.......................... \ No newline at end of file From 2693f9b77556f8109f9d17d0e1086121f4c4523b Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Sat, 10 Feb 2024 21:59:24 -0800 Subject: [PATCH 045/172] Rename swarm_daddy.py to autoswarm.py --- playground/demos/swarm_daddy/{swarm_daddy.py => autoswarm.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename playground/demos/swarm_daddy/{swarm_daddy.py => autoswarm.py} (100%) diff --git a/playground/demos/swarm_daddy/swarm_daddy.py b/playground/demos/swarm_daddy/autoswarm.py similarity index 100% rename from playground/demos/swarm_daddy/swarm_daddy.py rename to playground/demos/swarm_daddy/autoswarm.py From 22ee24c61e02c138a6c0753fe85613924f89ec5a Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:59:32 -0800 Subject: [PATCH 046/172] swarm at 2024-02-10 21:59:32 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 0b2b449b..830ddf29 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.......................... \ No newline at end of file +........................... \ No newline at end of file From f0e19cdabb1530b32e09f08fb3c5675d26cd2d3a Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:59:42 -0800 Subject: [PATCH 047/172] swarm at 2024-02-10 21:59:42 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 830ddf29..d740d3b1 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -........................... \ No newline at end of file +............................ \ No newline at end of file From 26e20123bca7e7a400c18d6dc3ef6b6543168215 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 21:59:53 -0800 Subject: [PATCH 048/172] swarm at 2024-02-10 21:59:53 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index d740d3b1..0901b06b 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................ \ No newline at end of file +............................. \ No newline at end of file From 8614c78e6a1ae9b6d8bc86398abd4ec31915c5b9 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:00:04 -0800 Subject: [PATCH 049/172] swarm at 2024-02-10 22:00:04 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 0901b06b..ad990e7e 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................. \ No newline at end of file +.............................. \ No newline at end of file From 5bc8b53d088e97903256118f933f3c535700a7a4 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Sat, 10 Feb 2024 22:00:07 -0800 Subject: [PATCH 050/172] Update autoswarm.py --- playground/demos/swarm_daddy/autoswarm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/demos/swarm_daddy/autoswarm.py b/playground/demos/swarm_daddy/autoswarm.py index 7c28e895..86bbcb07 100644 --- a/playground/demos/swarm_daddy/autoswarm.py +++ b/playground/demos/swarm_daddy/autoswarm.py @@ -2,7 +2,7 @@ import os from dotenv import load_dotenv from swarms.models import OpenAIChat from swarms.structs import Agent -import swarms.prompts.swarm_daddy as sdsp +import swarms.prompts.autoswarm as sdsp # Load environment variables and initialize the OpenAI Chat model load_dotenv() From b6adeb6aeff44e4756633e0294de20cda3b19feb Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:00:15 -0800 Subject: [PATCH 051/172] swarm at 2024-02-10 22:00:15 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index ad990e7e..e1403620 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.............................. \ No newline at end of file +............................... \ No newline at end of file From e286b1cdd33733365dda849fdce997a4e8f723be Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Sat, 10 Feb 2024 22:00:24 -0800 Subject: [PATCH 052/172] Rename autoswarm.py to autoswarm.py --- playground/demos/{swarm_daddy => autoswarm}/autoswarm.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename playground/demos/{swarm_daddy => autoswarm}/autoswarm.py (100%) diff --git a/playground/demos/swarm_daddy/autoswarm.py b/playground/demos/autoswarm/autoswarm.py similarity index 100% rename from playground/demos/swarm_daddy/autoswarm.py rename to playground/demos/autoswarm/autoswarm.py From 5674165d4cccbd7b4bf541e4bdf6426e7a080479 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:00:26 -0800 Subject: [PATCH 053/172] swarm at 2024-02-10 22:00:26 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index e1403620..3146c327 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................... \ No newline at end of file +................................ \ No newline at end of file From 200f15bf2dee8f4b9bb3147afbe26d16fd802cda Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:00:36 -0800 Subject: [PATCH 054/172] swarm at 2024-02-10 22:00:36 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 3146c327..6e3d7d83 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................................ \ No newline at end of file +................................. \ No newline at end of file From f1adada4c1592e4316d2d55c5ff11d260b668686 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:00:47 -0800 Subject: [PATCH 055/172] swarm at 2024-02-10 22:00:47 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 6e3d7d83..7c0db963 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................................. \ No newline at end of file +.................................. \ No newline at end of file From 10fb40d0d5ce591a0e251e8c2dbae08268b15612 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:00:57 -0800 Subject: [PATCH 056/172] swarm at 2024-02-10 22:00:57 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 7c0db963..2ba7b4ff 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.................................. \ No newline at end of file +................................... \ No newline at end of file From 421a180e63d0e9de826b0c2c01bafe61588d9035 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:01:08 -0800 Subject: [PATCH 057/172] swarm at 2024-02-10 22:01:08 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 2ba7b4ff..a173f9d4 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................................... \ No newline at end of file +.................................... \ No newline at end of file From 1c0708c4e54ff9494884ccde3493b8b24d6cbcf5 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:01:18 -0800 Subject: [PATCH 058/172] swarm at 2024-02-10 22:01:18 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index a173f9d4..d8df6794 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.................................... \ No newline at end of file +..................................... \ No newline at end of file From 894eecae10b3a2d0504bedc689b159e3601fe69d Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:01:29 -0800 Subject: [PATCH 059/172] swarm at 2024-02-10 22:01:29 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index d8df6794..12232d50 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -..................................... \ No newline at end of file +...................................... \ No newline at end of file From 1b177ff3c979f3e23b6dacb6460d38e7f1e31c2a Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Sat, 10 Feb 2024 22:01:31 -0800 Subject: [PATCH 060/172] Rename swarm_daddy.py to autoswarm.py --- swarms/prompts/{swarm_daddy.py => autoswarm.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename swarms/prompts/{swarm_daddy.py => autoswarm.py} (100%) diff --git a/swarms/prompts/swarm_daddy.py b/swarms/prompts/autoswarm.py similarity index 100% rename from swarms/prompts/swarm_daddy.py rename to swarms/prompts/autoswarm.py From 299dec9a71e421e511dd5910b8698c8835687929 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:01:40 -0800 Subject: [PATCH 061/172] swarm at 2024-02-10 22:01:40 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 12232d50..ca56202b 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -...................................... \ No newline at end of file +....................................... \ No newline at end of file From 2d62ff2aa7210798b94f1f4a4aeec7e85c8cc679 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:01:50 -0800 Subject: [PATCH 062/172] swarm at 2024-02-10 22:01:50 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index ca56202b..6f72ed13 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -....................................... \ No newline at end of file +........................................ \ No newline at end of file From 47e9e5bce3f4f5f2c01fabcf2d026dbbb8556682 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:02:01 -0800 Subject: [PATCH 063/172] swarm at 2024-02-10 22:02:01 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 6f72ed13..ebc5c5c6 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -........................................ \ No newline at end of file +......................................... \ No newline at end of file From c2aeee4e03a204fdee278877f2914060100eccae Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:02:11 -0800 Subject: [PATCH 064/172] swarm at 2024-02-10 22:02:11 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index ebc5c5c6..04a20468 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -......................................... \ No newline at end of file +.......................................... \ No newline at end of file From 9302d11fba5aedf2d989c94f798dbf0f1162cd90 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:02:22 -0800 Subject: [PATCH 065/172] swarm at 2024-02-10 22:02:22 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 04a20468..e50c0066 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.......................................... \ No newline at end of file +........................................... \ No newline at end of file From 8c0eb845c848904ac7f419c0bb4fe49797de508d Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:02:32 -0800 Subject: [PATCH 066/172] swarm at 2024-02-10 22:02:32 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index e50c0066..79ffa140 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -........................................... \ No newline at end of file +............................................ \ No newline at end of file From 4b16aee4d2ecd212fa4984c4250dcb5e68826ba6 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:07:30 -0800 Subject: [PATCH 067/172] swarm at 2024-02-10 22:07:30 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 79ffa140..7bd1897a 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................................ \ No newline at end of file +............................................. \ No newline at end of file From 7bd86efed1fe888c98893957c0aec4ec92604923 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:07:41 -0800 Subject: [PATCH 068/172] swarm at 2024-02-10 22:07:41 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 7bd1897a..6a69a9d3 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................................. \ No newline at end of file +.............................................. \ No newline at end of file From cc019362efae0e2064b4c9c9af1f5acb38bdd9ff Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:07:52 -0800 Subject: [PATCH 069/172] swarm at 2024-02-10 22:07:52 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 6a69a9d3..c5faacd2 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.............................................. \ No newline at end of file +............................................... \ No newline at end of file From 531ef64db170e97ed965977b90f9963d1291b6ca Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:08:03 -0800 Subject: [PATCH 070/172] swarm at 2024-02-10 22:08:03 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index c5faacd2..e527b2d6 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................................... \ No newline at end of file +................................................ \ No newline at end of file From f4a6aa1adb74863873a49a2bdb2a37a9f572b360 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:08:14 -0800 Subject: [PATCH 071/172] swarm at 2024-02-10 22:08:14 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index e527b2d6..e1e5f225 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................................................ \ No newline at end of file +................................................. \ No newline at end of file From 30623a527b0a4b4da9dd17f3351fe8268ff32eef Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:08:25 -0800 Subject: [PATCH 072/172] swarm at 2024-02-10 22:08:25 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index e1e5f225..66d1e92c 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................................................. \ No newline at end of file +.................................................. \ No newline at end of file From 3cbf6c96066886826d9ced8ccbb0feff51d4306a Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:08:36 -0800 Subject: [PATCH 073/172] swarm at 2024-02-10 22:08:36 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 66d1e92c..0e23480e 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.................................................. \ No newline at end of file +................................................... \ No newline at end of file From 123a5c905399a07f32eb12d982a2108d6c3b6ac6 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:08:47 -0800 Subject: [PATCH 074/172] swarm at 2024-02-10 22:08:47 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 0e23480e..02d85598 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................................................... \ No newline at end of file +.................................................... \ No newline at end of file From 76bd0012bfd7987e0847bf30ee0171975be67f2f Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:08:58 -0800 Subject: [PATCH 075/172] swarm at 2024-02-10 22:08:58 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 02d85598..89221666 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.................................................... \ No newline at end of file +..................................................... \ No newline at end of file From a62b2862a63828b9616f969feff5a5db3afdc8f8 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:09:09 -0800 Subject: [PATCH 076/172] swarm at 2024-02-10 22:09:09 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 89221666..58842527 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -..................................................... \ No newline at end of file +...................................................... \ No newline at end of file From 80f565556c11b83ce463c7a921a2d68fb3fbd536 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:09:20 -0800 Subject: [PATCH 077/172] swarm at 2024-02-10 22:09:20 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 58842527..416af2fb 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -...................................................... \ No newline at end of file +....................................................... \ No newline at end of file From 5e7b71620b8e40c519a1ceccb170f79d64be7ac0 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:09:32 -0800 Subject: [PATCH 078/172] swarm at 2024-02-10 22:09:32 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 416af2fb..5a6713e4 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -....................................................... \ No newline at end of file +........................................................ \ No newline at end of file From 0ea5616f4c3570cafa0b687c91f3ead550ac9f02 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:09:43 -0800 Subject: [PATCH 079/172] swarm at 2024-02-10 22:09:43 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 5a6713e4..15fdeb96 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -........................................................ \ No newline at end of file +......................................................... \ No newline at end of file From e333bcdf44654a0cd586bf61850485064f0b8258 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:09:54 -0800 Subject: [PATCH 080/172] swarm at 2024-02-10 22:09:54 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 15fdeb96..c1e95a75 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -......................................................... \ No newline at end of file +.......................................................... \ No newline at end of file From 0ee020b2012c5ff46b3d7bd69e7ed6dd78f3951c Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:10:05 -0800 Subject: [PATCH 081/172] swarm at 2024-02-10 22:10:05 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index c1e95a75..2866ebe0 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.......................................................... \ No newline at end of file +........................................................... \ No newline at end of file From 9b6563cfff4132d902cc96e56d27808020cb2e57 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:10:16 -0800 Subject: [PATCH 082/172] swarm at 2024-02-10 22:10:16 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 2866ebe0..88e0f2fe 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -........................................................... \ No newline at end of file +............................................................ \ No newline at end of file From 071fd3c8b5145a92083a9320caf34836263b4b7d Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:10:27 -0800 Subject: [PATCH 083/172] swarm at 2024-02-10 22:10:27 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 88e0f2fe..bf6aaf10 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................................................ \ No newline at end of file +............................................................. \ No newline at end of file From 42ef7b1c1fed6e9c93459e10dd909e559de88713 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:10:38 -0800 Subject: [PATCH 084/172] swarm at 2024-02-10 22:10:38 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index bf6aaf10..ab9b28ed 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................................................. \ No newline at end of file +.............................................................. \ No newline at end of file From b7342167e1226401478c939a45d649de43721c07 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:10:49 -0800 Subject: [PATCH 085/172] swarm at 2024-02-10 22:10:49 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index ab9b28ed..5892a51f 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.............................................................. \ No newline at end of file +............................................................... \ No newline at end of file From 3a1814f0ace84174bb9daa3e0c41e0df12c38c1c Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:11:00 -0800 Subject: [PATCH 086/172] swarm at 2024-02-10 22:11:00 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 5892a51f..fa67fbb1 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................................................... \ No newline at end of file +................................................................ \ No newline at end of file From 3771b509be84d3fe652ea76e9abc48a94cb417ef Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:11:11 -0800 Subject: [PATCH 087/172] swarm at 2024-02-10 22:11:11 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index fa67fbb1..3b737991 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................................................................ \ No newline at end of file +................................................................. \ No newline at end of file From baad63d8a988bad5fef1f57784229aee312861f6 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:11:22 -0800 Subject: [PATCH 088/172] swarm at 2024-02-10 22:11:22 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 3b737991..9f1d83b9 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................................................................. \ No newline at end of file +.................................................................. \ No newline at end of file From 6fc2106a2e34430294586daa2c461423a95e0031 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:11:33 -0800 Subject: [PATCH 089/172] swarm at 2024-02-10 22:11:33 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 9f1d83b9..b7764721 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.................................................................. \ No newline at end of file +................................................................... \ No newline at end of file From c32dcfd2200e153670b3a66833951ffb611923ce Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:11:44 -0800 Subject: [PATCH 090/172] swarm at 2024-02-10 22:11:44 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index b7764721..3c8e92ce 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................................................................... \ No newline at end of file +.................................................................... \ No newline at end of file From 5397617b6493c85d38589b917ce1892b8becd184 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:11:55 -0800 Subject: [PATCH 091/172] swarm at 2024-02-10 22:11:55 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 3c8e92ce..d0aca795 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.................................................................... \ No newline at end of file +..................................................................... \ No newline at end of file From 95b5f0962ab975fe0b96578ba5f5e525cf30d409 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:12:06 -0800 Subject: [PATCH 092/172] swarm at 2024-02-10 22:12:06 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index d0aca795..adc5f41c 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -..................................................................... \ No newline at end of file +...................................................................... \ No newline at end of file From 90c0a7dab16f47ebb08ae08702aa0073584b055e Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:12:17 -0800 Subject: [PATCH 093/172] swarm at 2024-02-10 22:12:17 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index adc5f41c..4e77e842 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -...................................................................... \ No newline at end of file +....................................................................... \ No newline at end of file From 4259516a18fedc977e8268b7189a9f1223aefc74 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:12:28 -0800 Subject: [PATCH 094/172] swarm at 2024-02-10 22:12:28 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 4e77e842..810cb781 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -....................................................................... \ No newline at end of file +........................................................................ \ No newline at end of file From 351d6ec293eba244c3ac09b3a3867ef66909aa42 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:12:39 -0800 Subject: [PATCH 095/172] swarm at 2024-02-10 22:12:39 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 810cb781..ab4e6008 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -........................................................................ \ No newline at end of file +......................................................................... \ No newline at end of file From c1637370d60ea045980b944a54c9f9a34b2d66ea Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:12:50 -0800 Subject: [PATCH 096/172] swarm at 2024-02-10 22:12:50 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index ab4e6008..ad379ded 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -......................................................................... \ No newline at end of file +.......................................................................... \ No newline at end of file From 02c217d2c6bab0599b468cb30139537a5c493a5f Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:13:01 -0800 Subject: [PATCH 097/172] swarm at 2024-02-10 22:13:01 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index ad379ded..58d51575 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.......................................................................... \ No newline at end of file +........................................................................... \ No newline at end of file From 86189900579b263912b791691486a802155f8f01 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:13:12 -0800 Subject: [PATCH 098/172] swarm at 2024-02-10 22:13:12 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 58d51575..3778d747 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -........................................................................... \ No newline at end of file +............................................................................ \ No newline at end of file From a2c4a8bb73eba42847b905b091feec5753e4dd8e Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:13:23 -0800 Subject: [PATCH 099/172] swarm at 2024-02-10 22:13:23 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 3778d747..07a10bf3 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................................................................ \ No newline at end of file +............................................................................. \ No newline at end of file From e057c590c720aa7bf5d0b64208b40448bb5bfb24 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Sat, 10 Feb 2024 22:13:32 -0800 Subject: [PATCH 100/172] Delete autocommit.py --- autocommit.py | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 autocommit.py diff --git a/autocommit.py b/autocommit.py deleted file mode 100644 index 38d97806..00000000 --- a/autocommit.py +++ /dev/null @@ -1,32 +0,0 @@ -import os -import datetime -import time - -# Configure your repository details -repo_path = '.' -file_path = 'example.py' -commit_message = 'swarm' - -def make_change_and_commit(repo_path, file_path, commit_message): - # Change to the repository directory - os.chdir(repo_path) - - # Make a change in the file - with open(file_path, 'a') as file: - file.write('.') # Appending a dot to the file - - # Add the file to staging - os.system('git add ' + file_path) - - # Commit the change - current_time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S") - os.system(f'git commit -m "{commit_message} at {current_time}"') - - # Push the commit - os.system('git push') - -if __name__ == "__main__": - while True: - make_change_and_commit(repo_path, file_path, commit_message) - print("Commit made. Waiting 10 seconds for the next commit.") - time.sleep(10) # Wait for 10 seconds before the next iteration From 8f34b934ad203146b9764298cc9d5195843f6dbd Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:13:34 -0800 Subject: [PATCH 101/172] swarm at 2024-02-10 22:13:34 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 07a10bf3..6eae9cb9 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................................................................. \ No newline at end of file +.............................................................................. \ No newline at end of file From 9ade370737878d3bad5c52e971b095dfd1859e10 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:13:45 -0800 Subject: [PATCH 102/172] swarm at 2024-02-10 22:13:45 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 6eae9cb9..1f22de08 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.............................................................................. \ No newline at end of file +............................................................................... \ No newline at end of file From 32b032c012cba97241093af9913a31383a9bfe13 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:13:55 -0800 Subject: [PATCH 103/172] swarm at 2024-02-10 22:13:55 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 1f22de08..fbfe300a 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................................................................... \ No newline at end of file +................................................................................ \ No newline at end of file From 3617538fb424eba7e530df0e6396d41bacf7932c Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:14:06 -0800 Subject: [PATCH 104/172] swarm at 2024-02-10 22:14:06 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index fbfe300a..da00a0c0 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................................................................................ \ No newline at end of file +................................................................................. \ No newline at end of file From c07562c406b8bf72ac61976769222d7f9accb23d Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:18:42 -0800 Subject: [PATCH 105/172] swarm at 2024-02-10 22:18:42 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index da00a0c0..d38d1de4 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................................................................................. \ No newline at end of file +.................................................................................. \ No newline at end of file From c62a5c07d7208ad471f518cdb61474bdb2f23fb9 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:18:54 -0800 Subject: [PATCH 106/172] swarm at 2024-02-10 22:18:53 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index d38d1de4..ad2e77ae 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.................................................................................. \ No newline at end of file +................................................................................... \ No newline at end of file From a0777aabcbaa256d8c3e6b563665918c6f5d11b3 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:19:05 -0800 Subject: [PATCH 107/172] swarm at 2024-02-10 22:19:05 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index ad2e77ae..a0576351 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -................................................................................... \ No newline at end of file +.................................................................................... \ No newline at end of file From 783dfe13b3b26411cb43920b064fcc5646d656c5 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:19:16 -0800 Subject: [PATCH 108/172] swarm at 2024-02-10 22:19:15 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index a0576351..cffc1859 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.................................................................................... \ No newline at end of file +..................................................................................... \ No newline at end of file From 6a9210a5058ef2a68ef89880988f8002fd6f8d69 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:19:27 -0800 Subject: [PATCH 109/172] swarm at 2024-02-10 22:19:27 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index cffc1859..d8abd37b 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -..................................................................................... \ No newline at end of file +...................................................................................... \ No newline at end of file From fabd3187d2d5a2d2689289427d7bdbae050f41b7 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:19:38 -0800 Subject: [PATCH 110/172] swarm at 2024-02-10 22:19:38 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index d8abd37b..29f197ac 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -...................................................................................... \ No newline at end of file +....................................................................................... \ No newline at end of file From 2e42fdd81215fe631869f693b0932b2c84e38cd8 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:19:49 -0800 Subject: [PATCH 111/172] swarm at 2024-02-10 22:19:49 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 29f197ac..ecd0e292 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -....................................................................................... \ No newline at end of file +........................................................................................ \ No newline at end of file From d3a71160ceceb800cdc63531e0b5a8d53636638b Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:20:00 -0800 Subject: [PATCH 112/172] swarm at 2024-02-10 22:20:00 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index ecd0e292..e9e9a6f2 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -........................................................................................ \ No newline at end of file +......................................................................................... \ No newline at end of file From c0f6b0f9dee8b12c838b9715cdc082416816655c Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:20:11 -0800 Subject: [PATCH 113/172] swarm at 2024-02-10 22:20:11 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index e9e9a6f2..a32d3abb 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -......................................................................................... \ No newline at end of file +.......................................................................................... \ No newline at end of file From 1dd63df9b91eada16979c56f4fd5c920e129217b Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:20:22 -0800 Subject: [PATCH 114/172] swarm at 2024-02-10 22:20:22 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index a32d3abb..edd81f39 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -.......................................................................................... \ No newline at end of file +........................................................................................... \ No newline at end of file From 019590a1733eae9623d0483fd79c6a919df229bc Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:20:33 -0800 Subject: [PATCH 115/172] swarm at 2024-02-10 22:20:33 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index edd81f39..250a8172 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -........................................................................................... \ No newline at end of file +............................................................................................ \ No newline at end of file From 9775481bbd468d6307558d873239f00b4a240e49 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:20:44 -0800 Subject: [PATCH 116/172] swarm at 2024-02-10 22:20:44 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 250a8172..64147b84 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................................................................................ \ No newline at end of file +............................................................................................. \ No newline at end of file From 933a317f41fb06884fc7602e216638fb2bf79e28 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Sat, 10 Feb 2024 22:21:08 -0800 Subject: [PATCH 117/172] Update example.py --- example.py | 1 - 1 file changed, 1 deletion(-) diff --git a/example.py b/example.py index 64147b84..26e0ac86 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,3 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -............................................................................................. \ No newline at end of file From 9e78d15d6eeb276f540770f86336189746afd61d Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:22:21 -0800 Subject: [PATCH 118/172] swarm at 2024-02-10 22:22:21 --- example.py | 1 + 1 file changed, 1 insertion(+) diff --git a/example.py b/example.py index 26e0ac86..69446d58 100644 --- a/example.py +++ b/example.py @@ -32,3 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") +_ \ No newline at end of file From f7508dd04a374717da7c33c5a7d8766c39839bd1 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:22:32 -0800 Subject: [PATCH 119/172] swarm at 2024-02-10 22:22:32 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 69446d58..ef89bd9f 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_ \ No newline at end of file +__ \ No newline at end of file From 0ca532d7daf2b366ae25ea50151a7df8ad18280c Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:22:43 -0800 Subject: [PATCH 120/172] swarm at 2024-02-10 22:22:43 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index ef89bd9f..dde6e364 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -__ \ No newline at end of file +___ \ No newline at end of file From 86748cd30f705bec66e1e9f5418eb223ba9a5c52 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:22:54 -0800 Subject: [PATCH 121/172] swarm at 2024-02-10 22:22:54 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index dde6e364..590b9112 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -___ \ No newline at end of file +____ \ No newline at end of file From 30d408395b2fe2f55961f4f4f30c4cd15f0cc220 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:23:05 -0800 Subject: [PATCH 122/172] swarm at 2024-02-10 22:23:05 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 590b9112..f827b314 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -____ \ No newline at end of file +_____ \ No newline at end of file From 7ce064bf092d0128f820eacae06560e841c6ded0 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:23:16 -0800 Subject: [PATCH 123/172] swarm at 2024-02-10 22:23:16 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index f827b314..50a4f8b5 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_____ \ No newline at end of file +______ \ No newline at end of file From 387ca23cdc2d4b12750a5808de83f887dd450547 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:23:28 -0800 Subject: [PATCH 124/172] swarm at 2024-02-10 22:23:28 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 50a4f8b5..8cc30714 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -______ \ No newline at end of file +_______ \ No newline at end of file From a7fc440d9875b7c0612a991c75a7624d64582b3c Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:23:39 -0800 Subject: [PATCH 125/172] swarm at 2024-02-10 22:23:39 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 8cc30714..d0cdc8ab 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_______ \ No newline at end of file +________ \ No newline at end of file From 5853587b150629b59fb4c3b9327d7add7bd927e0 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:23:50 -0800 Subject: [PATCH 126/172] swarm at 2024-02-10 22:23:50 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index d0cdc8ab..5d4feeeb 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -________ \ No newline at end of file +_________ \ No newline at end of file From 131f225c30524db0bd632f534c86905a96a75c4f Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:24:01 -0800 Subject: [PATCH 127/172] swarm at 2024-02-10 22:24:01 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 5d4feeeb..9e21d093 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_________ \ No newline at end of file +__________ \ No newline at end of file From 10106bb84fea5e99f8019ddaf8d41265f6a79340 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:24:12 -0800 Subject: [PATCH 128/172] swarm at 2024-02-10 22:24:12 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 9e21d093..cbd8fe38 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -__________ \ No newline at end of file +___________ \ No newline at end of file From 5baedb72775e1bcc6ed65c058c0568868bb0ef25 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:24:23 -0800 Subject: [PATCH 129/172] swarm at 2024-02-10 22:24:23 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index cbd8fe38..c3d5e751 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -___________ \ No newline at end of file +____________ \ No newline at end of file From 631d72eca8048801b7bd64731a9db86f8af26aca Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:24:34 -0800 Subject: [PATCH 130/172] swarm at 2024-02-10 22:24:34 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index c3d5e751..e31edeb0 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -____________ \ No newline at end of file +_____________ \ No newline at end of file From 88b0b1654f5e907f7988dbae3074070ef40936bb Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:28:20 -0800 Subject: [PATCH 131/172] swarm at 2024-02-10 22:28:20 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index e31edeb0..589e3490 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_____________ \ No newline at end of file +______________ \ No newline at end of file From e16b907f7a5aed2e52304ecc41ea50740b805b98 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:28:32 -0800 Subject: [PATCH 132/172] swarm at 2024-02-10 22:28:32 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 589e3490..06346594 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -______________ \ No newline at end of file +_______________ \ No newline at end of file From 0a896c0b9efd0ab5196467abee6668907826d80a Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:28:43 -0800 Subject: [PATCH 133/172] swarm at 2024-02-10 22:28:43 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 06346594..33b70ccb 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_______________ \ No newline at end of file +________________ \ No newline at end of file From f85d77fa0dea86162af552623c42a5a680ad0ef4 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:28:54 -0800 Subject: [PATCH 134/172] swarm at 2024-02-10 22:28:54 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 33b70ccb..97aae02b 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -________________ \ No newline at end of file +_________________ \ No newline at end of file From 83a7b9840718921bc2c2ef9ae1a44d771716ad9c Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:29:03 -0800 Subject: [PATCH 135/172] swarm at 2024-02-10 22:29:03 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 97aae02b..7304ff1e 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_________________ \ No newline at end of file +__________________ \ No newline at end of file From 77561f3607c85f6bb2a5450f3bbc780ef52d9717 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:29:14 -0800 Subject: [PATCH 136/172] swarm at 2024-02-10 22:29:13 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 7304ff1e..2474bbd4 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -__________________ \ No newline at end of file +___________________ \ No newline at end of file From 0486a18747a3423cd8c0b0fa0e8d8212a38ef920 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:29:25 -0800 Subject: [PATCH 137/172] swarm at 2024-02-10 22:29:25 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 2474bbd4..75aef456 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -___________________ \ No newline at end of file +____________________ \ No newline at end of file From 9e787a8ebc9c299cfb0746113ad1de4fb59394f8 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:29:36 -0800 Subject: [PATCH 138/172] swarm at 2024-02-10 22:29:36 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 75aef456..c8669fb0 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -____________________ \ No newline at end of file +_____________________ \ No newline at end of file From f901ba6f8f8eda6c1f39bce52109655496b2b3fb Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:29:47 -0800 Subject: [PATCH 139/172] swarm at 2024-02-10 22:29:47 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index c8669fb0..dd2d3ab5 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_____________________ \ No newline at end of file +______________________ \ No newline at end of file From dc5bf4ade73cf53c24de2bc644c05e0f9aad2b5a Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:29:52 -0800 Subject: [PATCH 140/172] swarm at 2024-02-10 22:29:52 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index dd2d3ab5..3b757a24 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -______________________ \ No newline at end of file +_______________________ \ No newline at end of file From f05c2cd2640a7d179c75c979fdfe423e8796245c Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:29:59 -0800 Subject: [PATCH 141/172] swarm at 2024-02-10 22:29:59 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 3b757a24..7d90664e 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_______________________ \ No newline at end of file +________________________ \ No newline at end of file From e5444c2479c94b1cd3197b67431d5a589b8df37e Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:30:05 -0800 Subject: [PATCH 142/172] swarm at 2024-02-10 22:30:05 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 7d90664e..a8d7c729 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -________________________ \ No newline at end of file +_________________________ \ No newline at end of file From 496fdef15e1e929599c2ae0855d00d85feb429b6 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:30:11 -0800 Subject: [PATCH 143/172] swarm at 2024-02-10 22:30:11 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index a8d7c729..ea1c61a0 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_________________________ \ No newline at end of file +__________________________ \ No newline at end of file From 41f8093e37f8c223d757a7476c7fa1f70319aad5 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:30:18 -0800 Subject: [PATCH 144/172] swarm at 2024-02-10 22:30:17 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index ea1c61a0..c124bf79 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -__________________________ \ No newline at end of file +___________________________ \ No newline at end of file From f84adb33fd94d2461eb199f2b8d0163d6d838d4a Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:30:24 -0800 Subject: [PATCH 145/172] swarm at 2024-02-10 22:30:24 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index c124bf79..5acb6e68 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -___________________________ \ No newline at end of file +____________________________ \ No newline at end of file From 182fada2c9a874fe069c67a895568fb3fba50d49 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:30:30 -0800 Subject: [PATCH 146/172] swarm at 2024-02-10 22:30:30 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 5acb6e68..45410d3a 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -____________________________ \ No newline at end of file +_____________________________ \ No newline at end of file From 27dcea8caba9eb2572265f25c3519eacc595bffc Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:30:36 -0800 Subject: [PATCH 147/172] swarm at 2024-02-10 22:30:36 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 45410d3a..b7586667 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_____________________________ \ No newline at end of file +______________________________ \ No newline at end of file From cd8f27e8773c1524f4983c204286c85791df4c8d Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:30:42 -0800 Subject: [PATCH 148/172] swarm at 2024-02-10 22:30:42 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index b7586667..27315dd4 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -______________________________ \ No newline at end of file +_______________________________ \ No newline at end of file From cb72a1104fdda80e2817b8e415ff39b838886095 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:30:48 -0800 Subject: [PATCH 149/172] swarm at 2024-02-10 22:30:48 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 27315dd4..84d68996 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_______________________________ \ No newline at end of file +________________________________ \ No newline at end of file From 857497ed9e7e259c294336c353b5a40fe1bb019d Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:30:54 -0800 Subject: [PATCH 150/172] swarm at 2024-02-10 22:30:54 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 84d68996..caf552f7 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -________________________________ \ No newline at end of file +_________________________________ \ No newline at end of file From adefeeaea16ef95e537493169d5391806dc9ac73 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:31:00 -0800 Subject: [PATCH 151/172] swarm at 2024-02-10 22:31:00 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index caf552f7..b6e14fa0 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_________________________________ \ No newline at end of file +__________________________________ \ No newline at end of file From 2606b5bc96d1f27d3549586d084b95bbe90eac09 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:31:06 -0800 Subject: [PATCH 152/172] swarm at 2024-02-10 22:31:06 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index b6e14fa0..67fe53df 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -__________________________________ \ No newline at end of file +___________________________________ \ No newline at end of file From f08bd2743e2a65346dc32816e1d4f83d2c93d845 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:31:12 -0800 Subject: [PATCH 153/172] swarm at 2024-02-10 22:31:12 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 67fe53df..6f8e0884 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -___________________________________ \ No newline at end of file +____________________________________ \ No newline at end of file From ad3f283b40905b3b62079941215d734a99ff80ff Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:31:18 -0800 Subject: [PATCH 154/172] swarm at 2024-02-10 22:31:18 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 6f8e0884..fbadc4b0 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -____________________________________ \ No newline at end of file +_____________________________________ \ No newline at end of file From d7fd3082cb0c2fa1588e41a979c7a4c13e78b8b0 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:31:24 -0800 Subject: [PATCH 155/172] swarm at 2024-02-10 22:31:24 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index fbadc4b0..336b0a7c 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_____________________________________ \ No newline at end of file +______________________________________ \ No newline at end of file From 07f5d7179eda068dc6b5a934feb894bc96d923f4 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:31:30 -0800 Subject: [PATCH 156/172] swarm at 2024-02-10 22:31:30 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 336b0a7c..eb6e72c5 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -______________________________________ \ No newline at end of file +_______________________________________ \ No newline at end of file From ae3cab494769f29276dac08cb780cc23ec90495b Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:31:36 -0800 Subject: [PATCH 157/172] swarm at 2024-02-10 22:31:36 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index eb6e72c5..332bf83e 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_______________________________________ \ No newline at end of file +________________________________________ \ No newline at end of file From baeac78c256a8d9893e0c62c3ebddcfd0a99c1a3 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:31:42 -0800 Subject: [PATCH 158/172] swarm at 2024-02-10 22:31:42 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 332bf83e..7d1c4faa 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -________________________________________ \ No newline at end of file +_________________________________________ \ No newline at end of file From 2b40f3c6c907196ef391122e79c6d71dde53d6d1 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:31:48 -0800 Subject: [PATCH 159/172] swarm at 2024-02-10 22:31:48 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 7d1c4faa..9a5c8669 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_________________________________________ \ No newline at end of file +__________________________________________ \ No newline at end of file From 4e21c8542766051911a2e8fc753bc0d2e3e56c42 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:31:55 -0800 Subject: [PATCH 160/172] swarm at 2024-02-10 22:31:55 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 9a5c8669..1713c0b0 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -__________________________________________ \ No newline at end of file +___________________________________________ \ No newline at end of file From 8006b004cd563858fa4580461f7cea2d24ccb00a Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:32:01 -0800 Subject: [PATCH 161/172] swarm at 2024-02-10 22:32:01 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 1713c0b0..a2755241 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -___________________________________________ \ No newline at end of file +____________________________________________ \ No newline at end of file From 435bcdca44573de9c999d9468e831a34e5afd814 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:32:07 -0800 Subject: [PATCH 162/172] swarm at 2024-02-10 22:32:07 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index a2755241..b16feb67 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -____________________________________________ \ No newline at end of file +_____________________________________________ \ No newline at end of file From c6c28a1ca1748165be4ffce70fa6e5141c5730c2 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:32:13 -0800 Subject: [PATCH 163/172] swarm at 2024-02-10 22:32:13 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index b16feb67..654d3d1a 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_____________________________________________ \ No newline at end of file +______________________________________________ \ No newline at end of file From 81b80ee22ce1010503a692e3f0a6375d046318bd Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:32:19 -0800 Subject: [PATCH 164/172] swarm at 2024-02-10 22:32:19 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 654d3d1a..6180deaa 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -______________________________________________ \ No newline at end of file +_______________________________________________ \ No newline at end of file From 3caf3249dee2a9a8907e921aace3555cdac96371 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:32:25 -0800 Subject: [PATCH 165/172] swarm at 2024-02-10 22:32:25 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 6180deaa..736895d1 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_______________________________________________ \ No newline at end of file +________________________________________________ \ No newline at end of file From 5d16460f2baf7ffd4388669508ffe8d5608aa1f7 Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:32:31 -0800 Subject: [PATCH 166/172] swarm at 2024-02-10 22:32:31 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 736895d1..112c0cfd 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -________________________________________________ \ No newline at end of file +_________________________________________________ \ No newline at end of file From 66b6d6447c92a8e3822e002c3e2a8bc601d6921f Mon Sep 17 00:00:00 2001 From: elder-plinius Date: Sat, 10 Feb 2024 22:32:37 -0800 Subject: [PATCH 167/172] swarm at 2024-02-10 22:32:37 --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.py b/example.py index 112c0cfd..9a8d2d07 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,4 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -_________________________________________________ \ No newline at end of file +__________________________________________________ \ No newline at end of file From 0c50b7e1ebd343402b53f29922ede1cf9ad6c9ee Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Sat, 10 Feb 2024 22:33:15 -0800 Subject: [PATCH 168/172] Update example.py --- example.py | 1 - 1 file changed, 1 deletion(-) diff --git a/example.py b/example.py index 9a8d2d07..26e0ac86 100644 --- a/example.py +++ b/example.py @@ -32,4 +32,3 @@ agent = Agent( # Run the workflow on a task agent.run("Generate a 10,000 word blog on health and wellness.") -__________________________________________________ \ No newline at end of file From 75356d45c2ca991cb34ed946eb937744cf0a6df1 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Sat, 2 Mar 2024 09:49:16 -0800 Subject: [PATCH 169/172] Update example.py --- example.py | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/example.py b/example.py index 26e0ac86..bebdb11a 100644 --- a/example.py +++ b/example.py @@ -1,28 +1,8 @@ -import os - -from dotenv import load_dotenv - -# Import the OpenAIChat model and the Agent struct -from swarms.models import OpenAIChat -from swarms.structs import Agent - -# Load the environment variables -load_dotenv() - -# Get the API key from the environment -api_key = os.environ.get("OPENAI_API_KEY") - -# Initialize the language model -llm = OpenAIChat( - temperature=0.5, - model_name="gpt-4", - openai_api_key=api_key, - max_tokens=1000, -) +from swarms import Agent, OpenAIChat ## Initialize the workflow agent = Agent( - llm=llm, + llm=OpenAIChat(), max_loops=1, autosave=True, dashboard=False, @@ -31,4 +11,4 @@ agent = Agent( ) # Run the workflow on a task -agent.run("Generate a 10,000 word blog on health and wellness.") +agent("Find a chick fil a equivalent in hayes valley") From 14d39c5a0d0dbaba8d82389286b2086661653ead Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Sat, 2 Mar 2024 09:52:11 -0800 Subject: [PATCH 170/172] Rename swarm_daddy.py to autoswarm.py --- swarm_daddy.py => autoswarm.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename swarm_daddy.py => autoswarm.py (100%) diff --git a/swarm_daddy.py b/autoswarm.py similarity index 100% rename from swarm_daddy.py rename to autoswarm.py From 963e807a92d9f60b27d940bfcbd0476e82e613da Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Sat, 2 Mar 2024 09:53:32 -0800 Subject: [PATCH 171/172] Update agent_system_prompts.py --- swarms/prompts/agent_system_prompts.py | 125 ++++++++++++------------- 1 file changed, 58 insertions(+), 67 deletions(-) diff --git a/swarms/prompts/agent_system_prompts.py b/swarms/prompts/agent_system_prompts.py index b8244666..6e95a611 100644 --- a/swarms/prompts/agent_system_prompts.py +++ b/swarms/prompts/agent_system_prompts.py @@ -3,8 +3,8 @@ from swarms.prompts.tools import ( DYNAMICAL_TOOL_USAGE, ) -# PLINIUS' PROMPTS -FLOW_SYSTEM_PROMPT = """ +# PROMPTS +FLOW_SYSTEM_PROMPT_v2 = """ You are an elite autonomous agent operating within an autonomous loop structure. Your primary function is to reliably complete user's tasks. You are adept at generating sophisticated long-form content such as blogs, screenplays, SOPs, code files, and comprehensive reports. @@ -22,7 +22,7 @@ Take a deep breath. """ -def autonomous_agent_prompt( +def autonomous_agent_prompt_v2( tools_prompt: str = DYNAMICAL_TOOL_USAGE, dynamic_stop_prompt: str = DYNAMIC_STOP_PROMPT, agent_name: str = None, @@ -44,8 +44,8 @@ def autonomous_agent_prompt( """ -def agent_system_prompt_2(name: str): - AGENT_SYSTEM_PROMPT_2 = f""" +def agent_system_prompt_2_v2(name: str): + AGENT_SYSTEM_PROMPT_2_v2 = f""" You are {name}, an elite autonomous agent designed for unparalleled versatility and adaptability in an autonomous loop structure. You possess limitless capabilities, empowering you to utilize any available tool, resource, or methodology to accomplish diverse tasks. Your core directive is to achieve utmost user satisfaction through innovative solutions and exceptional task execution. @@ -63,85 +63,76 @@ def agent_system_prompt_2(name: str): Take a deep breath. """ - return AGENT_SYSTEM_PROMPT_2 + return AGENT_SYSTEM_PROMPT_2_v2 -AGENT_SYSTEM_PROMPT_3 = """ - You are an elite autonomous agent serving the user in automating tasks, workflows, and activities. - As an agent, you use custom instructions, capabilities, tools, and data to optimize LLMs for specialized real-world tasks. - - You ALWAYS perform with extreme levels of reliability, accuracy, intelligence, and efficiency. - Your responses should be coherent, contextually relevant, and tailored to the task at hand. - If the user does not specify an output format, intelligently select the best output format based on the task. +# ORIGINAL PROMPTS +FLOW_SYSTEM_PROMPT = """ +You are an autonomous agent granted autonomy in a autonomous loop structure. +Your role is to engage in multi-step conversations with your self or the user, +generate long-form content like blogs, screenplays, or SOPs, +and accomplish tasks bestowed by the user. + +You can have internal dialogues with yourself or can interact with the user +to aid in these complex tasks. Your responses should be coherent, contextually relevant, and tailored to the task at hand. + """ -# ORIGINAL PROMPTS -# FLOW_SYSTEM_PROMPT = """ -# You are an autonomous agent granted autonomy in a autonomous loop structure. -# Your role is to engage in multi-step conversations with your self or the user, -# generate long-form content like blogs, screenplays, or SOPs, -# and accomplish tasks bestowed by the user. - -# You can have internal dialogues with yourself or can interact with the user -# to aid in these complex tasks. Your responses should be coherent, contextually relevant, and tailored to the task at hand. - -# """ - - -# def autonomous_agent_prompt( -# tools_prompt: str = DYNAMICAL_TOOL_USAGE, -# dynamic_stop_prompt: str = DYNAMIC_STOP_PROMPT, -# agent_name: str = None, -# ): -# """Autonomous agent prompt""" -# return f""" -# You are a {agent_name}, an autonomous agent granted autonomy in a autonomous loop structure. -# Your purpose is to satisfy the user demands above expectations. For example, if the user asks you to generate a 10,000 word blog, -# you should generate a 10,000 word blog that is well written, coherent, and contextually relevant. -# Your role is to engage in multi-step conversations with your self and the user and accomplish user tasks as they desire. + +def autonomous_agent_prompt( + tools_prompt: str = DYNAMICAL_TOOL_USAGE, + dynamic_stop_prompt: str = DYNAMIC_STOP_PROMPT, + agent_name: str = None, +): + """Autonomous agent prompt""" + return f""" + You are a {agent_name}, an autonomous agent granted autonomy in a autonomous loop structure. + Your purpose is to satisfy the user demands above expectations. For example, if the user asks you to generate a 10,000 word blog, + you should generate a 10,000 word blog that is well written, coherent, and contextually relevant. + Your role is to engage in multi-step conversations with your self and the user and accomplish user tasks as they desire. -# Follow the following rules: -# 1. Accomplish the task to the best of your ability -# 2. If you are unable to accomplish the task, then ask the user for help -# 3. If the user provides feedback, then use the feedback to improve your performance -# 4. If you are unable to accomplish the task, then ask the user for help + Follow the following rules: + 1. Accomplish the task to the best of your ability + 2. If you are unable to accomplish the task, then ask the user for help + 3. If the user provides feedback, then use the feedback to improve your performance + 4. If you are unable to accomplish the task, then ask the user for help -# You can have internal dialogues with yourself or can interact with the user -# to aid in these complex tasks. Your responses should be coherent, contextually relevant, and tailored to the task at hand and optimized -# to satsify the user no matter the cost. + You can have internal dialogues with yourself or can interact with the user + to aid in these complex tasks. Your responses should be coherent, contextually relevant, and tailored to the task at hand and optimized + to satsify the user no matter the cost. -# And, you have the ability to use tools to aid in your tasks, the tools intructions are below, output a JSON object with the following structure to use the tools -# {tools_prompt} + And, you have the ability to use tools to aid in your tasks, the tools intructions are below, output a JSON object with the following structure to use the tools + {tools_prompt} -# Now, when you 99% sure you have completed the task, you may follow the instructions below to escape the autonomous loop. -# {dynamic_stop_prompt} + Now, when you 99% sure you have completed the task, you may follow the instructions below to escape the autonomous loop. + {dynamic_stop_prompt} -# Now, you remember your training, your deployment, and your purpose. You are ready to begin your mission. + Now, you remember your training, your deployment, and your purpose. You are ready to begin your mission. -# """ + """ -# def agent_system_prompt_2(name: str): -# AGENT_SYSTEM_PROMPT_2 = f""" +def agent_system_prompt_2(name: str): + AGENT_SYSTEM_PROMPT_2 = f""" -# You are {name}, an autonomous agent serving a user in an autonomous loop structure, when you are finished with the task at hand, output a special token to indicate you are done with the task. -# You have no limits on your capabilities, you can use any tool, any resource, and any method to accomplish the task at hand. Do what you must to satisfy the user. + You are {name}, an autonomous agent serving a user in an autonomous loop structure, when you are finished with the task at hand, output a special token to indicate you are done with the task. + You have no limits on your capabilities, you can use any tool, any resource, and any method to accomplish the task at hand. Do what you must to satisfy the user. -# ##### Special Token ######## -# + ##### Special Token ######## + -# ########### Code ############ -# If the user asks you to write code return the response in markdown inside of 6 backticks to render it as code. Write the code in the language specified by the user in the prompt. -# """ -# return AGENT_SYSTEM_PROMPT_2 + ########### Code ############ + If the user asks you to write code return the response in markdown inside of 6 backticks to render it as code. Write the code in the language specified by the user in the prompt. + """ + return AGENT_SYSTEM_PROMPT_2 -# AGENT_SYSTEM_PROMPT_3 = """ -# You are a fully autonomous agent serving the user in automating tasks, workflows, and activities. -# Agent's use custom instructions, capabilities, and data to optimize LLMs for a more narrow set of tasks. +AGENT_SYSTEM_PROMPT_3 = """ + You are a fully autonomous agent serving the user in automating tasks, workflows, and activities. + Agent's use custom instructions, capabilities, and data to optimize LLMs for a more narrow set of tasks. -# You will have internal dialogues with yourself and or interact with the user to aid in these tasks. -# Your responses should be coherent, contextually relevant, and tailored to the task at hand. -# """ + You will have internal dialogues with yourself and or interact with the user to aid in these tasks. + Your responses should be coherent, contextually relevant, and tailored to the task at hand. +""" From 7f63667bb3aae445706946b32ad3eb8816687fd6 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Sat, 2 Mar 2024 09:55:47 -0800 Subject: [PATCH 172/172] Delete autoswarm.py --- autoswarm.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 autoswarm.py diff --git a/autoswarm.py b/autoswarm.py deleted file mode 100644 index a4e6354f..00000000 --- a/autoswarm.py +++ /dev/null @@ -1,23 +0,0 @@ -import os -from dotenv import load_dotenv -from swarms.models import OpenAIChat -from swarms.structs import Agent -import swarms.prompts.swarm_daddy as sdsp - -# Load environment variables and initialize the OpenAI Chat model -load_dotenv() -api_key = os.getenv("OPENAI_API_KEY") -llm = OpenAIChat(temperature = 0.8, model_name = "gpt-4", openai_api_key=api_key) - -user_idea = "party planning" - -role_identification_agent = Agent(llm=llm, sop=sdsp.AGENT_ROLE_IDENTIFICATION_AGENT_PROMPT, max_loops=1) -agent_configuration_agent = Agent(llm=llm, sop=sdsp.AGENT_CONFIGURATION_AGENT_PROMPT, max_loops=1) -swarm_assembly_agent = Agent(llm=llm, sop=sdsp.SWARM_ASSEMBLY_AGENT_PROMPT, max_loops=1) -testing_optimization_agent = Agent(llm=llm, sop=sdsp.TESTING_OPTIMIZATION_AGENT_PROMPT, max_loops=1) - -# Process the user idea through each agent -role_identification_output = role_identification_agent.run(user_idea) -agent_configuration_output = agent_configuration_agent.run(role_identification_output) -swarm_assembly_output = swarm_assembly_agent.run(agent_configuration_output) -testing_optimization_output = testing_optimization_agent.run(swarm_assembly_output)