repowiserepowise
Sign in
mem0ai/mem0
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowisemem0ai/mem0
ME
ME

mem0ai / mem0

typescriptpythonmain001c235228.5K linessynced 1mo ago

Code health

7.1out of 10Good

This codebase scores 7.1 out of 10 for code health, which we rate good. It also scores maintainability 7.9 and static performance 9.9 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 94 of 1,491 files are git hotspots, and they average 4.3 — which is where the fixes pay off most.

Full health report →
Documentation1,310pages0 with model-written prose, 1,310 built from the indexScore validation20/204.1× baselineTop-ranked files that did go on to need a bug fixDead code158exportsUnused exports that nothing in the graph reaches

Do next

1 thing worth doing this quarter.

Worth planning

  • Delete 136 unused symbols and files (1,702 lines)

    Nothing in the graph reaches them, across 51 files; every reader and agent pays to skip them.

    symbols
    136
    lines
    1,702
    safe to delete
    Yes(inferred)
    Medium effort

Improve what Repowise can see

  • Add a test coverage report

    Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.

    line coverage
    Unknown, no report
    Small effort
Lines of code
228.5K
Files
1,491
Symbols
8,251
Modules
11
Languages
6

Recent activity

All commits →

Commits

  • 001c2352Fix broken links: remove duplicate reranking redirect (#6975)1mo ago
  • bf2d591bdocs: remove Controlling Memory Ingestion cookbook, redirect to Custom Instructions (#6955)1mo ago
  • b4c50550docs: correct client call shape and stale v1 response examples (#6901)1mo ago
  • 290de24bfeat(ci): gate pull requests on an accepted issue (#6894)1mo ago
  • ef6f51d9fix(tests): check for RediSearch module availability in Redis tests (#6687)1mo ago
  • a10c0cd0fix(mem0-plugin): stop search errors from looking like empty results (#6898)1mo ago

Decisions

  • Avoid legacy max_tokens for GPT-5 modelsproposed · 1mo ago
  • Explicit reasoning model detection overrides name heuristicproposed · 1mo ago
▸

Everything we found

3,290 open

Every detector's open count by area, each with its worst example. An inventory, not a to-do list: the actions above are the part worth doing.

  • worst item is critical severity. Code health1,895Change entropy · mem0-ts/src/oss/src/memory/index.ts67 findings · 8.0 deducted→
  • worst item is medium severity. Refactoring278loadDreamConfig+1.5 health, S effort · integrations/mem0-plugin/.opencode-plugin/dream.ts→
  • worst item is medium severity. Decisions96mem0-ts/src/oss/tests/vector-stores-compat.test.ts2 awaiting review · 94 hotspots ungoverned→
  • worst item is medium severity. Ownership869tests/vector_stores/test_pgvector.py91% single-owner concentration, 8 commits in 90d→
  • worst item is low severity. Dead code152DIM_COLORUnreachable constant (0 lines)→

Composition

Open the graph →
typescript 57%python 37%
javascript 3%shell 3%makefile 0%Other 0%

Explore this codebase

  • Docs1,310 pages across 11 modules→
  • ChatAsk this codebase a question and get an answer with its sources.→
  • Files1,491 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 121 entry points→
  • Code healthPer-file scores, 2,229 open findings, coverage and refactoring targets→
  • Knowledge graphEntities, communities, and the paths between them→
  • Change couplingFiles that keep changing together, mined from commit history→
  • CommitsChange-risk ranked history with agent provenance→
  • ContributorsBus factor, per-file maintainers, and the human/agent split→
  • StatsSize class, origin, lifetime churn, rhythm and records→
  • CostsWhat indexing this snapshot cost, by model and by run.→