{"repo":"smaramwbc/statewave-personal-assistant","free":true,"listed":false,"github":"https://github.com/smaramwbc/statewave-personal-assistant","clone":"git clone https://github.com/smaramwbc/statewave-personal-assistant.git","description":"FastAPI reference app for Statewave memory integration. Wraps every chat turn with get_context before the LLM call and record_episode after; seeded demo users show compiled facts and token-budgeted context. Self-hosted, Postgres + pgvector.","language":"Python","stars":16,"topics":["agent-memory","episodic-memory","fastapi","llm-agents","llm-memory","openai-api","pgvector","python","reference-implementation","statewave"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"statewave-personal-assistant A working reference implementation that shows how to add persistent, cross-session memory to any Python chat application using Statewave and FastAPI. Clone it, run it, and see the difference in under five minutes. Part of Statewave — the open-source memory runtime for AI agents. 📦 Core runtime · 🐍 Python SDK · 🟦 TypeScript SDK · 🔌 Connectors · 📘 Docs · 💡 Examples · 🖥️ Admin · 🌐 statewave.ai 📋 Issues & feature requests: statewave/issues (centralized tracker) --- 5-Minute Path Want to see real compiled memory before setting up an LLM key? This path skips the LLM entirely — it only needs Python and the OSS Statewave server. That last call returns the compiled, ranked memory facts Statewave extracted from dev alice 's seeded sessions — the same context that would otherwise get injected into an LLM prompt. If you want to see it actually change an LLM's response, continue to the full Quick Start below and add an LLM API KEY to try POST /api/v1/compare . --- The Problem This Solves Every session-based chat application faces the same wall. When a user returns after closing the tab, the assistant remembers nothing. The standard workaround is to inject the full conversation history into every prompt, but this breaks quickly: - After 8 to 10 turns, the context window is full - Earlier facts are silently dropped to make room for recent ones - The more sessions a user has, the worse the problem gets - There is no ranking signal: a throwaway comment ge","default_branch":null,"files":null,"tree":[],"storefront":"/r/smaramwbc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/smaramwbc/statewave-personal-assistant/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}