Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProductLoop OS

ProductLoop OS is the ecosystem and runtime companion to Maqam. Maqam is the governed execution kernel: it binds policy, exact approvals, tool execution, and source-linked evidence at the side-effect boundary. ProductLoop surrounds that kernel with small, independently publishable packages for workflow runtime, policy decisions, approval operations, connector trust, skill manifests, provenance, deterministic evaluations, and browser-research records.

Use the Maqam website for the product overview and the ProductLoop package atlas for package-by-package documentation. The detailed Maqam and ProductLoop relationship explains which package to install and which integration boundaries remain explicit.

The projects form one ecosystem, not one silently merged runtime. createProductLoopOS() exposes the Maqam namespace and creates both Maqam and Ajnas package components, while their contracts and ledgers remain distinct. The bundled Maqam crawler bridge is opt-in and is never registered automatically. Direct calls to a provider, browser, connector, model SDK, or Maqam tool outside a governed runtime path are not intercepted by ProductLoop.

The ecosystem is a governance toolkit, not a claim of autonomous intelligence. It does not ship a model, a hosted team control plane, a secret manager, a production browser, or a distributed job system. ajnas-browser-research supplies a governed adapter contract and deterministic replay harness. ProductLoop Workbench adds a durable single-operator SQLite store and local dashboard; real browser, search, connector, model, distributed storage, identity, and hosted service implementations remain explicit deployment choices.

One governed agent stack

The wider product direction is one installable control plane with replaceable execution layers, not one package that silently owns every capability.

Layer Product Responsibility Current boundary
Operate ProductLoop Workbench Durable local runs, exact approval review, evidence, memory links, policy inspection, and proof export Open-source 0.1.0 source candidate; hosted team control plane not included
Compose ProductLoop OS Workflow runtime, policy, approvals, connectors, skills, evaluations, provenance, and research plans Public package; external services stay explicit
Govern Maqam Registered tool policy, exact one-use approvals, browser-action contracts, traces, and evidence Public package; direct calls bypass it
Reach Cockroach Crawler Bounded public-web reads, provider capability checks, normalized records, and a restricted serverless profile Separate package and opt-in adapter
Browse Cockroach Browser Authorized Chromium sessions, semantic observations, paired evidence, and Maqam-routable action plans Separate AGPL package; live ProductLoop reads require an explicit authenticated client and origin allowlist
Remember Qarinah Local event ledger, deterministic graph/index, and compact cited context packs Public Apache-2.0 package; capture remains explicit and metadata-only by default

The composition supports public web and GitHub reads without a developer API key, known-video metadata, configured RSS/caption/search adapters, exact approval, deterministic workflow evidence, and compact local context. It does not bundle a model, browser engine, cookie extractor, proxy fleet, CAPTCHA bypass, secret manager, or operating-system sandbox.

For Cockroach Browser interoperability, ProductLoop validates the structural cockroach.productloop-capability-snapshot.v1 contract and exposes a live browser-research adapter for an explicitly supplied authenticated daemon client. The adapter creates short-lived, origin-scoped sessions for real Chromium observations without granting ProductLoop profile, credential, or daemon lifecycle authority. See the interop guide.

See the agent-stack capability map for the end-to-end flow, current status, adapter contracts, and launch gates.

Packages

The eight leaf-package versions below are already public and intentionally unchanged. productloop-os@0.2.4 and productloop-workbench@0.1.0 are source candidates and must not be described as published until their registry artifacts, provenance, Git tags, and GitHub releases match the reviewed commit. The npm registry and its provenance records are the source of truth for publication.

Package Release version or range Responsibility
productloop-workbench 0.1.0 source candidate Durable local runs, approval inbox, evidence and memory views, policy explanations, proof export, and no-key stack demo
productloop-os 0.2.4 source candidate One install, named namespaces, tested adapters, live browser observations, and composition helpers
maqam `^0.2.4
ajnas-runtime 0.2.2 Ordered workflows and policy-gated tool calls
ajnas-policy 0.1.3 Declarative allow, deny, and approval decisions
ajnas-approvals 0.1.3 Human review tickets, delegation, escalation, and audit history
ajnas-provenance 0.1.4 Hash-linked traces, bundles, signatures, and redaction
ajnas-skills-registry 0.2.2 Signed skill manifests and install policy
ajnas-connectors 0.1.3 Connector manifests, permissions, and trust evaluation
ajnas-evals 0.1.3 Deterministic assertions and verifiable evaluation reports
ajnas-browser-research 0.1.4 Policy-aware research plans, replay adapters, citations, and evidence exports

Install

Use the published ProductLoop OS umbrella today:

npm install productloop-os

From this repository, the Workbench source candidate can be exercised before publication:

npm ci
npm run build --workspace=productloop-workbench
node productloop-workbench/bin/productloop-workbench.js init
node productloop-workbench/bin/productloop-workbench.js demo
node productloop-workbench/bin/productloop-workbench.js serve
import { createProductLoopOS, runtime } from "productloop-os";

const os = createProductLoopOS();

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

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

os.importRuntimeEvents();
console.log(run.status, os.trace.events.length, runtime.AgentRuntime.name);

Every dependency is also available as a named namespace: maqam, runtime, skills, provenance, policy, evals, connectors, approvals, and browserResearch.

CLI

npx productloop-os doctor
npx productloop-os info

doctor verifies the Node version and that every packaged module can be loaded. It does not claim that external credentials, browsers, model providers, or production services are configured.

Development

ProductLoop OS supports the maintained Node.js 22 LTS, 24 LTS, and 26 Current release lines.

npm ci
npm test
npm run typecheck
npm run build
npm run integration
npm run pack

Maqam ^0.2.4 || ^0.3.1 is the supported compatibility range. The canonical workspace lockfile and default clean-consumer test resolve the public maqam@0.3.1 artifact. The full release gate also installs exact maqam@0.2.4 in a separate clean consumer to preserve the older compatibility floor. Maintainers can point MAQAM_PACKAGE_DIR at another exact clean Maqam candidate for pre-release qualification, but a sibling checkout or filesystem dependency must never be committed or included in a release manifest.

See the agent-stack capability map, Maqam and ProductLoop, architecture, comparison, release process, and the ecosystem launch runbook.

Open source and community

Start with the community hub or GitHub Discussions for questions, examples, and integration proposals. Actionable changes should arrive through a fork or branch and a reviewed pull request.

Security and maturity

The packages make decisions and evidence inspectable, but they cannot make an unsafe tool safe. Enforce sandboxing, credential isolation, network controls, retention rules, and independent authorization at the actual execution boundary. Review manifests and dry-run tarballs before publishing.

This is an early 0.x project. APIs can change between minor releases. A passing test suite demonstrates the covered deterministic behavior; it is not proof that every external integration or adversarial environment is safe.

License

MIT

About

Composable TypeScript workflow, policy, approval, provenance, connector, skill, evaluation, and browser-research packages around Maqam.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages