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

n8n-nodes-niyoos

v1.1.2

Published

Govern the AI agents in your n8n workflows with Niyoos: a kill switch, spending limits and a tamper-evident audit log for every model call.

Readme

n8n-nodes-niyoos

Requires n8n 2.16 or newer. On an older n8n (any 1.x, or 2.x before 2.16), install [email protected] instead — this version will not run there. See Compatibility.

Put your n8n AI agents under governance. Niyoos sits between your workflows and your AI providers. Every model call your AI Agent makes goes through Niyoos, which can stop an agent instantly with a kill switch, hold it to a spending limit, and seal a record of each call — its cost, model, timing and outcome — in a tamper-evident audit log. Your provider keys stay encrypted inside Niyoos; n8n only ever holds a per-agent Niyoos key.

This package gives n8n two nodes:

  • Niyoos Chat Model — the model for your AI Agent, Basic LLM Chain or any node with a Chat Model input. Each workflow execution is recorded in Niyoos as one run, with no setup.
  • Niyoos (action) — Get Agent: the name, organisation and status of your agent, so a workflow can check the agent is active before it starts.

Installation · Credentials · Usage · Runs · When Niyoos stops a call · Compatibility · Development · License

Installation

Follow n8n's community nodes installation guide and install n8n-nodes-niyoos.

Credentials

Create a Niyoos API credential:

| Field | What to enter | |---|---| | Agent Key | Your Niyoos agent key, starting sk-aiwos-. In the Niyoos dashboard, open Agents, pick or create an agent, and copy its key. | | Base URL | Leave as https://api.niyoos.com/proxy/v1 unless you run your own Niyoos deployment. |

The connection test checks the key against Niyoos and passes when it belongs to an existing agent. Each Niyoos agent is bound to one provider credential, so the model list shows that provider's models. To use another provider, create another agent and another credential.

Usage

  1. Add an AI Agent (or any node with a Chat Model input).
  2. Click the + under the agent's Chat Model input and search for Niyoos, then pick Niyoos Chat Model. On n8n Cloud, install the Niyoos package from the node panel first (press N, search "Niyoos", Install).
  3. Choose your Niyoos API credential and a model, then run the workflow.

Runs

Every model call carries a run id, n8n-<workflowId>-<executionId>, so all the calls one workflow execution makes are grouped as one run in Niyoos. Nothing needs configuring.

When Niyoos stops a call

When Niyoos refuses a call, the node tells you why and what to change — for example:

| What happened | What the node says | |---|---| | The agent's kill switch is on | This Niyoos agent is disabled (kill switch). Re-enable it in the Niyoos dashboard before running this workflow again. | | The agent reached its spending limit | This Niyoos agent has reached the spending limit set for it, so Niyoos stopped the request before any provider was called. … | | The provider rejected the stored key | The upstream provider rejected the provider key configured for this Niyoos agent. … |

Every refusal Niyoos can return has its own explanation. If n8n is going to retry a call, the retry is left to happen and the explanation is shown only once the call has failed for good.

Compatibility

  • n8n 2.16 or newer for version 1.x of this package. On an older n8n the chat model says so when the workflow runs.
  • On n8n 1.x, or n8n 2.x before 2.16, install [email protected]. In n8n's community nodes installer, enter the package name with the version, e.g. [email protected], and do not update it past 0.1.x until you have upgraded n8n.
  • Retries: current n8n versions do not retry a failed AI model call, so the chat model's Maximum Retries option has no effect today. It is kept so the setting works if n8n restores retries.
  • No runtime dependencies: n8n supplies the model client.

Development

npm ci
npm run lint
npm test        # builds, then runs the test suite against the built package

contract/niyoos-contract.json holds the Niyoos wire values this package depends on — every refusal code, the client header and the run-id rule. The tests fail if the package and the contract disagree.

License

MIT