Package Information
Available Nodes
Documentation
π€ 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.
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 KitThe workhorse. A single AI agent with tool calling, memory, skills, and guardrails. Use this when one agent is enough. Inputs: Main Β· AiMemory Β· AiTool |
π§ Orchestrator KitSupervisor agent that routes tasks to specialist subagents. Returns a full Inputs: Main Β· AiMemory Β· AiTool Β· AiAgent |
π― Sub Agent KitA 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 MemorySQLite-backed long-term memory + in-process short-term session buffer. Survives restarts. No external DB required. Output: AiMemory |
π MCP GatewaySpeaks Model Context Protocol both ways: client (consume external MCP servers as tools) and server (expose n8n webhooks as MCP tools). Output: AiTool |
π Skill LoaderLoads 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.
- π Report a bug
- π‘ Request a feature
- π Read the Contributing Guide
- π§ Follow the Code of Conduct
First-time contributors welcome. Look for issues tagged good first issue.
πΊοΈ Roadmap
- Multi-agent orchestration (Orchestrator + SubAgent)
- Per-agent token usage in executionTrace
- MCP client + server in one node
- 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.