[bot] Instrument Mem0 (470,878 weekly downloads)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- observability
Línea de trabajo
Start by reading the existing files under py/src/braintrust/integrations/ and py/src/braintrust/wrappers/, then inspect py/noxfile.py and the [tool.braintrust.matrix] section of py/pyproject.toml. Trace the Mem0 Memory and AsyncMemory entry points named in the issue and identify how integrations are registered and tested. Done means add coverage for add, search, and get_all, including their internal LLM and embedding work, with the integration, cassette directory, nox session, and matrix entry described in the issue.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
mem0ai (import name mem0, by Mem0) is a widely used persistent-memory layer for LLM agents. Its core Memory class exposes .add(messages, user_id=...) and .search(query, filters={"user_id": ...}) as the primary execution surface. Critically, Memory().add() calls an LLM internally by default (OpenAI gpt-5-mini for fact extraction/updates, plus text-embedding-3-small for embeddings) to extract and consolidate facts from conversation messages before storing them — this is a genuine LLM-driven execution step, not just a database write, and it happens invisibly to Braintrust today.
This repository has zero instrumentation for Mem0 anywhere: no py/src/braintrust/integrations/mem0* directory, no wrapper, no nox session, no cassette directory, and no entry in py/pyproject.toml's [tool.braintrust.matrix].
What's missing
Memory.add()/AsyncMemory.add()— stores new memories from a message list; internally triggers an LLM call for fact extraction/update plus an embedding call, both currently untraced.Memory.search()/AsyncMemory.search()— retrieves relevant memories via vector search, filtered byuser_id/other filters; the core "memory retrieval" step in an agent's context-assembly loop.Memory.get_all()— full CRUD listing of stored memories for a given filter scope.
Weekly downloads
Weekly downloads: 470,878 (as of 2026-09-28; https://pypistats.org/api/packages/mem0ai/recent)
Braintrust docs status
not_found. Checked https://www.braintrust.dev/docs/guides/tracing and https://www.braintrust.dev/docs/guides/tracing/integrations (both checked 2026-09-28) — neither the tracing-integrations list nor the agent-framework list ("Agno, OpenAI Agents SDK, Claude Agent SDK, Pi Coding Agent SDK, Deep Agents, LangGraph, CrewAI, AutoGen, AgentScope, Google ADK, LiveKit Agents, Mastra, Pipecat, Pydantic AI, Strands Agents SDK, Cloudflare Agents, Cloudflare AI Chat") mentions Mem0.
Upstream sources
- PyPI: https://pypi.org/project/mem0ai/
- GitHub: https://github.com/mem0ai/mem0
- Docs (Python quickstart): https://docs.mem0.ai/open-source/python-quickstart
Braintrust docs sources checked
- https://www.braintrust.dev/docs/guides/tracing (checked 2026-09-28)
- https://www.braintrust.dev/docs/guides/tracing/integrations (checked 2026-09-28)
Local repo files inspected
py/src/braintrust/integrations/— nomem0/directorypy/src/braintrust/wrappers/— no Mem0 wrapperpy/pyproject.toml[tool.braintrust.matrix]— nomem0aientrypy/noxfile.py— notest_mem0session- Repo-wide case-insensitive grep for
import mem0/from mem0/mem0aiunderpy/src/braintrust/**/*.py— zero matches
- Lenguaje dominante
- Python
- Estrellas
- 20
- Forks
- 18
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 82
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de braintrustdata/braintrust-sdk-python
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
braintrustdata/braintrust-sdk-python#797 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
braintrustdata/braintrust-sdk-python#774 ·
Los mantenedores suelen responder en 1 día
-
Track new instrumentable SDK features from weekly dependency update (#805)Posiblemente ocupada @AbhiPrasad la tomó hace 3 días. Abiertofeature python
braintrustdata/braintrust-sdk-python#812 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
new-integration
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
braintrustdata/braintrust-sdk-python#807 ·
Los mantenedores suelen responder en 1 día
-
new-integration
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
braintrustdata/braintrust-sdk-python#806 ·
Los mantenedores suelen responder en 1 día
Todos los issues de braintrustdata/braintrust-sdk-python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
mozilla/bedrock#17413 · 1 reacción ·
Los mantenedores suelen responder en 2 días
-
instance instance add
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
searxng/searx-instances#943 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
bug tools
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
lance-format/lance#9655 ·
Los mantenedores suelen responder en 2 días