Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Added create agent script

SwiftyOS0782aad3bffb
diff --git a/create_new_agent.sh b/create_new_agent.sh
new file mode 100755
index 0000000000..fca5b6c83a
--- /dev/null
+++ b/create_new_agent.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+if [ "$1" == "--help" ]; then
+ echo "Usage: $0 new_agent_name"
+ echo "This script needs an agent name (no spaces) and it will create a new agent in the autogpts folder."
+ exit 0
+fi
+
+if [ -z "$1" ]; then
+ echo "Error: No agent name provided. Run $0 --help for usage."
+ exit 1
+fi
+
+new_name=$1
+cp -r autogpts/forge autogpts/$new_name
+
+echo "New agent $new_name created and switched to the new directory in autogpts folder."
+