[bot] Instrument Mem0 (470,878 weekly downloads)
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 68/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- python
- Domínio
- observability
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Python
- Estrelas
- 20
- Forks
- 18
- Merge médio
- 1d 1h
- PRs com merge (30d)
- 82
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de braintrustdata/braintrust-sdk-python
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
braintrustdata/braintrust-sdk-python#797 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
braintrustdata/braintrust-sdk-python#774 ·
Mantenedores costumam responder em até 1 dia
-
Track new instrumentable SDK features from weekly dependency update (#805)Talvez já em andamento @AbhiPrasad assumiu há 2 dias. Abertafeature python
braintrustdata/braintrust-sdk-python#812 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
new-integration
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
braintrustdata/braintrust-sdk-python#807 ·
Mantenedores costumam responder em até 1 dia
-
new-integration
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 45/100
braintrustdata/braintrust-sdk-python#806 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de braintrustdata/braintrust-sdk-python
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
kornia/kornia#5263 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
approved correction metadata
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
acl-org/acl-anthology#10133 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
BasedHardware/omi#20084 ·
Mantenedores costumam responder em até 1 dia
-
bug needs-acceptance wg/evaluation-quality
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
vllm-project/semantic-router#4424 ·
Mantenedores costumam responder em até 1 dia