Aller au contenu
Skillpedia
Programmation générale48k · #5266

n8n-agents

Ce qu’il fait

Cet outil vous aide à créer des « agents IA » dans n8n. Les agents IA sont des assistants intelligents capables d'accomplir des tâches complexes, d'utiliser d'autres outils et de se souvenir des conversations passées.

Quand l’utiliser

  • ✓Lorsque vous avez besoin que l'IA prenne des décisions complexes en utilisant plusieurs outils.
  • ✓Pour créer un assistant qui se souvient des conversations précédentes.
  • ✓Lorsque vous souhaitez que l'IA extraie des informations précises de textes de manière structurée.

Lien du skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/n8n-agents/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/n8n-agents/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Crée un agent capable de rechercher des informations sur des produits en ligne, puis de résumer leurs avantages et leurs inconvénients.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Vous reliez différents « blocs » (nœuds) à l'agent principal : un pour le « cerveau » de l'IA (le modèle), un autre pour la « mémoire » (si elle doit se souvenir de quelque chose), et d'autres pour les « outils » qu'il peut utiliser (comme la recherche sur le web).

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

n8n Agents

When to Use

Use this skill for n8n AI Agent, LangChain, classifier, extractor, memory, RAG, tool-calling, structured-output, or human-review design. Confirm the target n8n instance and inspect the live node schema before applying version-sensitive configuration.

Before activating or testing a workflow that can send messages, write data, make purchases, change accounts, or call external services, show the user the exact effects and obtain approval. Store provider keys and tokens only in n8n credentials; never place them in prompts, Set nodes, workflow JSON, examples, or logs.

The n8n AI Agent node (@n8n/n8n-nodes-langchain.agent) is a multi-turn LLM driver with sub-nodes for the model, memory, tools, and an optional output parser. This skill is the deep guide to designing agents and the LangChain family around them. For the high-level "where an agent fits in a workflow" picture, see the n8n-workflow-patterns skill — this skill goes one level down into how to build it well.

For node-type formats: in workflow JSON the LangChain nodes use the long @n8n/n8n-nodes-langchain.* form (.agent, .lmChatOpenAi, .memoryBufferWindow, .outputParserStructured, .toolWorkflow, .toolHttpRequest, .toolCode). When you call get_node / validate_node, use the short form (nodes-langchain.agent). See n8n-mcp-tools-expert for the format rules.


Pick the right node first

Reaching for an Agent when the task is one-shot classification or extraction is the most common over-build. Decide before you wire anything:

You need to… Use Why
Call tools, reason over multiple turns, or hold memory AI Agent (.agent) The full loop: model + tools + memory + optional parser. Also a fine default when you'd rather standardize.
One-shot text in → text out, no tools Basic LLM Chain (.chainLlm) No agent loop, easier to debug. Still accepts an outputParserStructured sub-node.
Route a natural-language input to one of N branches Text Classifier (.textClassifier) ONE node, N output handles, downstream wires directly into each. Not Agent + Switch.
Pull structured fields out of free text Information Extractor (.informationExtractor) Purpose-built field extraction with a schema.
3-way positive/neutral/negative split Sentiment Analysis (.sentimentAnalysis) Built-in branch outputs.
Condense a long document Summarization Chain (.chainSummarization) Map-reduce summarization built in.
Generate an image / audio / video The provider's native single-call node (OpenAI, Gemini, ElevenLabs…) NEVER wrap media generation in an Agent — see "Binary and the agent boundary".

Text Classifier detail (the Agent + Switch anti-pattern): every category needs both a name AND a description. The model routes against the description, not the name — a category with no description gets picked by coin-flip. Set options.enableAutoFixing: true for robustness on edge inputs. One node, N branches, done. Reaching for an Agent that "decides" then a Switch that "routes" is two nodes plus prompt boilerplate for what Text Classifier does natively.

Chat-model nodes (.lmChatOpenAi, .lmChatAnthropic, .lmChatOpenRouter, …) are sub-nodes — they don't run standalone. They wire into a chain, agent, classifier, or extractor via the ai_languageModel connection.


The sub-node pattern

The Agent has a main input (the prompt / user message) and up to four sub-node slots, each wired by its own ai_* connection type:

Slot Connection type Required? Node example
model ai_languageModel Yes .lmChatOpenAi, .lmChatAnthropic, .lmChatOpenRouter
memory ai_memory Optional .memoryBufferWindow, .memoryPostgresChat
tools ai_tool Optional (but the point of an agent) slackTool, .toolWorkflow, .toolHttpRequest, .toolCode
outputParser ai_outputParser Optional .outputParserStructured

A sub-node connects FROM itself TO the agent. In workflow JSON the connection lives on the sub-node, keyed by the ai_* type:

"Main LLM": {
  "ai_languageModel": [[{ "node": "AI Agent", "type": "ai_languageModel", "index": 0 }]]
},
"Simple Memory": {
  "ai_memory": [[{ "node": "AI Agent", "type": "ai_memory", "index": 0 }]]
},
"Search customer DB": {

…
Questions fréquentes

Quelle est la différence entre un AI Agent et une simple LLM Chain ?

Un AI Agent est plus complexe : il peut utiliser des outils et disposer d'une mémoire pour des conversations longues. Une LLM Chain simple sert à des tâches directes de texte en entrée et en sortie, sans autant de capacités.

Que sont les « sous-nœuds » ?

Ce sont de petits nœuds que vous reliez au nœud AI Agent principal pour lui donner des capacités spécifiques, comme un modèle de langage, une mémoire ou des outils.

Comment l'IA sait-elle quels outils utiliser ?

Vous donnez à chaque outil un nom et une description claire. L'IA lit ces descriptions pour décider quel outil convient le mieux à la tâche.

Détails

Description originale de l’auteur

Design n8n AI agents, chains, classifiers, extractors, tool calling, memory, RAG, structured output, and human-review flows.

repo: sickn33/agentic-awesome-skills

Popularité

Étoiles GitHub
48k
Position au classement
#5266
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires