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-agent-kit

v0.1.25

Published

n8n node cluster: AgentKit, SkillLoader, AgentMemory, McpGateway

Readme

🤖 n8n-nodes-agent-kit

Build production-grade AI agents inside n8n. No glue code. No black boxes.

Multi-agent orchestration · Persistent memory · MCP tools · Skills as Code · Guardrails — all native n8n nodes.

npm version License: MIT n8n community node PRs Welcome

Quick Start · Nodes · Examples · Contributing · Discord


⚡ Why Agent Kit?

n8n's built-in AI Agent is great for prototypes. Agent Kit is what you reach for when you ship to production.

| | Vanilla n8n AI Agent | Agent Kit | |---|:---:|:---:| | Multi-agent orchestration (supervisor → subagents) | ❌ | ✅ | | Persistent SQLite long-term memory | ❌ | ✅ | | Skills loaded from GitHub (agentskills.io) | ❌ | ✅ | | MCP client + server gateway in one node | ❌ | ✅ | | Per-agent token usage trace | ❌ | ✅ | | Built-in guardrails (PII / regex / length) | ❌ | ✅ | | Drop-in OpenRouter (400+ models) | ⚠️ | ✅ |

One package. Six nodes. Zero magic. Plug, wire, ship.


🚀 Quick Start

1. Install

In your n8n instance: Settings → Community Nodes → Install → paste:

n8n-nodes-agent-kit

Or via npm in self-hosted:

npm install n8n-nodes-agent-kit

2. Add credentials

  • OpenRouter API — grab one at openrouter.ai (gives you Claude, GPT-4o, Gemini, Llama, Qwen, etc. — one key)
  • GitHub Skills API (optional) — only if you want to load skills from a repo

3. Build your first agent (60 seconds)

[Webhook] → [Agent Memory] ─┐
                            ├→ [Agent Kit] → [Respond]
            [MCP Gateway] ──┘

Done. You have a stateful AI agent with tools.


🧩 The Nodes

🤖 Agent Kit

The workhorse. A single AI agent with tool calling, memory, skills, and guardrails. Use this when one agent is enough.

Inputs: Main · AiMemory · AiTool Powered by: any OpenRouter model

🧠 Orchestrator Kit

Supervisor agent that routes tasks to specialist subagents. Returns a full executionTrace showing who did what, when, and how many tokens.

Inputs: Main · AiMemory · AiTool · AiAgent

🎯 Sub Agent Kit

A specialized agent that plugs into an Orchestrator as a callable tool. Give it a name, a description, a prompt — done. The orchestrator decides when to call it.

Output: AiAgent

💾 Agent Memory

SQLite-backed long-term memory + in-process short-term session buffer. Survives restarts. No external DB required.

Output: AiMemory

🔌 MCP Gateway

Speaks Model Context Protocol both ways: client (consume external MCP servers as tools) and server (expose n8n webhooks as MCP tools).

Output: AiTool

📚 Skill Loader

Loads SKILL.md files (the agentskills.io format) inline or straight from a GitHub repo. Skills compose into the system prompt at runtime.

Output: Main (carries skills payload)


🎬 Examples

🟢 Single agent with memory + tools

[Trigger] → [Agent Memory] ─┐
                            ├→ [Agent Kit] → [Output]
            [MCP Gateway] ──┘

🔵 Multi-agent orchestration

                  ┌→ [SubAgent: researcher] ──┐
[Trigger] → [Orchestrator Kit] ←──────────────┤
                  └→ [SubAgent: writer]    ───┘

The orchestrator picks which subagent to call. Each subagent has its own prompt, tools, and (optionally) memory. The output includes executionTrace with per-agent token usage.

🟣 Skills from GitHub (agentskills.io style)

[Trigger] → [Skill Loader (GitHub)] → [Agent Kit]

Skill Loader fetches SKILL.md files from your repo, parses YAML frontmatter, and injects them into the agent's system prompt. Update your skills repo, no n8n redeploy.

A complete demo workflow lives in docs/ — import it and you're running in 30 seconds.


🛡️ Guardrails

Agent Kit and Orchestrator Kit ship with built-in input/output guardrails:

  • PII detection (email, phone, CPF, etc.)
  • Regex blocklists
  • Length caps
  • Custom blockers

Configure them per-node. No middleware. No proxy. Just toggle.


📊 Observability

Every Orchestrator run returns:

{
  "response": "...",
  "executionTrace": [
    { "step": 1, "agent": "researcher", "task": "...", "durationMs": 1840,
      "usage": { "prompt_tokens": 1230, "completion_tokens": 240, "iterations": 2 } },
    { "step": 2, "agent": "writer", "task": "...", "durationMs": 920,
      "usage": { "prompt_tokens": 800, "completion_tokens": 410, "iterations": 1 } }
  ]
}

Wire this straight into your dashboards. No extra instrumentation.


🛠️ Local Development

git clone https://github.com/lucasbrito-wdt/n8n-nodes-agent-kit.git
cd n8n-nodes-agent-kit
npm install
npm run build
npm link

# In your n8n install dir:
npm link n8n-nodes-agent-kit
n8n start

Run the test suite:

npm test

🤝 Contributing

This is the part where you come in.

Agent Kit is built in the open. PRs, issues, ideas, memes — all welcome.

First-time contributors welcome. Look for issues tagged good first issue.


🗺️ Roadmap

  • [x] Multi-agent orchestration (Orchestrator + SubAgent)
  • [x] Per-agent token usage in executionTrace
  • [x] MCP client + server in one node
  • [x] Skills from GitHub
  • [ ] Streaming responses
  • [ ] Agent eval harness (golden datasets + regression gates)
  • [ ] Built-in vector memory
  • [ ] Cost budgets & per-session caps
  • [ ] Web UI for inspecting executionTrace

Vote with 👍 reactions on the roadmap discussion.


📜 License

MIT © Lucas Brito


If Agent Kit saved you a week of glue code, drop a ⭐ — it's the cheapest thank-you in OSS.

⭐ Star on GitHub · 📦 npm · 🐛 Issues

Built with ❤️ for the n8n community.