---
title: "statewave vs TencentDB-Agent-Memory"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/smaramwbc-statewave-vs-tencentcloud-tencentdb-agent-memory"
tools: ["smaramwbc-statewave", "tencentcloud-tencentdb-agent-memory"]
---

# statewave vs TencentDB-Agent-Memory

*GraphCanon updated Aug 23, 2026*

## Verdict

Pick statewave if statewave focuses on reproducibility and provenance in memory management for AI agents, using Postgres plus pgvector for self-hosted operations rather than relying on query-time retrieval; pick TencentDB-Agent-Memory if tencentDB-Agent-Memory offers fully local long-term memory capabilities for AI agents with a specialized 4-tier pipeline, ensuring no reliance on external API dependencies.

[statewave](https://statewave.ai) reports 289 GitHub stars, 22 forks, and 14 open issues, last pushed Jul 30, 2026. [TencentDB-Agent-Memory](https://github.com/TencentCloud/TencentDB-Agent-Memory) has 24k stars, 2.2k forks, and 690 open issues, last pushed Aug 15, 2026. Figures are from public GitHub metadata via [statewave's repository](https://github.com/smaramwbc/statewave) and [TencentDB-Agent-Memory's repository](https://github.com/TencentCloud/TencentDB-Agent-Memory).

| | [statewave](/tools/smaramwbc-statewave.md) | [TencentDB-Agent-Memory](/tools/tencentcloud-tencentdb-agent-memory.md) |
| --- | --- | --- |
| Tagline | Open-source memory runtime for AI agents | Fully local long-term memory for AI Agents via 4-tier pipeline |
| Stars | 289 | 23,831 |
| Forks | 22 | 2,204 |
| Open issues | 14 | 690 |
| Language | Python | TypeScript |
| Adopt for | Statewave focuses on reproducibility and provenance in memory management for AI agents, using Postgres plus pgvector for self-hosted operations rather than relying on query-time retrieval. | TencentDB-Agent-Memory offers fully local long-term memory capabilities for AI agents with a specialized 4-tier pipeline, ensuring no reliance on external API dependencies. |
| Persona | - | - |
| Runtime | - | - |
| License | Apache-2.0 | Other |
| Categories | AI Agents, Vector Databases | AI Agents, Vector Databases |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [statewave](/tools/smaramwbc-statewave.md) | [TencentDB-Agent-Memory](/tools/tencentcloud-tencentdb-agent-memory.md) |
| --- | --- | --- |
| Maintenance | Very active (96%) | Active (82%) |
| Days since push | 1d | 7d |
| Open issues (now) | 14 | 690 |
| Stars delta | Unknown | +15k (30d) |
| Open issues delta | Unknown | +355 (30d) |
| Owner type | User | Organization |
| Full report | [trust report](/tools/smaramwbc-statewave/trust.md) | [trust report](/tools/tencentcloud-tencentdb-agent-memory/trust.md) |

## Decision facts: statewave

- **Adopt for:** Statewave focuses on reproducibility and provenance in memory management for AI agents, using Postgres plus pgvector for self-hosted operations rather than relying on query-time retrieval.

## Decision facts: TencentDB-Agent-Memory

- **Adopt for:** TencentDB-Agent-Memory offers fully local long-term memory capabilities for AI agents with a specialized 4-tier pipeline, ensuring no reliance on external API dependencies.

## Choose when

### Choose statewave if…

- statewave is primarily Python; TencentDB-Agent-Memory is TypeScript.
- License: statewave is Apache-2.0, TencentDB-Agent-Memory is Other.
- Tags unique to statewave: agent-memory, ai-agents, pgvector, postgres.
- statewave ships Docker support for self-hosted deployment.
- Use when needing reproducible and documented context bundles to ensure consistent agent performance over time, as Statewave's design specifically supports provenance tagging for each context bundle.

### Choose TencentDB-Agent-Memory if…

- TencentDB-Agent-Memory is primarily TypeScript; statewave is Python.
- License: TencentDB-Agent-Memory is Other, statewave is Apache-2.0.
- Tags unique to TencentDB-Agent-Memory: agent, ai-agent, embedding, local-first.
- You are prioritizing data sovereignty and need to ensure all memory functions operate locally without internet connectivity or external service dependence.

## When NOT to use statewave

- Avoid if your application cannot leverage or benefit from a self-hosted memory runtime setup specifically using Postgres and pgvector.
- Not suitable for cases where query-time document retrieval is preferred over maintaining provenance-tagged, static context bundles.

## When NOT to use TencentDB-Agent-Memory

- If your application involves frequent synchronization of memory content across multiple environments, as this tool is designed for local operations only.
- In scenarios where accessing a large-scale distributed database is necessary because TencentDB-Agent-Memory is built around standalone local capabilities.

## Common questions

### What is the difference between statewave and TencentDB-Agent-Memory?

statewave: Open-source memory runtime for AI agents. TencentDB-Agent-Memory: Fully local long-term memory for AI Agents via 4-tier pipeline. See the comparison table for live GitHub stats and shared categories.

### When should I choose statewave over TencentDB-Agent-Memory?

Choose statewave over TencentDB-Agent-Memory when statewave is primarily Python; TencentDB-Agent-Memory is TypeScript; License: statewave is Apache-2.0, TencentDB-Agent-Memory is Other; Tags unique to statewave: agent-memory, ai-agents, pgvector, postgres; statewave ships Docker support for self-hosted deployment; Use when needing reproducible and documented context bundles to ensure consistent agent performance over time, as Statewave's design specifically supports provenance tagging for each context bundle.

### When should I choose TencentDB-Agent-Memory over statewave?

Choose TencentDB-Agent-Memory over statewave when TencentDB-Agent-Memory is primarily TypeScript; statewave is Python; License: TencentDB-Agent-Memory is Other, statewave is Apache-2.0; Tags unique to TencentDB-Agent-Memory: agent, ai-agent, embedding, local-first; You are prioritizing data sovereignty and need to ensure all memory functions operate locally without internet connectivity or external service dependence.

### When should I avoid statewave?

Avoid if your application cannot leverage or benefit from a self-hosted memory runtime setup specifically using Postgres and pgvector. Not suitable for cases where query-time document retrieval is preferred over maintaining provenance-tagged, static context bundles.

### When should I avoid TencentDB-Agent-Memory?

If your application involves frequent synchronization of memory content across multiple environments, as this tool is designed for local operations only. In scenarios where accessing a large-scale distributed database is necessary because TencentDB-Agent-Memory is built around standalone local capabilities.

### Is statewave or TencentDB-Agent-Memory more popular on GitHub?

TencentDB-Agent-Memory has more GitHub stars (23,831 vs 289). Stars measure visibility, not whether either tool fits your constraints.

### Are statewave and TencentDB-Agent-Memory open source?

Yes - both are open-source projects on GitHub (statewave: Apache-2.0, TencentDB-Agent-Memory: Other).

### Where can I find alternatives to statewave or TencentDB-Agent-Memory?

GraphCanon lists graph-backed alternatives at [statewave alternatives](/tools/smaramwbc-statewave/alternatives) and [TencentDB-Agent-Memory alternatives](/tools/tencentcloud-tencentdb-agent-memory/alternatives) ([statewave markdown twin](/tools/smaramwbc-statewave/alternatives.md), [TencentDB-Agent-Memory markdown twin](/tools/tencentcloud-tencentdb-agent-memory/alternatives.md)), 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](/compare/smaramwbc-statewave-vs-tencentcloud-tencentdb-agent-memory.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, statewave or TencentDB-Agent-Memory?

statewave: Very active. TencentDB-Agent-Memory: 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 statewave and TencentDB-Agent-Memory?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [statewave trust report](/tools/smaramwbc-statewave/trust); [TencentDB-Agent-Memory trust report](/tools/tencentcloud-tencentdb-agent-memory/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=smaramwbc-statewave`](/api/graphcanon/graph?tool=smaramwbc-statewave)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
