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: 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)
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key