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

@sensigo/realm-cli

v0.7.0

Published

Run autonomous agent workflows, host an MCP server over HTTP, and manage workflow definitions and run history from the terminal.

Readme

@sensigo/realm-cli

Run autonomous agent workflows, host an MCP server over HTTP, and manage workflow definitions and run history from the terminal.

Installation

npm install -g @sensigo/realm-cli

Commands

realm workflow <command>

| Command | Description | | ---------- | ----------------------------------------------------- | | init | Scaffold a new workflow directory | | validate | Validate a workflow YAML file | | register | Register a workflow from a directory | | watch | Watch a workflow directory and re-register on changes | | run | Start a workflow run | | test | Run workflow tests | | migrate | Apply schema migrations to stored runs |

realm run <command>

| Command | Description | | --------- | ---------------------------------- | | list | List all runs | | inspect | Inspect a run's steps and evidence | | replay | Replay a completed run | | diff | Diff two run records | | resume | Resume a paused run | | respond | Submit a response to a human gate | | cleanup | Delete old or terminal runs |

Top-level commands

| Command | Description | | ------- | ------------------------------------------ | | mcp | Start the MCP server over stdio | | serve | Start the HTTP gateway | | agent | Run a workflow step using a built-in agent |

Using realm agent

| Flag | Description | | ------------------- | -------------------------------------------------------------- | | --workflow <path> | Path to workflow directory or workflow.yaml file | | --provider <name> | LLM provider: openai or anthropic (auto-detected from env) | | --model <name> | Model name override (default: gpt-4o / claude-sonnet-4-5) | | --base-url <url> | Base URL for OpenAI-compatible endpoints | | --run-id <id> | Attach to an existing run | | --params <json> | Initial run parameters as JSON | | --register | Persist the workflow definition to ~/.realm/workflows/ |

DeepSeek / Qwen / other OpenAI-compatible providers:

OPENAI_API_KEY=<your-key> realm agent \
  --workflow ./my-workflow \
  --provider openai \
  --base-url https://api.deepseek.com \
  --model deepseek-chat

Custom Providers

realm agent supports custom LLM providers via --provider-module. Pass the path to an ESM module that exports an instance of LlmProvider or ToolCapableLlmProvider as its default export.

Minimal example:

// my-ollama-provider.ts
import { LlmProvider } from '@sensigo/realm-cli/agent';

class OllamaProvider extends LlmProvider {
  async callStep(prompt: string): Promise<Record<string, unknown>> {
    // call your local Ollama endpoint here
    const response = await fetch('http://localhost:11434/api/generate', { ... });
    return await response.json() as Record<string, unknown>;
  }
}

export default new OllamaProvider();
realm agent --workflow ./my-workflow --provider-module ./my-ollama-provider.js

The module must export an instance (not a class) as its default export. The instance must extend LlmProvider (for basic steps) or ToolCapableLlmProvider (for tool-enabled steps), both exported from @sensigo/realm-cli/agent.

Custom provider modules are user-supplied code executed in the same process as realm agent. Only use modules you trust.

--provider-module cannot be combined with --provider, --model, or --base-url.

Programmatic extension

The @sensigo/realm-cli package exports its command groups for embedding in custom CLI applications. Import workflowCommands, runCommands, and topLevelCommands (arrays of Command objects from commander) and register them into your own CLI program.

Full documentation

Full documentation: https://github.com/sensigo-hq/realm