[project]
name = "bot-brain"
version = "0.7.0"
description = "面向研发 Agent 的项目知识图谱引擎"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "DeepRust"},
]
keywords = ["knowledge-graph", "code-analysis", "mcp", "ai-agents", "tree-sitter", "rust", "cpp"]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"mcp[cli]>=1.28.1,<2",
"markitdown[docx,xlsx,pptx,pdf]>=0.1.6",
"pyyaml>=6.0.3",
"tree-sitter>=0.25.2",
"tree-sitter-c>=0.24.2",
"tree-sitter-cpp>=0.23.4",
"tree-sitter-go>=0.25.0",
"tree-sitter-java>=0.23.5",
"tree-sitter-python>=0.25.0",
"tree-sitter-rust>=0.24.2",
"tree-sitter-typescript>=0.23.2",
"typing-extensions>=4.15.0",
"watchdog>=6.0.0",
"faiss-cpu>=1.7.0",
"fastembed>=0.3.0",
"numpy>=2.1,<2.3",
"requests>=2.28",
"urllib3>=2.0",
]
[project.optional-dependencies]
dev = ["pytest>=7.0"]
wiki = ["playwright>=1.40"]
[project.urls]
Homepage = "https://gitcode.com/DeepRust/project-brain"
Issues = "https://gitcode.com/DeepRust/project-brain/issues"
[project.scripts]
bot-brain = "project_brain.__main__:main"
project-brain = "project_brain.__main__:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/project_brain"]
artifacts = ["src/project_brain/build/**"]
[tool.hatch.build.targets.sdist]
exclude = [
"model/",
"docs/",
"skills/",
"benchmarks/",
"dist/",
"demo_query.py",
"RELEASE-*.md",
"INIT.md",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
[dependency-groups]
dev = [
"openpyxl>=3.1.5",
"pytest>=9.0.3",
"python-docx>=1.2.0",
]