forked from wanxingai/LightAgent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (81 loc) · 2.91 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (81 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[tool.poetry]
name = "LightAgent"
version = "0.9.6"
description = "LightAgent: Lightweight AI agent framework with memory, tools & tree-of-thought. Supports multi-agent collaboration, self-learning, and major LLMs (OpenAI/DeepSeek/Qwen). Open-source with MCP/SSE protocol integration."
authors = ["caiweige <caiweige@qq.com>"]
license = "Apache-2.0"
readme = [
"README.md", # English
"README.zh-CN.md", # 简体中文
"README.es.md", # Español
"README.fr.md", # Français
"README.de.md", # Deutsch
"README.ja.md", # 日本語
"README.ko.md", # 한국어
"README.pt.md", # Português
"README.ru.md", # Русский
]
repository = "https://github.com/wanxingai/LightAgent"
homepage = "https://github.com/wanxingai/LightAgent"
documentation = "https://sufe-aiflm-lab.github.io/LightAgent/"
keywords = ["ai-agent", "llm", "mcp", "multi-agent", "tool-calling"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [
{ include = "LightAgent"}
]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
loguru = "0.7.3"
requests = "2.32.3"
openai = ">=1.60.0,<2.0.0"
colorama = "0.4.6"
httpx = "0.28.1"
httpx-sse = "0.4.0"
mcp = ">=1.9.0"
mem0ai = ">=0.1.70"
pydantic-settings = "2.8.1"
langfuse = ">=3.0.0"
PyYAML = ">=6.0.1"
boto3 = {version = ">=1.34.0", optional = true}
litellm = {version = ">=1.80.0,<1.87.0", optional = true}
[tool.poetry.extras]
litellm = ["litellm"]
oss = ["boto3"]
nos = ["boto3"]
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
[tool.ruff]
extend-include = ["*.ipynb"]
extend-exclude = [
"docs/docs/expression_language/why.ipynb" # TODO: look into why linter errors
]
[tool.ruff.lint.per-file-ignores]
"**/{cookbook,docs}/*" = [
"E402", # allow imports to appear anywhere in docs
"F401", # allow "imported but unused" example code
"F811", # allow re-importing the same module, so that cells can stay independent
"F841", # allow assignments to variables that are never read -- it's example code
]
# These files were failing the listed rules at the time ruff was adopted for notebooks.
# Don't require them to change at once, though we should look into them eventually.
"cookbook/gymnasium_agent_simulation.ipynb" = ["F821"]
"docs/docs/integrations/document_loaders/tensorflow_datasets.ipynb" = ["F821"]
[tool.poetry.plugins.dotenv]
ignore = "false"
dotenv = "dotenv:plugin"
[[tool.poetry.source]]
name = "PyPI"
priority="primary"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"