Agent BrainsAgent Brains
n8n

Introduction

Build workflow logic in n8n and use AgentBrains for triggering, knowledge access, retrieval, and synthetic QA.

Introduction to AgentBrains n8n Nodes

The AgentBrains node pack connects n8n workflows to the parts of AgentBrains that matter in production: deterministic knowledge access, semantic retrieval, inbound workflow triggering, and synthetic conversation testing.

Why use the node pack

You can call the AgentBrains APIs with raw HTTP nodes, but the dedicated nodes remove repetitive setup and make workflows easier to maintain.

BenefitWhat you get in n8n
Credential handlingAccess tokens live in the n8n credential store instead of being repeated in every HTTP node.
Better AI ergonomicsKnowledge and retrieval responses are already shaped for workflow logic and LLM tooling.
Visual selectionCategories, indexes, and synthetic users can be selected from dropdowns instead of hardcoded IDs.
Faster production setupYou can connect a live workflow, search your knowledge base, and run QA without building custom request chains first.

Install the package

AgentBrains ships as an n8n community node package: n8n-nodes-agent-brains.

n8n supports three installation paths for community nodes:

PathBest forNotes
Nodes panelVerified community nodesAvailable from the canvas search panel for verified packages
Settings → Community NodesSelf-hosted npm installation through the UIRequires an Owner or Admin account
Manual npm installQueue mode or private-package setupsSelf-hosted only
  1. Open Settings.
  2. Go to Community Nodes.
  3. Select Install.
  4. Enter n8n-nodes-agent-brains.
  5. Confirm the community-node risk prompt.

Manual installation

If your n8n deployment runs in queue mode or you install packages manually inside the runtime container, install it from npm in ~/.n8n/nodes, then restart n8n:

mkdir -p ~/.n8n/nodes
cd ~/.n8n/nodes
npm install n8n-nodes-agent-brains

If you run n8n in Docker, open the container shell first and then run the same commands there.

Important limitations

  • Manual npm installation is available on self-hosted n8n instances.
  • Unverified community nodes are not available on n8n Cloud.
  • Verified community nodes can also be installed directly from the nodes panel by instance owners or admins.

Configure credentials

Create one AgentBrains Integration API credential and reuse it across all nodes.

FieldDescription
Access TokenGenerate it from the AgentBrains system integration page.
Custom DomainOptional override for sandbox or a custom environment. Leave it empty to use the package default.

The credential sends the same token both as a bearer token and as an access-key header, so you do not need to manage request headers manually.

If you need help creating the token first, open Access API Key.

Choose the right node

NodeBest forTypical outcome
AgentBrains Integration TriggerStarting an n8n workflow from AgentBrainsA live AgentBrains conversation or external integration invokes your workflow webhook.
AgentBrains Knowledge BaseDeterministic document, image, and category accessYour flow reads exact records, categories, attachments, or company data.
AgentBrains RAGSemantic retrieval across indexesYour AI agent searches large knowledge collections without managing embeddings yourself.
AgentBrains Synthetic QAAutomated validation of agent behaviorYou get scored test conversations and a structured QA report.

Deterministic answer flow

Use Integration Trigger to receive the user request, then call Knowledge Base when the answer must come from a specific policy, price list, instruction manual, or product sheet.

Hybrid agent flow

Use RAG as an AI tool for broad semantic search, then call Knowledge Base when the model needs an exact source document or image.

Quality gate flow

Use Synthetic QA in a validation workflow after prompt, policy, or automation changes. This gives you repeatable scoring instead of manually reading JSON outputs.

What the nodes map to

The node pack is built on top of the AgentBrains integration APIs and helper routes:

  • The Knowledge Base node maps to entity, category, attachment, and company helper routes.
  • The RAG node uses index discovery and retrieval endpoints.
  • The Synthetic QA node uses AgentBrains external QA services to start and poll test runs.
  • The Integration Trigger registers your n8n webhook with AgentBrains when the workflow is activated.

Node Interface

Here is how the AgentBrains nodes look in n8n:

AgentBrains n8n Nodes Example

Next steps

On this page