Mneme is an open-source orchestration harness and memory governance framework developed by MnemeHQ designed to prevent architectural drift across the agentic AI software development lifecycle (SDLC). In day-to-day operations, Mneme acts as an enforcement layer and middleware for AI agents, integrating with orchestrators like LangChain to enforce repository-level architectural decisions and project memory. It tracks decisions and constraints using structured project memory records (such as `.mneme/project_memory.json`) and Architectural Decision Records (ADRs), validating modifications and agent outputs against defined project guidelines during local runs and pull request reviews. What differentiates Mneme from general-purpose coding agents is its strict focus on architectural drift prevention and memory provenance. Rather than acting purely as an interactive chat agent or code generator, Mneme enforces integrity rules—such as ADR source hash verification and PR isolation gates—ensuring that autonomous agent changes adhere to persistent repository rules and constraints. Mneme is hosted on GitHub under an open-source model. It is actively maintained with integrations for agent middleware, continuous memory tracking, and CI/CD gating workflows.
Tags: ai agent, cli, codebase, coding agent, developer tools, OpenSource
.mneme/project_memory.json memory file linked directly to repository commits. - ADR-Backed Decision Governance — Enforces Architectural Decision Record (ADR) alignment with cryptographic SHA-256 source hash validation to prevent documentation desynchronization. - LangChain Middleware Integration — Connects directly into LangChain agent workflows to govern agent visibility, constraints, and tool invocation scopes. - PR Isolation & Merge Gating — Provides verification checks that prevent merges until memory definitions and codebase implementations reconcile accurately.Mneme is suited for software architects, platform engineers, and engineering teams orchestrating automated AI coding agents that need strict architectural governance and persistent project memory. It is less relevant for individual developers looking for a simple standalone conversational autocomplete or interactive chat tool.
bash pip install mneme # Or clone the repository directly git clone https://github.com/MnemeHQ/mneme.git cd mnemebash # Initialize the .mneme directory and project memory file mneme init # Validate ADR alignment and memory hash integrity mneme checkbash # Verify that memory definitions match ADR hashes mneme reconcile --verify-hashes # Run agent middleware validation against project memory mneme agent check --scope backendPart of CLI Coding Agents
Categories: AI Coding Agents, Code Assistants, Developer Tools