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

@openmas/core

v0.1.0-alpha.2

Published

Open Source Multi-Agent System (MAS) Framework

Readme


Alpha Status

OpenMAS is in Alpha foundation development.

The current Alpha focuses on the regular-user happy path:

  • create a new OpenMAS habitat;
  • run deterministic Alfred and Bruce invocations;
  • configure the Credential Vault;
  • run probabilistic provider-backed invocations through OpenRouter;
  • inspect the local OpenMAS OS service;
  • submit immediate delegation from Alfred to Bruce;
  • submit scheduled delegation from Alfred to Bruce;
  • preserve runtime evidence without exposing Secret Values.

This is not production orchestration yet. The terminal CLI is the Alpha bootstrap, administration, and diagnostic surface. Future user-facing interaction should move through governed channels such as WhatsApp, Telegram, Slack, and email as those adapters are implemented.

Requirements

  • Node.js >=22
  • npm or pnpm
  • An OpenRouter API key for probabilistic Alpha smoke tests
  • Docker Desktop or Docker Engine only if you want to run the Docker try-me path

Create A Habitat

Using npm:

npm create openmas@alpha marketing-and-sales-department
cd marketing-and-sales-department
npm install

Using pnpm:

pnpm create openmas@alpha marketing-and-sales-department
cd marketing-and-sales-department
pnpm install

The generated folder is your OpenMAS AI-native habitat. Its package.json installs the @openmas/core runtime package, which exposes the openmas CLI binary.

First Deterministic Try Me

npx openmas doctor
npx openmas invoke alfred hello
npx openmas invoke bruce hello

Equivalent human-friendly form:

npx openmas invoke alfred hello
npx openmas invoke bruce hello

Deterministic invocation does not call an AI provider. It proves the habitat, Operational Identity, Cognitive Identity, routing, and deterministic command path are alive.

OpenRouter Credential Setup

Open the development Credential Vault:

npx openmas credentials edit development

Add your OpenRouter key:

{
  "providers.openrouter.shared.default.api_key": "replace-with-your-openrouter-api-key"
}

Never commit Secret Values or master keys.

The Alpha Habitat uses openrouter/free by default. This keeps the first probabilistic smoke low-friction, but provider availability, quotas, model behavior, and rate limits still belong to OpenRouter.

Verify readiness:

npx openmas credentials show development
npx openmas doctor

First Probabilistic Try Me

npx openmas ask alfred "Please inspect this habitat."
npx openmas ask bruce "Please review this habitat and report one useful finding."

Probabilistic invocation calls the configured provider. OpenMAS should distinguish provider, Vault, credential, policy, runtime, and OS readiness failures clearly.

Local OS Service Try Me

In one terminal:

npx openmas os watch --interval 1000

In another terminal:

npx openmas os status

On Windows, when you need the cleanest shutdown evidence, prefer the local Node wrapper:

node ./bin/openmas.js os watch --interval 1000

Use Ctrl+C to stop the service gracefully.

Delegation Try Me

With the Credential Vault configured and os watch running:

npm run delegate:alfred-to-bruce

This asks Alfred to submit a governed mas.os.delegate request to the OpenMAS OS. Alfred should not claim Bruce completed work unless runtime evidence exists.

Scheduled Try Me

With os watch running:

npm run schedule:bruce

To change the delay in a cross-platform way:

npm run schedule:bruce -- --delay-seconds 120
pnpm run schedule:bruce -- --delay-seconds 120

Scheduled work is asynchronous. Use npx openmas os status after the scheduled time to inspect release and child-result evidence.

Docker Try Me

Level 1: build the Alpha Habitat image.

docker build -t openmas-habitat .

Level 2: run Doctor inside the container.

docker run --rm openmas-habitat npx openmas doctor

Run the local OS service inside the container:

docker run --rm --init openmas-habitat

Docker is intentionally single-container for Alpha. Docker Compose, external queues, Redis, and production deployment automation are not part of this Alpha path.

AGENTS.md

Every generated habitat includes an AGENTS.md file.

That file is for AI coding partners. It explains the habitat boundary, safe commands, identity vocabulary, credential safety, OS state boundaries, and runtime evidence discipline.

If an AI assistant helps you modify a habitat, ask it to read AGENTS.md first.

Cross-Platform Notes

OpenMAS is designed for Linux, macOS, Windows, and Docker-based local smoke paths.

Known Alpha limitations:

  • Windows npx may show the native batch termination prompt after Ctrl+C; use node ./bin/openmas.js os watch ... when clean shutdown evidence matters.
  • Docker tests require a running Docker daemon.
  • Linux, macOS, and pnpm lanes must be recorded before a final Alpha publication gate.

Contributing

OpenMAS welcomes contributions to the framework, runtime, tools, adapters, starter habitats, documentation, and tests.

Before changing runtime code, run:

npm run lint
npm test

Live tests under tests/live/ may require a configured Credential Vault, provider access, and a paired OS service.

License

OpenMAS is released under the MIT License.