pyproject.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. [project]
  2. name = "cyber-agent"
  3. version = "0.4.0"
  4. description = "模块化、可扩展的 Agent 框架"
  5. readme = "README.md"
  6. requires-python = ">=3.11"
  7. dependencies = [
  8. "httpx[socks]>=0.28.0",
  9. "openai>=2.16.0,<3",
  10. "python-dotenv>=1.0.0",
  11. "pydantic",
  12. "pillow>=10.0.0",
  13. "pyyaml>=6.0.0",
  14. "python-dateutil>=2.9.0",
  15. "filelock>=3.15.0",
  16. ]
  17. [project.optional-dependencies]
  18. dev = [
  19. "pytest>=8.0",
  20. "pytest-asyncio>=0.23",
  21. "pytest-cov>=5.0",
  22. ]
  23. browser = [
  24. "browser-use>=0.11.0",
  25. "langchain_core>=0.3.0",
  26. "PyMySQL>=1.1.0",
  27. "DBUtils>=3.1.0",
  28. ]
  29. server = [
  30. "fastapi>=0.115.0",
  31. "uvicorn[standard]>=0.32.0",
  32. "websockets>=13.0",
  33. ]
  34. feishu = [
  35. "lark-oapi==1.5.3",
  36. ]
  37. all = [
  38. "browser-use>=0.11.0",
  39. "langchain_core>=0.3.0",
  40. "PyMySQL>=1.1.0",
  41. "DBUtils>=3.1.0",
  42. "fastapi>=0.115.0",
  43. "uvicorn[standard]>=0.32.0",
  44. "websockets>=13.0",
  45. "lark-oapi==1.5.3",
  46. ]
  47. [build-system]
  48. requires = ["setuptools>=68.0"]
  49. build-backend = "setuptools.build_meta"
  50. [tool.setuptools.packages.find]
  51. include = ["agent*"]
  52. [tool.pytest.ini_options]
  53. asyncio_mode = "auto"
  54. testpaths = ["tests"]
  55. pythonpath = ["."]