feat(integrations): strands-mem0 | Mem0 as a native Strands MemoryStore (#7021)
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "strands-mem0"
|
||||
version = "0.1.0"
|
||||
description = "Persistent long-term memory for Strands agents, backed by Mem0."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
license = "Apache-2.0"
|
||||
authors = [
|
||||
{name = "Mem0", email = "founders@mem0.ai"}
|
||||
]
|
||||
keywords = ["strands", "strands-agents", "agents", "ai", "memory", "mem0", "vector-search", "personalization"]
|
||||
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",
|
||||
]
|
||||
|
||||
# strands-agents>=1.45.0: first release shipping the `strands.memory` module
|
||||
# (MemoryStore / MemoryManager) that Mem0MemoryStore implements.
|
||||
dependencies = [
|
||||
"strands-agents>=1.45.0",
|
||||
"mem0ai>=2.0.11",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://mem0.ai"
|
||||
Documentation = "https://github.com/mem0ai/mem0/tree/main/integrations/strands-mem0#readme"
|
||||
Repository = "https://github.com/mem0ai/mem0"
|
||||
Issues = "https://github.com/mem0ai/mem0/issues"
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.0.0,<9.0.0",
|
||||
"pytest-asyncio>=0.25.0,<1.0.0",
|
||||
"ruff>=0.11.0,<1.0.0",
|
||||
"mypy>=1.15.0,<2.0.0",
|
||||
"hatch",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/strands_mem0"]
|
||||
|
||||
[tool.hatch.envs.default]
|
||||
dependencies = [
|
||||
"pytest>=8.0.0,<9.0.0",
|
||||
"pytest-asyncio>=0.25.0,<1.0.0",
|
||||
"ruff>=0.11.0,<1.0.0",
|
||||
"mypy>=1.15.0,<2.0.0",
|
||||
]
|
||||
|
||||
[tool.hatch.envs.default.scripts]
|
||||
test = "pytest {args}"
|
||||
lint = "ruff check src tests"
|
||||
format = "ruff format src tests"
|
||||
typecheck = "mypy src"
|
||||
prepare = ["format", "lint", "typecheck", "test"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 120
|
||||
include = ["src/**/*.py", "tests/**/*.py"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
"E", # pycodestyle
|
||||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"B", # flake8-bugbear
|
||||
]
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.10"
|
||||
warn_return_any = true
|
||||
warn_unused_configs = true
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
pythonpath = ["src"]
|
||||
asyncio_mode = "auto"
|
||||
Reference in New Issue
Block a user