this.me
    Preparing search index...

    Class ME

    The .me Semantic Kernel.

    This is the core class of .me. When you do new ME(seed?), you get much more than a normal class instance:

    • a stateful semantic kernel that manages memories, indexes, secrets, and derivations
    • a callable proxy that lets you interact with infinite semantic paths like me.profile.name("Jose"), me("profile.name"), or me.wallet["_"]("key")

    Important:

    Indexable

    • [key: string]: any
    Index

    Constructors

    • Parameters

      • Optionalseed: string
      • options: MEOptions = {}

      Returns ME

    Properties

    _ownerScope: string | null = null
    _currentCallerScope: string | null | undefined = undefined

    Accessors

    • get memories(): Memory[]

      Public redacted memory log. This never exposes internal forensic fields such as effectiveSecret.

      Returns Memory[]

    • get encryptedBranches(): EncryptedBranchPlane

      Returns EncryptedBranchPlane

    • set encryptedBranches(value: EncryptedBranchPlane): void

      Parameters

      • value: EncryptedBranchPlane

      Returns void

    Methods

    • Inspect the current runtime state. Returned memories are always public/redacted.

      Parameters

      • Optionalopts: { last?: number }

      Returns MEInspectResult

    • Explain how a semantic path is derived. Useful for debugging pointers, operators, and derived values.

      Parameters

      • path: string

      Returns MEExplainResult

    • Execute a raw target string or parsed target AST without going through proxy property access. Useful for tooling, explicit runtime dispatch, and tests.

      Parameters

      Returns any

    • Exact vector search over a collection-scoped secret branch backed by chunked columnar storage. This is the correctness baseline used before approximate indexes such as IVF.

      Parameters

      • scopePath: string | SemanticPath
      • query: ArrayLike<number>
      • options: MESearchExactOptions = {}

      Returns MESearchExactResult

    • Build an approximate IVF sidecar for a collection-scoped secret vector corpus. The sidecar lives outside the kernel log and is intended to reduce chunk decrypts during search.

      Parameters

      • scopePath: string | SemanticPath
      • options: MEVectorIndexBuildOptions = {}

      Returns MEVectorIndexBuildResult

    • Approximate vector search backed by the IVF sidecar. Uses centroids for coarse routing and exact scan only on the selected candidate chunks.

      Parameters

      • scopePath: string | SemanticPath
      • query: ArrayLike<number>
      • options: MEVectorSearchOptions = {}

      Returns MEVectorSearchResult

    • Export a portable public snapshot. Snapshot memories are redacted and omit internal forensic fields.

      Returns MESnapshot

    • Hydrate the runtime from a snapshot payload. This is the primary restore API for bringing a saved kernel back to life in memory.

      Parameters

      • snapshot: MESnapshotInput

      Returns void

    • Import a snapshot into the current runtime. Accepts both redacted public snapshots and legacy/internal payloads. Prefer hydrate() in user-facing code.

      Parameters

      • snapshot: MESnapshotInput

      Returns void

    • Rehydrate the runtime from a snapshot payload. Backward-compatible alias for hydrate().

      Parameters

      • snapshot: MESnapshotInput

      Returns void

    • Replay a memory log into the current runtime. Accepts both public Memory[] and legacy/internal memory payloads.

      Parameters

      • memories: ReplayMemoryInput[]

      Returns void

    • Ingest a single memory-like payload into the runtime. Useful for tools that already operate at the memory-log layer.

      Parameters

      • memory: unknown

      Returns void

    • Derive a branch-scoped proof for the current active expression. This signs a canonical payload with an Ed25519 key deterministically derived from the root seed and active branch expression.

      Parameters

      • input: MEProofInput

      Returns Promise<MEProofResult>

    • Control whether derivations recompute eagerly or lazily.

      Parameters

      • mode: "eager" | "lazy"

      Returns this

    • Read the current derivation recompute mode.

      Returns "eager" | "lazy"

    • Parameters

      • scope: string | null

      Returns ME

    • Type Parameters

      • T

      Parameters

      • scope: string | null
      • fn: () => T

      Returns T