npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@x12i/memorix-sdk

v1.1.0

Published

Memorix Capability SDK — invoke pipelines and implement the services those pipelines call.

Readme

@x12i/memorix-sdk — Memorix Capability SDK

Build multi-step work on Memorix and implement the capabilities it invokes.

The SDK is the primary developer entry point. It does not contain or re-host the Memorix pipeline runtime, Mongo, ledger, or canonical write ports.

npm install @x12i/memorix-sdk@^1.0.1
@x12i/memorix-sdk
 ├─ /client     re-exports @x12i/memorix-client (Explore, pipelines, checkpoints, commitPage, getConnection, …)
 ├─ /worker     defineCapability + createMemorixWorker (@x12i/core-service)
 ├─ /authoring  validate/compile pack + pipeline metadata
 └─ /testing    recorded adapters + envelope helpers

@x12i/memorix-client remains the canonical HTTP foundation underneath /client.

For provider connectors (source pull / push workflows), use @x12i/memorix-connector-sdkdefineConnector, workflow steps, and checkpoint-aware collectStream.

Product → pipelines

import { createMemorixClient } from "@x12i/memorix-sdk/client";

const mx = createMemorixClient({
  baseUrl: "http://127.0.0.1:5100",
  orgId: "sandbox1",
  agentIds: ["opx"],
});

const run = await mx.pipelines.start("knowx-associate", {
  recordId: "PB-2",
});
const completed = await mx.pipelines.wait(run.runId);
const arts = await mx.pipelines.listArtifacts(run.runId);

Called service worker

import {
  defineCapability,
  createMemorixWorker,
} from "@x12i/memorix-sdk/worker";

const capability = defineCapability({
  serviceId: "knowx-associate",
  operation: "associate",
  capabilities: ["analyze"],
  memorixAccess: ["explore"],
  handler: async (request, context) => {
    const existing = await context.memorix!.explore.listContent({
      objectType: "employees",
      contentType: "knowx",
    });
    return { drafts: [{ inputs: request.inputs, existing }] };
  },
});

const worker = createMemorixWorker({ service: capability, port: 0 });
await worker.start();

Workers receive a versioned CapabilityInvocation (memorix-capability/1) with scope, execution metadata, inputs, and an optional memorix callback context (including a server-issued grant).

memorixAccess may include "explore" | "checkpoints" | "raw". Callback clients cannot call memory.pull (operator-only).

Authoring

import {
  validatePack,
  compilePipeline,
} from "@x12i/memorix-sdk/authoring";

const compiled = compilePipeline(definition);
// Installation remains an explicit memorix-service operation.

Boundaries

| In SDK | Not in SDK | |--------|------------| | Pipeline start/wait/cancel/retry | DAG execution engine | | Worker HTTP host (core-service) | Mongo / db-router | | Pack validation | Run ledger implementation | | Callback Explore / raw / checkpoints / commitPage | Canonical write ports; operator Memory pull |

memorix-service remains the orchestration and persistence plane.

Docs