diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..d3056959 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +install: + @echo "Installing dependencies..." + @command -v poetry >/dev/null 2>&1 || { echo >&2 "Poetry not found, installing..."; curl -sSL https://install.python-poetry.org | python3 - ; } + poetry install + +list_agents: + @echo "Listing all agents in autogpts..." + @for agent in $$(ls autogpts); do \ + echo \\t$$agent; \ + done + @echo \\t"forge" + + +benchmark_%: + @echo "Running benchmark for $*" + poetry run sh -c 'export PYTHONPATH=$$PYTHONPATH:./benchmark:./autogpts/$*; echo $$PYTHONPATH; python -m benchmark start --agent-config autogpts/$*/benchmark_config.json' + + +run: + python main.py + diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..324c8fd7 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,14 @@ +[tool.poetry] +name = "auto-gpt" +version = "0.1.0" +description = "" +authors = ["SwiftyOS "] +readme = "README.md" + +[tool.poetry.dependencies] +python = "^3.11" + + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api"