Logo N8n Agents Official

N8n Agents Official

Tổ chức
n8n-io
n8n-agents-official

Use when the user wants an agent, assistant, or bot in n8n, or is building, editing, testing, publishing, or debugging a first-class n8n Agent. Covers choosing an Agent vs a workflow vs the AI Agent node, the Agent MCP tools (create_agent, mutate_agent, validate_agent, call_agent, publish_agent, update_agent_integration), Agent config JSON, tools and approvals, skills, sub-agents, model routing, knowledge files, vector stores, memory and sessions, Slack / Telegram / Discord / Linear / n8n Chat channels, scheduled tasks, the Message an Agent node, and reading Agent sessions and traces. Triggers on "build me an agent", "assistant", "chatbot", "Slack bot", "Telegram bot", "agent skills", "sub-agent", "knowledge base", "agent memory", "session", "Message an Agent", "publish the agent", or any Agent tool call.

Tổng quan

Nhà phát hànhn8n-io
Kho mãskills
Tên kỹ năngn8n-agents-official
Sao
551
Bản fork
80
Tệp đi kèm
12
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 12 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được n8n-io công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI N8n Agents Official trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/n8n-io/skills/tree/main/skills/n8n-agents-official
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/n8n-io/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/n8n-agents-official .claude/skills/n8n-agents-official
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật N8n Agents Official trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp N8n Agents Official ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng N8n Agents Official với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

n8n Agents

A first-class n8n Agent is a saved resource with its own instructions, model, tools, skills, sub-agents, memory, channels, scheduled tasks, versions, and spend limits. It is configured as JSON through the Agent MCP tools, never with Workflow SDK code. The AI Agent node inside a workflow is a different thing, covered by n8n-ai-nodes-official.

Agents are generally available. The UI shows a Preview tag because they change often and some features you might expect aren't there yet. They aren't ready for Enterprise yet: an Enterprise instance may have them enabled, but don't assume it. If create_agent isn't in your tool list, Agents aren't enabled on this instance. Say so and offer a workflow instead of guessing.

Non-negotiables

  1. Always send a memory block when creating over MCP: "memory": { "enabled": true, "storage": "n8n" }. The UI adds it on every save. create_agent saves exactly what you send, and without it the Agent forgets the previous turn even inside one session (verified live).
  2. Never publish without the user's explicit OK. A built Agent is a draft. Configuring a channel on an already published Agent connects it immediately, so confirm that too.
  3. Publish what the Agent calls. Workflow tools need a When Executed by Another Workflow trigger, the same project, and a published workflow (validate_agent reports it). Saved sub-agents must be published too, and nothing checks that: validation and publishing pass, then production delegation fails and the parent quietly answers on its own.
  4. Approval on anything that sends, changes, deletes, or spends, and know what the approver will see. See references/APPROVALS.md.
  5. One mutate_agent per change, always with the latest configHash. A stale hash returns stale_config: call get_agent and retry.

Agent, workflow, or AI Agent node?

Decide before calling any build tool. The first question is the "say it out loud" test.

You can...Build
Say every step before the request arrives, none needs judgmentWorkflow
Say every step, one needs judgment (label, extract, summarize, write)Workflow with an AI step: Text Classifier, Information Extractor, chain, or AI Agent node (n8n-ai-nodes-official)
Not say the steps until you see the request, and people talk to it or it acts on its ownFirst-class n8n Agent
Not say the steps, but one of the limits below appliesAI Agent node in a workflow
Not say the steps, and a fixed pipeline also needs the same brainFirst-class Agent, called from the workflow with Message an Agent. The agent decides, the workflow acts

"Build me an agent" or "assistant" means a first-class Agent unless a limit applies. A Chat Trigger plus an AI Agent node is not a substitute for a requested Agent. If a request is really a fixed trigger plus fixed steps, explain the mismatch and ask before building a workflow instead.

Current limits that point to the AI Agent node

NeedWhy an Agent can't do it todayUse instead
Custom approval message, or the approver must see the parameters in SlackApproval is on/off with a fixed message. Channel cards show the tool name onlyA workflow tool that runs its own send-and-wait approval with the values (can post in the same Slack thread)
Trigger or node data mapped exactly into a tool parameterTool expressions only see the model's own arguments (verified live for node and workflow tools)AI Agent node, or Message an Agent with structured output and downstream nodes doing the mapping
One conversation shared by a native channel and workflowsChannel threads and Message an Agent session keys live in separate namespacesA shell workflow on the platform's trigger, calling the Agent with Message an Agent
Approval inside a Message an Agent callFails with "Suspend/resume is not supported in workflow execution context"Gate the action in the calling workflow

MCP build sequence

  1. get_agent_builder_reference once. Its configSchema is the source of truth for field names; trust it over this skill when they differ.
  2. search_projects, then discover_agent_assets (models, integrations, workflows, subagents, mcpServers), list_credentials, and search_nodes with usage: "agentTool" + get_node_types for node tools.
  3. create_agent with model, credential, instructions, memory block, and ordinary tools. Skills, tasks, and custom tools come after, through mutate_agent, because they need server-generated ids.
  4. mutate_agent, one operation per call. skill.upsert doesn't change configHash; config patches do.
  5. validate_agent until valid: true and missing is empty.
  6. One representative call_agent. It runs the draft through Preview with real tools, so side effects happen: if any tool without approval sends, writes, or pays, ask the user before the test. Every returned approval goes to the human; resume each with its continuation.
  7. Report the draft with the url from validate_agent, plus the session link (see references/SESSIONS_AND_DEBUGGING.md), and ask whether to publish.
  8. publish_agent only on an explicit yes. Channels: update_agent_integration (references/CHANNELS.md).

Details on every operation, error code, and version tool: references/MCP_BUILD.md.

Where depth lives

FileRead when
references/MCP_BUILD.mdAny mutate_agent operation, error codes, versions, revert, delete, availableInMCP
references/CONFIG.mdWriting or reviewing Agent JSON: every field, limits, defaults, what is versioned
references/TOOLS.mdNode, workflow, custom, MCP server, and built-in tools, input modes, what expressions can see
references/APPROVALS.mdAdding approval, what each surface shows, where approval can't happen, custom approval through a workflow tool
references/SKILLS.mdAdding Agent skills: how loading works, writing descriptions, references
references/SUB_AGENTS.mdDelegation, saved vs inline sub-agents, model routing by difficulty
references/KNOWLEDGE.mdUploaded knowledge files vs external vector stores
references/MEMORY.mdMemory kinds, session scopes, session keys
references/CHANNELS.mdSlack, Telegram, Discord, Linear, n8n Chat, or "native channel or shell workflow?"
references/TASKS.mdScheduled tasks
references/MESSAGE_AN_AGENT.mdCalling an Agent from a workflow
references/SESSIONS_AND_DEBUGGING.mdAnything went wrong, or the user asks where to see what the Agent did

For a chat bot built as a workflow shell (platforms without a native channel, slash commands, custom routing), the shell patterns live in n8n-ai-nodes-official references/CHAT_SURFACE_PATTERNS.md, section "Core as Message an Agent". Its one rule that can't wait: on surfaces that deliver the bot's own messages (Slack, Discord), a shell that posts replies must filter out the bot's user ID right after the trigger, or it triggers itself forever.

Writing instructions

Instructions are the system prompt. Same split as the node: persona, rules, output format, and inter-tool flow go in instructions; how to call a specific tool goes in that tool's description. Long procedures the Agent needs only sometimes belong in a skill, which costs tokens only when loaded. Say where to deliver results ("post the summary in #ops"), because a scheduled run has no one to reply to.

Anti-patterns

Anti-patternWhat goes wrongFix
create_agent without memoryAgent forgets the previous turn even in one sessionSend { "enabled": true, "storage": "n8n" }
Chat Trigger + AI Agent node when the user asked for an agentLoses channels, sessions, approvals, versions, tasks, and budgetsFirst-class Agent, unless a limit applies
Publishing because validation passedThe user didn't approve a live Agent, and channels go live with itReport the draft and ask
Saved sub-agent left unpublishedProduction delegation fails silently; the parent answers without itPublish children before the parent goes live
Expression in a tool input that reads $('Webhook') or $json.<trigger field>Only the model's arguments are visible, so the value is empty or wrongPass it through the message, or keep the mapping in a workflow
Approval on a tool the Agent calls under Message an Agent or a taskRun fails, or parks with no one to answerGate in the calling workflow; give tasks only safe tools
Same Message an Agent session key for two Agents in a project (e.g. both keyed on a bare Telegram id)Keys are project-wide, not per Agent: the second Agent fails with "Failed to create the agent execution record"Prefix keys per Agent: support-<telegramId>
Skill body says "read references/x.md" vaguelyThe model often skips it"Load references/x.md with load_skill (filePath) before answering"
Integrations set through config.patchRejectedupdate_agent_integration
Slack connected with a credential built for a Slack TriggerPasses every check, receives nothingManaged setup, or an app whose request URL points at this Agent

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI N8n Agents Official làm được gì?

Use when the user wants an agent, assistant, or bot in n8n, or is building, editing, testing, publishing, or debugging a first-class n8n Agent. Covers choosing an Agent vs a workflow vs the AI Agent node, the Agent MCP tools (create_agent, mutate_agent, validate_agent, call_agent, publish_agent, update_agent_integration), Agent config JSON, tools and approvals, skills, sub-agents, model routing, knowledge files, vector stores, memory and sessions, Slack / Telegram / Discord / Linear / n8n Chat channels, scheduled tasks, the Message an Agent node, and reading Agent sessions and traces. Trigg...

Vì sao nên dùng N8n Agents Official trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. N8n Agents Official là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài N8n Agents Official trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/n8n-io/skills/tree/main/skills/n8n-agents-official. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng N8n Agents Official?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng N8n Agents Official với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng N8n Agents Official với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI N8n Agents Official có miễn phí không?

Có. Kỹ năng này được n8n-io phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇