# Function writeMonadIndexEntry

- writeMonadIndexEntry(entry: MonadIndexEntry, persist?: boolean): void

  Writes or replaces a monad index entry in the local `.me` kernel.

  The index is the fast structural layer: it answers "who could serve this namespace?" before the scoring engine decides "who should serve it?"

  #### Parameters

  - entry: MonadIndexEntry
  - persist: boolean = false

  #### Returns void

  - Defined in kernel/monadIndex.ts:48