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 pyproject file to autogpt.core

Reinier van der Leer42bc3af1090d
diff --git a/autogpts/autogpt/autogpt/core/pyproject.toml b/autogpts/autogpt/autogpt/core/pyproject.toml
new file mode 100644
index 0000000000..174d31492f
--- /dev/null
+++ b/autogpts/autogpt/autogpt/core/pyproject.toml
@@ -0,0 +1,69 @@
+[tool.poetry]
+name = "agpt"
+version = "1.0.0"
+authors = ["Significant Gravitas <[email protected]>"]
+maintainers = ["Reinier van der Leer <[email protected]>"]
+description = "An open-source attempt at an autonomous generalist agent"
+readme = "README.md"
+repository = "https://github.com/Significant-Gravitas/Auto-GPT/tree/master/autogpts/agpt"
+# documentation = "https://docs.agpt.co/autogpts/agpt" # TODO
+classifiers = [
+ "Programming Language :: Python :: 3",
+ "License :: OSI Approved :: MIT License",
+ "Operating System :: OS Independent",
+]
+
+[tool.poetry.dependencies]
+python = "^3.10"
+agent-protocol = "^0.3.0"
+click = "^8.1.7"
+distro = "^1.8.0"
+inflection = "^0.5.1"
+openai = "^0.28.0"
+pydantic = "^2.3.0"
+pyyaml = "^6.0.0"
+
+[build-system]
+requires = ["poetry-core"]
+build-backend = "poetry.core.masonry.api"
+
+
+[tool.black]
+line-length = 88
+target-version = ['py310']
+include = '\.pyi?$'
+packages = ["autogpt"]
+extend-exclude = '.+/(dist|.venv|venv|build)/.+'
+
+[tool.isort]
+profile = "black"
+multi_line_output = 3
+include_trailing_comma = true
+force_grid_wrap = 0
+use_parentheses = true
+ensure_newline_before_comments = true
+line_length = 88
+sections = [
+ "FUTURE",
+ "STDLIB",
+ "THIRDPARTY",
+ "FIRSTPARTY",
+ "LOCALFOLDER"
+]
+skip = '''
+ .tox
+ __pycache__
+ *.pyc
+ .env
+ venv*/*
+ .venv/*
+ reports/*
+ dist/*
+
+'''
+
+[tool.pytest.ini_options]
+markers = [
+ "requires_openai_api_key",
+ "requires_huggingface_api_key"
+]