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

productloop-os

v0.2.3

Published

Composable governance, policy, approvals, provenance, evals, connectors, skills, browser research, and Maqam agent tooling.

Downloads

948

Readme

productloop-os

productloop-os is the public ecosystem and runtime companion to Maqam, the governed execution kernel. It gives applications one dependency for Maqam plus eight small Ajnas packages, stable named namespaces, a deny-by-default composition, explicit schema adapters, a dependency doctor, and a deterministic integration example.

The ProductLoop package atlas documents every namespace. Installing this umbrella does not merge the Maqam and Ajnas runtimes or silently govern direct SDK calls. createProductLoopOS() creates separate components, and cross-runtime behavior is limited to documented, opt-in adapters.

A maintained Node.js 22, 24, or 26 release is required.

npm install productloop-os
import {
  createProductLoopOS,
  runtime,
  policy,
  approvals,
  provenance,
  browserResearch,
  maqam
} from "productloop-os";

const os = createProductLoopOS({
  policyBundle: {
    schemaVersion: "ajnas.policy.bundle.v1",
    id: "my-policy",
    version: "1.0.0",
    defaultEffect: "deny",
    rules: [
      {
        id: "allow-local-echo",
        effect: "allow",
        reason: "Reviewed local tool",
        match: { toolNames: ["local.echo"], risks: ["low"] }
      }
    ]
  }
});

os.tools.register({
  name: "local.echo",
  description: "Return local structured input",
  risk: "low",
  execute: ({ input }) => input
});

const result = await os.runtime.run({
  name: "hello",
  input: { message: "hello" },
  steps: [
    { id: "echo", run: (context) => context.callTool("local.echo", context.input) }
  ]
});

os.importRuntimeEvents();
console.log(result.status, os.trace.events.length);

Namespaces

  • maqam — governed execution, exact approvals, evidence, CLI-agent tools, and HTTP crawling
  • runtime — ordered policy-gated tool execution
  • skills — skill manifests, signatures, install policy, and audit
  • provenance — hash-linked traces, bundles, signatures, and redaction
  • policy — declarative policy bundles and decision audit
  • evals — deterministic assertions and verifiable reports
  • connectors — connector manifests, permission context, and trust
  • approvals — review tickets, delegation, escalation, and decision adapters
  • browserResearch — governed research plans, replay, citations, and provenance

These are namespaces, so colliding names such as AgentRuntime, ApprovalQueue, and runCli remain unambiguous.

Composition and adapters

createProductLoopOS() creates independent ledgers and registries plus tested bridges for runtime and skill events into a general trace. It also exposes createBrowserHarness() with a shared audit ledger.

The exported adapters include:

  • an ajnas-policy to ajnas-runtime policy adapter;
  • runtime snapshot and browser report conversions for ajnas-evals;
  • policy/connector to approval subjects and approval tickets back to runtime decisions;
  • connector trust to runtime policy decisions;
  • createMaqamCrawlerTool(), an explicit high-risk live-network tool that is never registered automatically.

These adapters convert documented records or tool shapes; they are not native integrations with external orchestrators, providers, or hosted services. A direct client call outside the selected runtime bypasses its policy, approval, and evidence path unless the host application explicitly wraps that call.

CLI

npx productloop-os doctor
npx productloop-os info
npx productloop-os demo

doctor checks Node.js and package imports. It deliberately does not report live browsers, credentials, model providers, networks, or connector services as healthy because those are not bundled or safe to probe implicitly.

Capability boundary

This package is not a model, browser engine, hosted crawler fleet, identity system, secret manager, sandbox, database, distributed scheduler, or guarantee of safety. ajnas-browser-research includes deterministic replay, not a live browser. Maqam has a real HTTP crawler and process-backed CLI-agent adapters, which require network, command, filesystem, and credential controls at deployment time.

createMaqamCrawlerTool({ defaults }) treats every supplied default as a deployment-enforced value: per-call input cannot override those network or resource limits. Put seeds and ordinary request-specific fields in tool input; put private-network policy, allowlists, robots behavior, and ceilings in defaults.

See the Maqam and ProductLoop guide, architecture, comparison, and release guide.

For participation and support, use the community hub, GitHub Discussions, contribution guide, governance policy, Code of Conduct, support guide, and security policy.

This package metadata is [email protected], an umbrella-only documentation patch. Its eight ProductLoop dependency versions are intentionally unchanged. The npm registry and its provenance records are the source of truth for publication; selecting a version in source, merging a commit, or creating a tag does not publish it.

License

MIT