-
Notifications
You must be signed in to change notification settings - Fork 287
Expand file tree
/
Copy pathpyproject.toml
More file actions
227 lines (211 loc) · 5.36 KB
/
pyproject.toml
File metadata and controls
227 lines (211 loc) · 5.36 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "mirix"
version = "0.1.0"
description = "Multi-Agent Personal Assistant with an Advanced Memory System"
readme = "README.md"
license = {text = "Apache License 2.0"}
authors = [
{name = "Mirix AI", email = "yuwang@mirix.io"}
]
maintainers = [
{name = "Mirix AI", email = "yuwang@mirix.io"}
]
keywords = ["ai", "memory", "agent", "llm", "assistant", "chatbot", "multimodal"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"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",
"Topic :: Communications :: Chat",
]
requires-python = ">=3.10,<4.0"
dependencies = [
"pytz",
"numpy",
"pandas",
"openpyxl",
"Markdown",
"Pillow>=10.2.0,<11.0.0", # Compatible with composio-core
"scikit-image",
"openai>=1.108.1,<2.0.0",
"tiktoken",
"google-genai",
"python-dotenv",
"demjson3",
"pathvalidate",
"docstring_parser",
"sqlalchemy",
"asyncpg",
"aiosqlite",
"httpx",
"pydantic-settings",
"jinja2",
"humps",
"composio",
"colorama",
"anthropic",
"httpx_sse",
"rapidfuzz",
"rank-bm25",
"psutil",
"llama_index",
"llama-index-embeddings-google-genai",
"fastapi>=0.104.1",
"uvicorn[standard]>=0.31.1", # Compatible with mcp
"pydub",
"python-multipart",
"opentelemetry-api",
"opentelemetry-sdk",
"opentelemetry-exporter-otlp",
"opentelemetry-instrumentation-requests",
"SpeechRecognition",
"pg8000",
"pgvector",
"json_repair",
"rich>=13.7.1,<14.0.0", # Compatible with composio-core
"psycopg2-binary",
"anyio>=4.7.0", # Explicitly specify for mcp and sse-starlette compatibility
"mcp", # MCP (Model Context Protocol) client
"google-auth", # Google authentication library
"google-auth-oauthlib", # Google OAuth library
"aiogoogle", # Async Google API client (Gmail, Drive, etc.)
"pytest (>=8.4.2,<9.0.0)",
"ruff (>=0.13.3,<0.14.0)",
"pyright (>=1.1.406,<2.0.0)",
"ipdb (>=0.13.13,<0.14.0)",
"protobuf (>=5.0.0,<6.0.0)",
"redis[hiredis] (>=7.0.1,<8.0.0)", # async client only (redis.asyncio); no sync redis
"bcrypt (>=4.0.0)",
"PyJWT (>=2.10.1)",
"langfuse (>=3.11.0,<4.0.0)",
"aiokafka (>=0.13.0,<0.14.0)",
"asyncddgs",
]
[project.optional-dependencies]
dev = [
"pytest>=6.0.0",
"pytest-asyncio",
"black==25.11.0",
"isort",
"flake8",
"mypy>=1.0.0",
]
voice = [
"SpeechRecognition",
"pydub",
]
full = [
"SpeechRecognition",
"pydub",
]
[project.urls]
Homepage = "https://mirix.io"
Documentation = "https://docs.mirix.io"
Repository = "https://github.com/Mirix-AI/MIRIX"
Issues = "https://github.com/Mirix-AI/MIRIX/issues"
[project.scripts]
mirix = "mirix.__main__:main"
[tool.setuptools.packages.find]
exclude = ["tests*", "scripts*", "frontend*", "public_evaluations*", "mirix_env*"]
[tool.setuptools.package-data]
mirix = [
"*.yaml",
"*.yml",
"*.txt",
"configs/*.yaml",
"configs/*.yml",
"prompts/**/*.txt",
"prompts/**/*.yaml",
"prompts/**/*.yml",
]
[tool.setuptools.exclude-package-data]
"*" = ["tests*", "frontend*", "scripts*", "public_evaluations*"]
[tool.black]
line-length = 120
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| frontend
)/
'''
[tool.isort]
profile = "black"
line_length = 120
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
skip_glob = ["frontend/**"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
disallow_untyped_decorators = false
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
show_error_codes = true
show_column_numbers = true
pretty = true
# Exclude patterns
exclude = [
"/(\\.eggs|\\.git|\\.hg|\\.mypy_cache|\\.tox|\\.venv|_build|buck-out|build|dist|frontend)/",
"tests/",
"scripts/",
"samples/",
]
# Per-module options
[[tool.mypy.overrides]]
module = [
"composio.*",
"llama_index.*",
"llama-index-embeddings-google-genai.*",
"pgvector.*",
"mcp.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
[tool.poetry.group.dev.dependencies]
grpcio-tools = ">=1.66.0,<1.67.0"
pytest-asyncio = "^1.3.0"
[dependency-groups]
dev = [
"grpcio-tools (>=1.66.0,<1.67.0)"
]