PUBLIC PRODUCT & ARCHITECTURE NOTES
Your memory, under your control.
MemoryBase is a local-first workspace for organizing personal AI memory, sharing selected facts between coding agents on one computer, and carrying useful context between models.
ARCHITECTURE
Two local layers, one optional provider connection.
The public website serves the PWA files. The browser manages its memory library and context packs on the current device. Optional local software adds a shared SQLite store for coding agents and BYOK chat. Open the companion's own local workbench to manage that store; the hosted website does not connect to it.
127.0.0.1. Its API allows only exact loopback Host names (so a rebinding attacker hostname is rejected), checks browser Fetch Metadata and the full Origin authority including port when present, and requires a valid Origin on state-changing requests. Cross-site requests and API preflights are rejected; the server sends no CORS permission. The API has no separate user authentication, so keep the default loopback binding and do not expose the companion on your network. These checks do not protect against malware or hostile code already running on your device.GETTING STARTED
Try the memory workflow in your browser.
- Open the demo.Choose “Try the browser demo.” A new, empty browser workspace loads sample memories automatically. Existing browser data is kept.
- Explore the library.Search, filter, edit, add, pin, or archive memories. The sample workspace is saved in this browser so you can interact with it.
- Build a context pack.Enter a task, choose a token budget, and see which memory snippets fit. Copy or save the result. This rule-based demo does not call an AI model.
- Export or reset.Use “Export data” to download a JSON backup. To clear this browser's workspace, remove site data for
memorybase.streamin your browser settings.
This demo uses generic sample data. Do not enter sensitive information into a browser profile you do not control. Browser storage is tied to the exact site origin and does not sync to another browser or device.
OPTIONAL · LOCAL BYOK CHAT
Connect your own provider from your computer.
Memory management and context building work without setup. To use the chat interface with OpenAI, Anthropic, Gemini, or DeepSeek, run the companion on your computer and open its local workbench:
uv sync
uv run memorybase serve
# then open http://127.0.0.1:8000/app.html
Enter your provider key in Chat settings. The key is stored in .memorybase/settings.json on that computer, with owner-only file permissions on macOS/Linux; it is not encrypted. The local companion sends the request directly to the chosen provider. Selected memories and conversation history leave the device only when you send a chat request. Review each provider's current terms and data controls before sending sensitive content.
WHAT THIS MVP DOES NOT DO
Clear boundaries for this prototype.
- No user accounts, cloud memory database, or cross-device sync.
- No direct connection to ChatGPT or Claude accounts and no native provider-export parser yet; supported records move through MemoryBase JSON.
- Search and context packing use local keyword and ranking rules; semantic retrieval and model-written memory compression are not implemented.
- Shared agent memory currently works on one computer with the same local SQLite store. It is not cross-device or cloud synchronization.
- Browser memory and local SQLite are separate stores joined only when the workbench runs on localhost. The website and localhost have different browser storage; use JSON export/import to move data between them.
An opt-in Cloud Memory account, hosted API, and cross-device agent retrieval are proposed next steps. They are not available in this release, and existing local data is not automatically uploaded.
The repository remains private. These public product notes describe the current prototype and do not imply that source code or a production service is open source.