Comparison
TNN vs claude-mem
Verdict
Pick TNN if developed by Tencent Labs, TNN offers strong cross-platform performance with efficient model compression and runtime optimization for mobile to server use; pick claude-mem if claude-mem provides persistent context across sessions, leveraging AI to capture and compress agent activity.
Markdown twin · TNN alternatives · claude-mem alternatives
GraphCanon updated 2d
Trust & integrity
| Signal | TNN | claude-mem |
|---|---|---|
| Maintenance | Dormant (452d since push) As of 2w · github_public_v1 | Very active (0d since push) As of 2d · github_public_v1 |
| Provenance | Not a fork · Organization account As of 2w · github_public_v1 | Not a fork · Personal account As of 2d · github_public_v1 |
| OSV dependency advisories | No lockfile (source not queried) As of 1mo · osv@v1 | No lockfile (source not queried) As of 1mo · osv@v1 |
| deps.dev advisories | Not queried deps.dev@v1 | Not queried deps.dev@v1 |
| OpenSSF Scorecard | Not queried openssf-scorecard@v1 | Not queried openssf-scorecard@v1 |
Tagline
- TNN
- A cross-platform deep learning inference framework for diverse computing environments, from mobile to desktop and server.
- claude-mem
- Persistent Context Across Sessions for Every Agent
Stars
- TNN
- 4.6k
- claude-mem
- 91k
Forks
- TNN
- 772
- claude-mem
- 8.0k
Open issues
- TNN
- 318
- claude-mem
- 200
Language
- TNN
- C++
- claude-mem
- JavaScript
Adopt for
- TNN
- Developed by Tencent Labs, TNN offers strong cross-platform performance with efficient model compression and runtime optimization for mobile to server use.
- claude-mem
- claude-mem provides persistent context across sessions, leveraging AI to capture and compress agent activity.
Persona
- TNN
- -
- claude-mem
- -
Runtime
- TNN
- -
- claude-mem
- -
License
- TNN
- Other
- claude-mem
- Claude-Mem is distributed under the Apache License 2.0, allowing it to be freely used in a variety of development and production environments while maintaining clear licensing terms.
Last pushed
- TNN
- May 9, 2025
- claude-mem
- Aug 17, 2026
Categories
- TNN
- Inference & Serving
- claude-mem
- AI Agents, Inference & Serving
Trust and health
Maintenance
- TNN
- Dormant (18%)
- claude-mem
- Very active (96%)
Days since push
- TNN
- 452d
- claude-mem
- 0d
Open issues (now)
- TNN
- 318
- claude-mem
- 200
Stars delta
- TNN
- Unknown
- claude-mem
- +3.3k (30d)
Open issues delta
- TNN
- Unknown
- claude-mem
- -116 (30d)
Owner type
- TNN
- Organization
- claude-mem
- User
Full report
- TNN
- Trust report
- claude-mem
- Trust report
Choose TNN if…
- TNN is primarily C++; claude-mem is JavaScript.
- License: TNN is Other, claude-mem is Apache-2.0.
- Tags unique to TNN: coreml, deep-learning, face-detection, hairsegmentaion.
- When developing AI apps for Tencent-affiliated software like Mobile QQ or Weishi
When NOT to use TNN
- If you prefer a framework that heavily integrates with TensorFlow's ecosystem, as TNN has a steeper learning curve when converting models
- When your project primarily relies on Python environments. TNN is C++-centric with no native Python interface.
Choose claude-mem if…
- claude-mem is primarily JavaScript; TNN is C++.
- License: claude-mem is Apache-2.0, TNN is Other.
- Requirements: Requires Node.js v20.0.0 or higher.; Must have the latest version of Claude Code with plugin support.; Auto-installs Bun (JavaScript runtime and process manager) if not already present.; Requires uv (Python package for vector search), auto-installation supported..
- Tags unique to claude-mem: ai-agents, ai-memory, chromadb, claude.
- Also covers AI Agents.
- claude-mem ships an MCP server manifest.
- When you require seamless and persistent context continuity between different session interactions with Claude Code or other supported agents.
When NOT to use claude-mem
- When working in environments where Node.js v20.0.0 or higher cannot be installed, as claude-mem requires this version to operate.
- If your specific AI agent or tool does not integrate with the supported frameworks listed (e.g., Claude Code, OpenClaw), making context persistence ineffective for your workflow.
Explore
Sources
Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.
- GitHub stars (Tencent/TNN) · observed Aug 4, 2026
- GitHub forks (Tencent/TNN) · observed Aug 4, 2026
- Last push (Tencent/TNN) · observed May 9, 2025
- License file (Other) · observed Aug 4, 2026
- Decision facts (enrichment) · observed Jul 17, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
- GitHub stars (thedotmack/claude-mem) · observed Aug 18, 2026
- GitHub forks (thedotmack/claude-mem) · observed Aug 18, 2026
- Last push (thedotmack/claude-mem) · observed Aug 17, 2026
- License file (Apache-2.0) · observed Aug 18, 2026
- Decision facts (enrichment) · observed Jul 11, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
GitHub stars on cards: TNN 4.6k · claude-mem 91k (synced Aug 4, 2026).
Common questions
- What is the difference between TNN and claude-mem?
- TNN: A cross-platform deep learning inference framework for diverse computing environments, from mobile to desktop and server.. claude-mem: Persistent Context Across Sessions for Every Agent. See the comparison table for live GitHub stats and shared categories.
- When should I choose TNN over claude-mem?
- Choose TNN over claude-mem when TNN is primarily C++; claude-mem is JavaScript; License: TNN is Other, claude-mem is Apache-2.0; Tags unique to TNN: coreml, deep-learning, face-detection, hairsegmentaion; When developing AI apps for Tencent-affiliated software like Mobile QQ or Weishi.
- When should I choose claude-mem over TNN?
- Choose claude-mem over TNN when claude-mem is primarily JavaScript; TNN is C++; License: claude-mem is Apache-2.0, TNN is Other; Requirements: Requires Node.js v20.0.0 or higher.; Must have the latest version of Claude Code with plugin support.; Auto-installs Bun (JavaScript runtime and process manager) if not already present.; Requires uv (Python package for vector search), auto-installation supported.; Tags unique to claude-mem: ai-agents, ai-memory, chromadb, claude; Also covers AI Agents; claude-mem ships an MCP server manifest; When you require seamless and persistent context continuity between different session interactions with Claude Code or other supported agents.
- When should I avoid TNN?
- If you prefer a framework that heavily integrates with TensorFlow's ecosystem, as TNN has a steeper learning curve when converting models When your project primarily relies on Python environments. TNN is C++-centric with no native Python interface.
- When should I avoid claude-mem?
- When working in environments where Node.js v20.0.0 or higher cannot be installed, as claude-mem requires this version to operate. If your specific AI agent or tool does not integrate with the supported frameworks listed (e.g., Claude Code, OpenClaw), making context persistence ineffective for your workflow.
- Is TNN or claude-mem more popular on GitHub?
- claude-mem has more GitHub stars (91,018 vs 4,643). Stars measure visibility, not whether either tool fits your constraints.
- Are TNN and claude-mem open source?
- Yes - both are open-source projects on GitHub (TNN: Other, claude-mem: Apache-2.0).
- Where can I find alternatives to TNN or claude-mem?
- GraphCanon lists graph-backed alternatives at TNN alternatives and claude-mem alternatives (TNN markdown twin, claude-mem markdown twin), ranked by typed relationship edges rather than popularity votes.
- Is there a machine-readable version of this comparison?
- Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
- Which is better maintained, TNN or claude-mem?
- TNN: Dormant. claude-mem: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
- Where are the full trust reports for TNN and claude-mem?
- GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: TNN trust report; claude-mem trust report.