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.

Add Nix flakes support through direnv

superherointjd47466ddf949
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000000..a7ad726377
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,4 @@
+# Upon entering directory, direnv requests user permission once to automatically load project dependencies onwards.
+# Eliminating the need of running "nix develop github:superherointj/nix-auto-gpt" for Nix users to develop/use Auto-GPT.
+
+[[ -z $IN_NIX_SHELL ]] && use flake github:superherointj/nix-auto-gpt
diff --git a/.gitignore b/.gitignore
index 2220ef6e3a..26d7e5a3f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -127,6 +127,7 @@ celerybeat.pid
*.sage.py
# Environments
+.direnv/
.env
.venv
env/