Coding agents are getting faster. The bottleneck is no longer code generation. It’s what happens when a task crosses sessions, people, branches, and permission boundaries. TencentCloud published TencentDB Agent Memory, an open source system that tries to fix that by turning completed task trajectories into governed, retrievable team assets.
What the system does
Agent Memory organizes shared context into four asset types: Chat Memory (decisions, constraints, failed approaches), Wiki (architecture, standards, runbooks), CodeGraph (symbols, call paths, dependencies), and Skills (repeatable, validated workflows). A Memory Hub handles governance and scheduling. Each task receives a Memory Pack assembled from the assets relevant to that task’s role, project, and permissions.
Assets are not dumped into a flat vector store and retrieved by similarity alone. Identity and ACL filtering run before relevance retrieval. Unauthorized assets never enter the candidate pool.
The numbers behind it
The team analyzed 2,600 sessions, split into 5,081 tasks, and identified 2,203 bottlenecks. The most common was logical rework: 1,350 cases where agents reversed or redid a design or implementation. Missing context came second at 269 cases. That gap matters. A system focused only on document retrieval would address the smaller problem while leaving the larger one untouched.
On SWE-bench, the system increased task completion from 60% to 80% by transferring experience from earlier tasks to related later ones, with no future information leaking backward. On a separate set of 50 exceptionally long and difficult tasks, success rose from 17% to 20% while cost dropped from $887.64 to $717.78, a reduction of roughly 19%.
The team is direct about limitations: results depend on case selection, the baseline agent, model version, and retrieval settings. They are not claiming a universal 20-point improvement across all development work.
Why the architecture is worth studying
Chat Memory uses a four-layer pipeline from raw conversation (L0) through atomic facts (L1), scenario summaries (L2), and stable long-term patterns (L3). Progressive disclosure means an agent sees a scenario summary first and fetches specific turns only when the task requires them. This keeps context windows lean.
Assets carry owner, scope, version, ACL, evidence source, and validation state. Promotion from background hint to executable Skill requires test results, commits, or human review. Incorrect assets can be flagged, downranked, and withdrawn. The team draws an explicit parallel to a code repository: versions, branches, permissions, review, merging, and rollback are all present.
The operator angle
If you run a small team using Claude Code, Cursor, or any agent-heavy workflow, the core problem here is familiar. Context gets lost between sessions. The next agent or developer rebuilds reasoning that already happened. Mistakes repeat because the original investigation lived only in someone’s chat history.
Agent Memory is an open source starting point for solving that at the infrastructure level rather than asking developers to write better handoff notes.

