
TIMPs (Trustworthy Interactive Memory Partner System) is an open-source AI memory agent that transforms how users interact with AI by providing persistent, evolving memory across every session. It belongs to the category of memory-enhanced AI tools and is specifically designed for developers, power users, and privacy-conscious individuals who need their AI assistant to retain context, preferences, and ongoing tasks without repetition. The core value is eliminating the need to re-establish context each time—memories are automatically stored, scored by importance (1–5 stars), and retrieved when relevant. TIMPs runs fully locally with Ollama or connects to cloud models like OpenAI GPT-4 and Google Gemini, giving users full control over their data. With a structured 14-field memory schema stored in PostgreSQL and vector embeddings in Qdrant, it ensures that every conversation builds on the last, enabling a deeply personalized and efficient workflow.
AI chatbots and assistants typically have no long-term memory; each session starts from scratch, losing valuable context like user preferences, past decisions, and project details. This forces users to repeatedly explain their stack, goals, and constraints, wasting time and breaking workflow flow. TIMPs solves this by automatically extracting and storing key information after each turn, scoring it by importance, and retrieving it in future conversations. For example, if a developer mentions they prefer React with TypeScript, TIMPs remembers that fact and surfaces it when relevant using the `!blame` command. The result is a seamless, context-aware interaction that saves hours of repetition and enables more intelligent assistance, with memories becoming richer over time.
Persistent memory with a 14-field schema and full audit trail is a foundational feature. TIMPs stores every memory fact under 14 metadata fields including type (explicit, reflection, goal, preference), importance score, timestamp, retrieval count, and more. This schema ensures that each fact is richly annotated, making retrieval precise and trustworthy. The audit trail logs every storage and retrieval event, giving users complete transparency into what is remembered and why. This is useful for debugging, verifying that the agent is capturing accurate information, and maintaining confidence in the system. By using PostgreSQL for structured storage, TIMPs guarantees durability and the ability to run complex SQL queries on memory data. Combined with the reflection mechanism that scores memories post-turn, the agent prioritizes high-importance facts over trivial ones, ensuring critical context is never lost.
admin
Dual-mode search combines SQL keyword matching (ILIKE) with Qdrant vector similarity retrieval. TIMPs does not rely on a single search method; instead, it runs both an ILIKE query on PostgreSQL and a cosine similarity search on Qdrant vector store simultaneously. This ensures that even if the exact keyword is not present, semantic meaning can still retrieve relevant memories. For example, searching for "React" using the `!blame` command will match both the explicit fact "React + TypeScript + Zustand" via SQL and any semantically similar reflections. The results are presented with importance scores and retrieval counts, allowing users to gauge relevance. This dual approach dramatically improves recall accuracy compared to traditional keyword-only or vector-only systems, especially when memory terms vary or vague queries are used.
Project isolation, ephemeral mode, and model agnostic support are additional key capabilities. Project isolation scopes memories per project, preventing cross-contamination between different codebases, clients, or personal contexts. This is critical for developers juggling multiple projects—each project maintains its own memory namespace, like having separate assistant profiles. Ephemeral mode (`--mode ephemeral`) allows users to run a session that leaves zero persistent trace; nothing is stored beyond RAM, suitable for sensitive discussions or one-off queries. TIMPs is also model agnostic: users can switch between OpenAI GPT-4, Google Gemini, or local Ollama on the fly using the `--provider` flag. This flexibility means users are never locked into a single AI provider and can optimize for cost, performance, or privacy as needed.
TIMPs follows a structured agent architecture with three core components: Planner, Executor, and Reflection. When a user sends a message, the Planner breaks down the goal into steps, the Executor runs tools (file, web, search), and after each turn, the Reflection component extracts and scores memories. Memories are stored in a tiered system: ShortTermStore manages the rolling context window with a token budget, LongTermStore persists facts in PostgreSQL with the 14-field schema and ILIKE search, and VectorStore stores embeddings in Qdrant for similarity search. Commands like `!blame`, `!forget`, `!audit` allow users to manually search, delete, or review memories. This multi-layered approach ensures relevant context is always available while keeping the conversation focused and token-efficient.
Concrete use cases demonstrate TIMPs' value. A developer working on multiple projects can remember each project's tech stack, preferences, and goals without manual notes. For instance, after telling TIMPs "I'm working on a React app with TypeScript and Zustand", the agent stores this as a high-importance reflection. Later, when asking for coding suggestions, TIMPs retrieves the stored context automatically. Another case is using ephemeral mode for sensitive debugging sessions where no memory should persist—ideal for handling confidential client data. Researchers can leverage the `!blame` command with dual-mode search to locate past findings across hundreds of conversations. The outcome is significantly reduced cognitive load and faster, more informed AI assistance.
Target users include software developers, DevOps engineers, open-source contributors, and AI enthusiasts who need context-aware assistance across long-running projects. Platform support covers terminal (TUI/CLI), web browser (via REST API), and desktop app. The tech stack relies on PostgreSQL for structured memory, Qdrant for vector storage, and supports Ollama, OpenAI, and Gemini as model providers. TIMPs is released under the MIT license and is completely free to use—no subscriptions or hidden costs. For those who prioritize data sovereignty, running fully local with Ollama ensures zero data leaves the machine. This combination of persistent memory, privacy, and flexibility makes TIMPs a compelling choice for anyone who wants their AI to truly know them and evolve with every conversation.
Software developers, DevOps engineers, open-source contributors, and AI enthusiasts who need persistent context across conversations and projects. Privacy-conscious users who prefer local AI models and full data control. Terminal enthusiasts and power users comfortable with CLI/TUI tools. AI tinkerers wanting to customize and extend an open-source memory agent. Also ideal for teams collaborating on shared codebases where memory isolation per project is critical. Freelancers and consultants who need to switch between different client contexts without cross-contamination. Researchers and students conducting literature reviews or long-term studies who benefit from automatic fact extraction and retrieval. The product’s MIT license and extensibility also attract developers who want to integrate memory into their own AI workflows.