Component evidence

MnemonIntegration (__init__.py)

Mnemon · mnemon/moth/__init__.py · python · MIT
aiAI / Agentsautomationtag:auto-instrumentationtag:framework-detectiontag:runtime-patchingtag:agent-scanning

mnemon.moth ----------- Auto-instrumentation engine. On mnemon.init(), the moth wakes up, scans the environment for installed agent frameworks, and patches each one at the right execution boundary — without the user writing a single line of integration code. Frameworks patched au

Source preview first 800 characters · full source over MCP
# Source: https://github.com/smartass-4ever/Mnemon | License: MIT | Copyright 2026 Mahika Jadhav
# Provided via justclaw.it.com; keep this notice with the code.
"""
mnemon.moth
-----------
Auto-instrumentation engine.

On mnemon.init(), the moth wakes up, scans the environment for installed
agent frameworks, and patches each one at the right execution boundary —
without the user writing a single line of integration code.

Frameworks patched automatically:
  anthropic     → messages.create (memory inject + System 1 cache + bus)
  openai        → chat.completions.create (same)
  langchain     → per-step RunnableSequence.invoke (System 2 EME + memory)
  langgraph     → CompiledGraph.invoke (per-node EME + memory + bus)
  autogen       → generate_reply (memory inject + EME + bus)
  crewai     

... (truncated -- full source via MCP)