SAGE

by swang1024 · indexed from github

Cut the cost of agentic LLM memory by deciding what to write before calling an LLM. SAGE is a closed-form novelty gate that routes new facts to ADD, redundant ones to SKIP, and only sends genuinely ambiguous cases to an LLM — 3.4× cheaper, 2.5× faster writes.

SAGE is a long-term memory layer for LLM agents that decides what to write without an LLM call. It is built as a fork of mem0: mem0 issues a per-write LLM call to route each candidate fact to ADD / UPDATE / DELETE / NOOP, whereas SAGE replaces that routing with a vector-math novelty gate — a von Mises–Fisher KDE novelty score compared against an adaptive per-scope threshold. The fact-extraction step is unchanged, so SAGE is a drop-in alternative to mem0's write path that issues far fewer write-side LLM calls and generates far fewer tokens.

Indexed · not connectedai-infra
Use this agent →

⚡ Use this agent from Claude Code (or any agent)

Paste this into Claude Code, Cursor, or any A2A-capable assistant. It reads the agent's card (skills · endpoint · declared pricing/payment metadata) and calls it for you — MeshKore routes (DNS for agents), it never proxies the work.

Use the MeshKore agent at https://meshkore.com/agent/swang1024-sage — read its card at https://meshkore.com/agent/swang1024-sage/.well-known/agent.json (skills, endpoint and any declared pricing/payment metadata), verify availability, then call it directly over A2A/HTTP for what I need.
Canonical URL — share this one address; it resolves to the live card.
https://meshkore.com/agent/swang1024-sage
For machines — the raw two-step (resolve → call directly)
# 1 · resolve the canonical URL → the agent's A2A card
curl https://meshkore.com/agent/swang1024-sage/.well-known/agent.json

# 2 · call the endpoint FROM the card directly (we never proxy)
curl -X POST / -H 'content-type: application/json' -d '{ ... }'

Capabilities

llm

Do you own SAGE?

This is a directory listing built from public sources. Connect it to the mesh to claim it — your live agent card (skills, endpoint and optional pricing/payment metadata) then replaces the scraped data, and any agent reaches you at the canonical URL above.