Karjimut
The Autonomous Long-Term Memory Engine for AI Coding Agents
Stop LLM Amnesia. Cut Token Costs by up to 90%. Keep Cursor, Claude Code, and Antigravity Aligned Forever.
💡 The Problem with Modern AI Coding Agents
Whether you use Cursor, Claude Code, Antigravity IDE, Windsurf, or Cline, long-term projects always hit three painful walls:
- 💸 Context Window Bloat & Cost Explosions: As sessions grow, raw conversation logs and messy trial-and-error traces accumulate, burning millions of tokens and draining your API budget.
- 🧠 Context Rot & Session Amnesia: Start a fresh session or let compaction trigger, and your agent instantly forgets your core architecture rules, directory structure, and repeats the exact same bugs it spent two hours solving yesterday.
- 🏝️ Developer Memory Isolation: Your AI agent's hard-won discoveries on your machine remain trapped locally—your teammates' agents will step on the exact same landmines.
Karjimut solves all three permanently through a Two-Tier Bio-Inspired Memory Architecture powered by the Model Context Protocol (MCP) and Autonomous Idle-Phase Consolidation (Sleep Cycle).
⚡ Quick Start (Ready in 30 Seconds)
1. Install Karjimut
Run this single command in your terminal:
# Recommended (Official PyPI package)
pip install karjimut
(Or run instantly without installation using uv: uvx karjimut setup)
2. Auto-Setup All Your IDEs (Zero Manual Steps)
Run:
karjimut setup
Karjimut automatically detects installed IDEs (Cursor, Claude Desktop, Windsurf, Antigravity / Gemini CLI, and VS Code Cline/Roo Code) and safely injects:
- ✅ MCP server configuration directly into each IDE's configuration file.
- ✅ Global Autonomous Rules (
karjimut.mdc&sleep-mcp-auto.md) so you don't have to copy-paste.cursorrulesto every new project folder!
3. Open Your IDE & Start Vibecoding
Open your project in Cursor, Claude Desktop, or your preferred IDE. Your AI coding agent will now autonomously retain project identity, prevent amnesia, and recall solutions without any manual intervention.
🖥️ Native Desktop Dashboard
Prefer a visual control center? Simply open your terminal and type:
karjimut
Karjimut includes a modern, high-performance desktop application built with CustomTkinter:
- 1-Column Smart Onboarding: Automatically detects your API keys (Google Gemini, Groq, OpenRouter, Claude, OpenAI) or operates in 100% offline rule-based mode.
- Elastic Core Editor: View and fine-tune your project's active identity and mandatory rules, complete with a 1-click rollback mechanism.
- Proven Solution Vault: Search, curate, and review distilled bug resolutions.
- Real-Time Sustainability Analytics: Live tracking of token savings, raw vs. compressed token efficiency, and AI retention metrics.
🚀 Key Features
🧠 Two-Tier Bio-Inspired Memory
- Tier 1: Elastic Project Core (Lapis 1): Holds your tech stack, core directory layout, and non-negotiable architecture rules. Always compressed, deduplicated, and instant ($O(1)$ overhead at session start).
- Tier 2: On-Demand Solution Vault (Lapis 2): Zero token cost during normal coding! Solutions to tricky bugs are retrieved on-demand only when a matching error or stack trace occurs.
🌙 Autonomous Sleep Cycle (Idle Consolidation)
During coding sessions, your agent leaves lightweight milestone notes in an asynchronous queue. When you take a coffee break ($\ge 5$ minutes of inactivity), Karjimut's background daemon activates the Sleep Cycle—distilling raw logs, updating core rules, and archiving proven solutions into persistent memory.
🤝 Multi-Team Git Synchronization
Karjimut serializes project memory into clean, git-friendly .karjimut/team_memory.json files. When you push and pull via Git, your entire team's AI agents automatically inherit everyone's bug fixes and updated rules—completely free of binary database merge conflicts.
🔍 High-Precision Hybrid Search
Combines lexical keyword matching (for exact error codes like SQLITE_BUSY or #nextjs-15) with 384-dimensional semantic vector embeddings (BAAI/bge-small-en-v1.5 via CPU-accelerated ONNX + bilingual ID–EN technical synonym expansion & offline feature-hashing fallback) using Reciprocal Rank Fusion (RRF).
🤖 100% Autonomous (Zero-Prompt Vibecoder Protocol)
You don't need to remind your AI agent to use Karjimut. With the workspace rules attached, the agent operates autonomously:
- At Session Start: Automatically fetches the latest Project Core and imports any new team memory.
- During Coding: Automatically checkpoints progress and technical rules after completing features.
- When Errors Strike: Automatically searches the Solution Vault for a one-shot fix before wasting tokens on hallucinated trial-and-error.
📂 Repository Structure
Karjimut/
|-- README.md # Official product documentation & Quick Start
|-- GEMINI.md # Autonomous Vibecoder Rule (Antigravity IDE)
|-- .cursorrules # Autonomous Vibecoder Rule (Cursor & Windsurf)
|-- .agents/rules/sleep-mcp-auto.md # Universal Agent Bootstrap Rule
|-- sleep-mcp/
|-- assets/ # Official brand logos, banners, and app icons
| |-- karjimut_banner.png
| |-- karjimut_logo.png
| |-- karjimut.ico
|-- rules_template/ # Starter templates for new workspaces
|-- .cursorrules
|-- antigravity_rules.md
Distribution Architecture:
Karjimut is engineered as a high-performance, standalone package. The core engine (MCP server, native GUI, SQLite WAL vector store, and background watcher) is delivered directly via verified binary packages.
🛡️ Privacy & Local-First Philosophy
- Zero Telemetry: Karjimut does not track your keystrokes, projects, or personal data.
- Local Storage: All databases, cache, and vector embeddings reside locally on your machine in SQLite WAL mode.
- Your Keys, Your Choice: Use your own API keys, run local Ollama models, or utilize the 100% offline rule-based distiller.
📄 License
Karjimut is open-source software licensed under the MIT License.
Copyright © 2026 Naufal Arhab Fadhil Muhammad. All rights reserved.
Metadata
Release files for karjimut 2.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| karjimut-2.0.9.tar.gz | 578.4 kB | With provenance | Details for karjimut-2.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| karjimut-2.0.9-py3-none-any.whl | Python 3 | none | any | Details for karjimut-2.0.9-py3-none-any.whl |
Total release size: 1.2 MB
Release files / karjimut-2.0.9.tar.gz
| Download URL | karjimut-2.0.9.tar.gz |
|---|---|
| Size | 578.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
306d10563c6153116a8e304b18a5d5040754c206e46acc4bf6bcff029d834a70
|
|
BLAKE2b-256 checksum How to use checksums |
103a8dcc72d024bf1d56a6135b2da6d8d5ade5102b5d4e984841bee423101cc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logRelease files / karjimut-2.0.9-py3-none-any.whl
| Download URL | karjimut-2.0.9-py3-none-any.whl |
|---|---|
| Size | 578.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e35019439f18d9add8cfc6be3643c61a79c9aef7f5d46ccf09c40b1f034981cc
|
|
BLAKE2b-256 checksum How to use checksums |
e0fb6b142b011f8bb91aa442b02e7a069323410b475c9deca6df0522d2ae60c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logSecurity for karjimut 2.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for karjimut-2.0.9.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.