Skip to main content

predict

Forecast what a subject will do next from their mined behavior patterns — with a calibrated, horizon-decayed confidence and provenance. Use when the user asks "what is this user/account likely to do next", "will X churn/convert/ reorder", or wants a forward prediction rather than a recall of known facts. This is a MemMesh capability a plain memory layer does not have.

소스 정보

저장소
ThinkfleetAI/memmesh
최근 소스 활동
2026년 7월 22일 21:11
감지된 SKILL.md 언어
영어
스타
420
포크
439

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
predict
description
Forecast what a subject will do next from their mined behavior patterns — with a calibrated, horizon-decayed confidence and provenance. Use when the user asks "what is this user/account likely to do next", "will X churn/convert/ reorder", or wants a forward prediction rather than a recall of known facts. This is a MemMesh capability a plain memory layer does not have.
# predict > **⚙️ Requires MemMesh hosted mode.** Calibrated prediction and behavior discovery run on the hosted engine — set your `mm-` API key. On a local / open-source install these tools (`memory_predict`, `memory_build_context`) are not registered; if a call returns "unknown tool", tell the user this is a hosted capability and fall back to `search` / `recall` for what's already known. Turn accumulated memory into a forward forecast. Unlike `search` ("what do we know"), `predict` answers "what happens next" — and it tells you how confident it honestly is, or abstains. ## Forward behavior prediction (local MCP) ```jsonc { "name": "memory_predict", "arguments": { "subjectKind": "user", "subjectId": "<id>", "horizonDays": 30, "minConfidence": 0.5, "limit": 20 } } ``` Returns ranked predictions, each with a confidence decayed over the horizon and the provenance behind it. Confidence is **calibrated** — 0.8 means it's right ~80% of the time — not a raw model logit. ## Read the result honestly - Present the top predictions with their confidence and horizon. - If a prediction **abstains** (not enough evidence), say so plainly — "not enough signal yet" is a valid, correct answer, and the point of MemMesh. - Cite the evidence ids so the user can trace *why*. Use the `why` skill to dig into calibration/provenance. ## Predict ANY target (hosted / SDK) The declarative "predict anything" surface (`lattice.predictTarget` with `target.kind ∈ event_occurrence | numeric | event_time | anomaly`) lets you add a new prediction with **no code change** — just name the target. It runs on the hosted gRPC/SDK path: ```ts await memory.lattice.predictTarget({ subject: { kind: "account", externalId: "acme" }, target: { kind: "event_occurrence", name: "churn" }, }); ``` ## Prereq Predictions come from mined `behavior_pattern` memories. If `memory_predict` returns nothing, the subject may not have enough observed history yet — feed more via `observe`, or check what patterns exist with the `behaviors` skill.
GitHub에서 보기