DEV Community

Mekickdemons
Mekickdemons

Posted on

Mnemara updated with the past couple of months of changes.

It's been about two months since the last release. Here's what actually changed in Mnemara 0.18.0.

๐Ÿง  Talk to your agent mid-turn (Tier-2 input injection)

The big one. You no longer have to wait for the agent to finish a long turn before you can steer it. A new mid-turn channel delivers your input at the
you can course-correct while it's working instead of watching it finish the wrong thing first. Shipped with a test that proves messages land between
mid-operation.

๐Ÿ” Integrity checking: hash-witness drift detection (v2.1)

The role document that governs the agent is now hash-witnessed: injected at turn 0 and re-checked every turn for drift. If the identity/rules the
silently change, you find out. Configurable strictness (primary_strict, per-repo strict flags), and โ€” importantly โ€” **user input always passes the c
REFUSE a legitimate message; that's now downgraded to a non-blocking drift warning. Your words never get rejected by the integrity layer.

๐Ÿ‘ Caching observability

Mnemara now tracks cache tokens per turn and shows your live cache-hit rate right in the status bar (prompt_caching config flag). Full transpare
actually costing you each turn โ€” no guessing.

๐Ÿงน Working-memory hygiene, automated

  • Gradual eviction of thinking + tool-output blocks (keep the last N turns, drop the rest โ€” only at stopping points, never mid-operation).
  • Fixed auto_evict_tool_use_blocks โ€” it was parsed from config but never wired. It works now.
  • Log rotation + bounded scrollback so a long-running instance doesn't grow without limit.

โฑ Time-grounded input

User messages are now timestamped on the way in, so the agent knows when you said something โ€” no more
its original context.

๐Ÿ› Stability fixes

  • Blocking tool handlers now run in threads (asyncio.to_thread) โ€” no more event-loop stalls durin
  • /stop no longer auto-restarts the turn it just cancelled.
  • Fixed a stdin deadlock on turn completion.
  • Thinking blocks now render correctly in the chat panel (were silently skipped).
  • Fixed slash commands (/evict, /clear, /compress) breaking when input timestamping landed.

Install / upgrade: pip install -U mnemara ยท PyPI ยท GitHub

Top comments (0)