@x12i/memorix-scoper
v2.0.0
Published
Memorix Scoper core — profiles, reasoner, coordinator
Readme
@x12i/memorix-scoper
Coordinator library: scope(), reasoners, profiles, and ai-dispatcher MCP (createScoperMcpServer).
import { createScoper, ScriptedReasoner, createScoperMcpServer } from "@x12i/memorix-scoper";
import { createAiDispatcher } from "@x12i/ai-dispatcher";
const scoper = createScoper({ sdkConfig: { memorixBaseUrls: ["http://127.0.0.1:5100"] } });
const dispatcher = createAiDispatcher({
/* providers */,
mcp: {
servers: [
createScoperMcpServer({
scoper,
context: {
orgId: "sandbox1",
agentIds: ["opx"],
caller: "skill-process",
traceId: "…",
},
}),
],
},
});Tools exposed to the model: scoper__scope, scoper__subject_data. Trusted org/agent/caller come only from context at create time — never from tool args.
