Skip to content

Repository files navigation

MemMesh examples

Runnable example apps for MemMesh — memory + prediction for AI agents. Every example is real code against a real SDK; set your keys and run it.

export MEMMESH_API_KEY=sk-...       # Platform Admin → API Keys
export MEMMESH_PROJECT_ID=proj_...

TypeScript

Example What it shows
typescript/predict-anything Declare any target — churn, next order total, next visit, anomaly — and get a calibrated prediction that abstains when the signal is thin.
typescript/next-best-offer The full closed loop: observe → mine → predict → Claude picks the offer + send-time → record the outcome → patterns re-calibrate.
typescript/financial-copilot Ingest real price history + headlines, build a portfolio-risk profile, get calibrated buy/sell/hold calls with a self-improving reconcile loop.
cd typescript/predict-anything && npm install && npm start

Build a brain

Turn a public dataset into a specialized brain any agent can consume over MCP — the universal fetch → shape → bulk-ingest → register + publish recipe.

Example What it shows
typescript/build-a-brain-sec Build the SEC finance brain — the one that matches GPT-4o at ~2.6x lower cost — from SEC EDGAR XBRL filings, end to end. Swap the dataset adapter for your own domain.
cd typescript/build-a-brain-sec && npm install && npm start -- --dry-run --limit=3

Python

Example What it shows
python/support-agent A support bot that remembers every customer across sessions, recalls history on each ticket, surfaces related memories, and self-corrects when facts change.
cd python/support-agent && pip install -r requirements.txt && python main.py

Go · Rust · .NET

Minimal observe → search → reflect quickstarts: go/quickstart · rust/quickstart · dotnet/quickstart

Skills

Packaged Agent Skills that pair with the MemMesh MCP connector — no SDK, just prompt + connector.

Skill What it does
skills/memmesh-capture Persist the durable signal from your LLM conversations into MemMesh as you work — facts, decisions, preferences, and repeatable procedures — via memory_observe. Curated by design (not a transcript). Install docs for Claude Code, Codex, Claude web, and ChatGPT.

SDKs

Apache-2.0 · memmesh.ai · docs

About

Runnable example apps for MemMesh — memory + prediction for AI agents (TypeScript, Python, Go, .NET, Rust).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages