Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Local and Open Source Memory Management for ChatGPT with Woolly

Woolly offers a local and open source memory management system for ChatGPT users, storing data as plain Markdown files and ensuring full control and privacy by keeping all information on the user's device.

Share
AI-generated conceptual illustration accompanying: Local and Open Source Memory Management for ChatGPT with Woolly
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Local and Open Source Memory Management

Woolly offers a local and open source approach to memory management for ChatGPT users. Unlike cloud-based solutions, Woolly runs on your computer and provides a shared memory system that remains entirely under your control. All data is stored as plain Markdown files, which can be opened and edited directly on your device, ensuring full transparency and accessibility. According to the developers, nothing ever leaves your machine, reinforcing the privacy and security of your information. Additionally, Woolly refuses to store passwords or API keys, preventing unauthorized access or potential misuse. The system also includes a trash feature for deleted memories, which can be restored if needed. These design choices emphasize user autonomy and data protection, aligning with the principles of open source software.

Installation and Cross-Platform Support

Installation of Woolly is designed to be flexible and cross-platform, supporting a variety of environments. Users on macOS can install via Homebrew with brew install rjcuff/tap/woolly, while Windows users can use PowerShell with irm https://usewoolly.com/install.ps1 | iex. For those preferring manual installation, Go users can run go install github.com/rjcuff/woolly/cmd/woolly@latest. The project also includes a Mac app built with Tauri, located in the app folder, and supports Python and JavaScript/TypeScript SDKs in the sdk directory. Woolly sync ensures that data remains consistent across devices like laptops, desktops, and Raspberry Pis over a user’s own network, as noted in Hacker News Show. The repository structure, detailed in Hacker News Show, includes documentation, UI components, and packaging scripts, reflecting the project’s emphasis on local, open-source operation.

Integration with AI Tools and Programming Languages

The Woolly project enables users to integrate persistent memory into AI interactions by supporting multiple programming languages and AI tools. Developers can install Woolly via pip install woolly-ai or npm install woolly-ai, and add memory to any prompt in one line. For Ollama users, the service can be installed with woolly service install or by running woolly proxy in a terminal, followed by OLLAMA_HOST=127.0.0.1:11436 ollama run llama3.2. This setup ensures that every chat includes memory specific to the user, and facts mentioned are saved locally. In JavaScript, developers can use npm install woolly-ai and import the Woolly class to remember details like 'Moved to Denver in October' with a key such as 'user.location'. Integration with the Vercel AI SDK is also supported via wrapLanguageModel({ model, middleware: woollyMemory() }) from woolly-ai/ai-sdk.

Data Security and Privacy Features

The Woolly app emphasizes data security and privacy by refusing to store passwords or API keys, ensuring that no AI can plant instructions in your memory. Deleted memories are moved to a trash bin that users can restore from, giving them control over their data. Users can import ChatGPT or Claude exports into the app, review the content, and selectively retain what they want. Each memory is tagged with the app that saved it, and the Woolly log provides a detailed record of what each app saved, read, and deleted. These features allow users to maintain transparency and control over their personal data, aligning with the app’s focus on local and open-source operations.

Performance and Benchmarking

In performance testing on the LOCOMO benchmark, Woolly demonstrated a recall rate of 87% for finding relevant messages, with a median response time of 23 ms, all running locally on a laptop with Ollama (Hacker News Show). This highlights Woolly's efficiency in retrieving context-specific information during conversations. Woolly integrates with Ollama by setting the OLLAMA_HOST environment variable and running the llama3.2 model, allowing chat sessions to include personalized memory (Hacker News Show). Developers can also use Woolly in JavaScript applications by installing the woolly-ai package and leveraging its context-aware features (Hacker News Show). These capabilities make Woolly a compelling option for those seeking a local, open-source alternative to cloud-based memory systems in AI chat applications.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more