[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", # The Anthropic client speaks the httpx-based SDK (0.x): anthropic 1.x moved to # httpx2 and dropped arguments MIRIX sends (e.g. temperature). Kept in step # with uv.lock. "anthropic>=0.94.0,<1.0.0", "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)" ]