← all repositories
MatrixAges/polywise

Your AI’s memory, now with actual synapses

Polywise is a self-hosted agentic workspace that treats AI memory as a living, forgetting, connection-forming system rather than a static database.

757 stars TypeScript AgentsRAG · Search
polywise
Not currently ranked — collecting fresh signals.
star history

What it does Polywise bundles a local server, a desktop Electron app, and a CLI around SQLite and vector search to create a self-hosted AI workspace. You chat with LLMs through sessions, stash web clippings and notes, and promote recurring prompt patterns into reusable agents, provided you wire up at least one model provider. Everything stays local by default, retrieval included.

The interesting bit The authors cite 1940s–70s neuroscience—Hebbian learning and spreading-activation theory—as the blueprint for how knowledge should organically strengthen, connect, and even strategically fade. It is unusual to see a practical AI tool ground its memory model in synaptic potentiation papers rather than vector-database marketing.

Key highlights

  • Runs fully self-hosted with an optional Electron desktop app and CLI wrapper.
  • Uses SQLite with sqlite-vec for on-device vector search and retrieval, so your data never needs to leave the box.
  • Organizes work into four concrete buckets: Session for chat, Linkcase for web extraction, Agent for reusable prompt templates, and Posts for persistent knowledge.
  • Supports local LLM inference through node-llama-cpp in addition to remote providers.
  • @ and / shortcuts let you pull files, agents, and tools into an active session without leaving the keyboard.

Caveats

  • The README pitches a biological memory model—connections that strengthen and strategically fade—but never explains how those mechanics are implemented over a standard SQLite and vector-search stack.
  • The embedded intro video relies on a local file path that will not render for anyone browsing the repository on the web.

Verdict Worth a look if you want a local-first, SQLite-backed AI workspace and are happy to supply your own model providers. Skip it if you need a managed SaaS or a plug-and-play solution that abstracts away all backend setup.

Frequently asked

What is MatrixAges/polywise?
Polywise is a self-hosted agentic workspace that treats AI memory as a living, forgetting, connection-forming system rather than a static database.
Is polywise open source?
Yes — MatrixAges/polywise is open source, released under the MIT license.
What language is polywise written in?
MatrixAges/polywise is primarily written in TypeScript.
How popular is polywise?
MatrixAges/polywise has 757 stars on GitHub.
Where can I find polywise?
MatrixAges/polywise is on GitHub at https://github.com/MatrixAges/polywise.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.