agentscope-ai / agentscope-ai/QwenPaw

[Feature] Add optional PowerContext pluggable long-term memory backend

Offen
#7,079 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
35k
Forks
3.1k
Ø Merge
1 T. 13 Std.
Gemergte PRs (30 T.)
228

Beschreibung

## Summary

Add an optional PowerContext-backed long-term memory backend for QwenPaw through the existing BaseMemoryManager and memory_registry extension points.

Image

Image

## Motivation

The default local memory backend is suitable for single-machine use, but deployments may need a shared, persistent, explicitly scoped memory service. PowerContext provides cross-session continuity, scope isolation, citation-aware retrieval, and a remote HTTP boundary without coupling QwenPaw to a database driver.

## Proposed scope

- Add PowerContextMemoryManager as a selectable peer of ReMeLightMemoryManager.
- Support automatic pre-turn retrieval and non-blocking post-turn task_state persistence.
- Expose memory_search and memory_remember only when PowerContext is selected.
- Preserve PowerContext citation metadata in search results.
- Add optional Console configuration for URL, token, scope, timeout, and auto-search settings.
- Register dynamic tools with the unified governance registry.
- Keep the default backend and Agent main flow unchanged.

## Non-goals

This proposal does not add Handoff, Experience, Skill, Candidate, Artifact, or database-driver integration to QwenPaw. PowerContext remains an external HTTP service.

## Validation

The prototype has 181 QwenPaw unit tests passing, Console TypeScript and locale checks passing, and has been exercised against a local PowerContext service for remember/search, citation preservation, cross-session recall, and scope isolation.

A PR with the implementation will reference this issue.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by tracing the existing BaseMemoryManager and memory_registry extension points, then compare ReMeLightMemoryManager and the Console configuration paths. Done means an optional PowerContext backend supports retrieval, persistence, scoped citation-preserving search, conditional tools, and unified registry registration without changing the default backend or Agent main flow; use the stated QwenPaw unit, Console TypeScript, and locale checks for validation.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python, typescript
Bereich
ai, api, backend
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.