Skip to main content

sunholo/motoko_ext_microrag

Auto-injects AILANG knowledge retrieval into WriteFile tool results when the model writes a .ail file. The model doesn't call any tool — the ext intercepts WriteFile via on_tool_handle, performs the actual write, runs ailang micro-rag context on the content, and returns a combined result so the retrieval is in the model's next-turn history. Non-.ail writes are Delegated to motoko's default handler. Eliminates the weak-model failure mode where the model would have to remember to call a microrag_lookup tool.

FieldValue
Latest0.4.2
Stabilityexperimental
EffectsIO, Process, FS, AI, Env, Net, SharedMem, Clock, Stream
Exports1 modules
Last Updated2026-05-17T19:59:52Z
Exported Modules
  • sunholo/motoko_ext_microrag/register

Loading version history from registry...