Product launch

Building AI Agent Teams in n8n with Bedrock AgentCore

A triage agent and three specialists share managed customer memory in AWS via a single harness and no vector database

5 min read
עב
Building AI Agent Teams in n8n with Bedrock AgentCore
Based on original reporting byn8n ↗Translated and summarized by our AI-assisted news systemHow we work

Executive summary

What to know

  1. The verified community node `@aws/n8n-nodes-agentcore` in n8n enables integration with the now generally available Amazon Bedrock AgentCore harness.

  2. Four agent roles (Triage, Analysis Specialist, Architecture Specialist, and Research Specialist) execute on a single harness resource.

  3. Managed memory is scoped to the customer Actor ID, allowing agents to access prior calculations and conversation context without a vector database.

  4. Each session runs inside an isolated Firecracker microVM in AWS with SigV4-signed outbound traffic from n8n.

In a guest post published on the n8n blog and authored by Sundar Raghavan, Agentic AI Foundations Lead at AWS, a method was presented for building multi-agent AI teams based on n8n and Amazon Bedrock AgentCore. The architecture allows different agents to share a unified per-customer memory, enabling one agent to continue a conversation using data collected by another agent within the same workflow, without setting up a vector database or deploying separate infrastructure for each agent.

The Challenge in Multi-Agent Support Conversations

In the support scenario described in the post, a triage agent routes a customer inquiry to an appropriate specialist (such as an integrations specialist). In such a scenario, the second specialist does not retain the context of the initial message sent by the customer forty seconds earlier.

Two common approaches address this challenge: passing the full conversation transcript to every agent—an approach constrained by the model's context window—or storing conversation history in a vector database, which requires operating database infrastructure and an embedding pipeline. The solution presented in the post offers a third alternative based on the managed memory capabilities of the Amazon Bedrock AgentCore harness, which has reached general availability (GA).

How Shared Memory Works in AgentCore Harness

Amazon Bedrock AgentCore is a platform for building, connecting, and optimizing agents across any framework or model. The AgentCore harness component provides managed scaffolding around the language model: the user defines the agent in configuration (including model, tools, skills, and instructions), and the harness manages the agent loop.

The setup relies on two core properties:

  1. Managed Memory Scoped by Entity and Session: Memory is scoped by Actor ID and Session ID. When configuring an Actor ID that represents the customer rather than an individual agent, all agents can read from and write to the same memory store. This memory persists beyond a single execution of the n8n workflow.
  2. Per-Invocation Tool Granting: Tools, skills, model, and instructions travel with each invocation rather than being permanently attached to a deployed agent. Consequently, a single harness resource serves four distinct specialist roles instead of deploying four separate resources.

The n8n Workflow Structure

The presented workflow consists of ten nodes in n8n:

  • Receiving the Message: The When Chat Message Received node captures the customer inquiry.
  • Setting Context: The Set Customer Context node converts the chat session into a customer identifier and broadcasts it as both the Actor ID and Session ID to all agents.
  • Triage and Routing: The Triage Agent node reads the inquiry and returns a JSON classification, the Read Triage Decision node parses it, and the Route To Specialist node routes the query to one of three specialists:
    • An Analysis Specialist equipped with the AgentCore Code Interpreter tool for mathematical calculations in a sandbox environment.
    • An Architecture Specialist equipped with the AWS skills catalog for design guidance.
    • A Research Specialist utilizing built-in tools (Shell and file_operations) available in every harness session.
  • Returning the Response: The Format Reply node formats the response, and the Post Answer To Slack node publishes it to a Slack channel, tagged with the specialist that generated it.

The division of responsibility between the systems is distinct: n8n handles triggers, routing decisions, and replies; AgentCore manages the agent loop and persistent memory across workflow runs, executing each session inside an isolated Firecracker microVM with no shared state or filesystem. Network traffic from n8n to AWS is outbound only and signed using the SigV4 protocol.

Prerequisites and IAM Identity Setup

Before running the template, the following components must be prepared:

  • An n8n instance (self-hosted or n8n Cloud).
  • The verified community node @aws/n8n-nodes-agentcore installed in n8n (the node is open-source under the MIT license, with AgentCore harness itself powered by Strands Agents from AWS).
  • An AWS account with access to AgentCore harness in a supported AWS Region.
  • A foundation model enabled in Amazon Bedrock (such as a Claude model), with model access configured on an opt-in basis per account and Region.
  • Two separate AWS IAM identities: the Caller identity whose access keys are stored in n8n credentials, and the Execution Role under which the agent executes at runtime in AWS, requiring permissions for the model, Code Interpreter, skills catalog, and memory.
  • Slack credentials for sending the reply (optional).

In terms of cost, there is no separate charge for the harness itself. Billing is based on usage of underlying AgentCore capabilities, with managed memory incurring standard AgentCore Memory rates for short-term events, stored long-term memory records, and retrieval requests.

Scenario Walkthrough: Billing Dispute and Architecture Guidance

During the test described in the post:

  1. Data Calculation: The customer asked about exceeding a 50,000 daily API call limit and provided five numbers from their usage logs. The triage agent classified the request as analysis and routed it to the Analysis Specialist. The specialist executed Python code via the AgentCore Code Interpreter in a sandbox, calculated an average of 50,520 (an excess of 520 calls or 1%), and returned an execution-backed answer.
  2. Follow-Up Without Repeating Data: The customer asked how to restructure the system to prevent overages, without repeating the usage figures. The triage agent routed the question to the Architecture Specialist, who utilized the AWS skills catalog. This specialist read the usage figures directly from shared customer memory under the same Actor ID, without requiring the customer to resubmit them and without either specialist needing direct awareness of the other.
  3. General Information Query: A question regarding the daily limit reset time was routed to the Research Specialist, which operated using the built-in session tools.

Extension Options and Resource Cleanup

Users can extend the template by:

  • Triggering via a Slack Trigger or Webhook for production environments.
  • Integrating existing agents created via the CLI, AWS Console, CloudFormation, or Terraform by supplying their ARN to the node.
  • Adding additional specialists with remote Model Context Protocol (MCP) servers, an AgentCore Gateway for governed access to your own APIs, or AgentCore Browser.

Upon completing testing, because the harness provisions a managed memory store in the AWS account, it is recommended to delete the created harness resource (e.g., support_team) via the AWS CLI using the aws bedrock-agentcore-control delete-harness command to avoid recurring charges.

Was this useful for your business?

Questions & Answers

FAQ

This article was produced by our AI-assisted system through translation, summarization, and automated quality controls based on original reporting by n8n. Read about our editorial process. Link to the original source.

Get useful AI updates by email

A concise digest from our news desk.

שליחת חוזים לחתימה דיגיטלית ב-n8n עם TurboDocx ו-Slack
מדריך
4 דקות
מ־n8n

שליחת חוזים לחתימה דיגיטלית ב-n8n עם TurboDocx ו-Slack

פוסט אורח בבלוג של n8n מאת ניקולס פריי, מנכ"ל TurboDocx, מציג מדריך מפורט לבניית תהליך עבודה אוטומטי המטפל בכל שלבי הפקת החוזה והחתימה עליו. התהליך משתמש ברכיב המאומת של TurboDocx וכולל סריקה של שורות ב-Excel בסטטוס Ready to send, הפקת מסמך חוזה מתבנית Word, שליחת בקשת אישור למנהל בערוץ Slack, והעברת החוזה לחתימה אלקטרונית מול הלקוח. לאחר שהלקוח חותם מכל מכשיר, קובץ ה-PDF החתום נשמר ישירות בתיקייה ייעודית ב-SharePoint, שורת הנתונים ב-Excel מתעדכנת ל-Signed והצוות מקבל הודעה ב-Slack. המדריך מפרט גם אפשרויות להחלפת הכלים במערכות CRM, טיפול בתקלות נפוצות, ומגבלות קיימות כגון תמיכה בחותם יחיד.

קרא עוד
הכרזת n8n 3.0 בטא: שינויי תשתית, אבטחה ודוח הגירה לקראת דצמבר
מוצר חדש
4 דקות
מ־n8n

הכרזת n8n 3.0 בטא: שינויי תשתית, אבטחה ודוח הגירה לקראת דצמבר

חברת n8n הודיעה על שחרור גרסת n8n 3.0.0 בטא, לקראת השקת הגרסה היציבה בתחילת דצמבר. העדכון מתמקד בשיפורי תשתית, אמינות ואבטחה, וכולל שינויים שוברים כמו הסרת מצב נתונים בינאריים בזיכרון, הרצת הפעלות ידניות על שרתי עיבוד במצב תור, קיצור ברירת המחדל של הפסקת הזמן בצומת הקוד לדקה אחת, והגבלת התקנה עצמית ל-Docker בלבד. משתמשים מגרסה 2.39 ואילך יכולים לבדוק את התאמת המערכת באמצעות דוח הגירה מובנה.

קרא עוד
ניהול מצב בסוכני AI: הבדלים בין ארכיטקטורה בעלת מצב לחסרת מצב
מדריך
4 דקות
מ־n8n

ניהול מצב בסוכני AI: הבדלים בין ארכיטקטורה בעלת מצב לחסרת מצב

בפוסט של n8n מוסבר כי state הוא המידע שסוכן AI נושא בין משימות, החל מהיסטוריית שיחה ועד לזיכרון לטווח ארוך ולפרופילי משתמשים. ההבדל בין ארכיטקטורה בעלת מצב (stateful) לארכיטקטורה חסרת מצב (stateless) מתמקד בשאלה האם המערכת משמרת נתונים מאינטראקציות קודמות או מתחילה כל בקשה כדף חלק. יישומים בעלי מצב מעניקים המשכיות אך דורשים תשתית לאחסון ולניהול מצב, בעוד יישומים חסרי מצב מפשטים חלוקת עומסים ועמידות לתקלות. מודלי LLM אינם שומרים שיחות באופן אוטומטי, ולכן סוכני AI מתנהגים באופן בעל מצב באמצעות שמירה ושליפה של נתונים מחוץ למודל. ב-n8n מוצע לשמור על הרצה חסרת מצב כברירת מחדל, ולהוסיף צומתי זיכרון לסשנים ומאגרי מצב משותפים רק היכן שנדרשת המשכיות.

קרא עוד
הכרזת n8n Agents: שילוב סוכני AI עצמאיים לצד תהליכי עבודה
מוצר חדש
4 דקות
מ־n8n

הכרזת n8n Agents: שילוב סוכני AI עצמאיים לצד תהליכי עבודה

פלטפורמת n8n הכריזה על השקת Agents (סוכנים), המאפשרים למשתמשים להגדיר מטרות בשפה חופשית ולהשאיר לסוכן לקבוע את שלבי הביצוע בעזרת מודלים, כלים ותהליכי עבודה קיימים. הסוכנים יכולים לפעול מתוך Slack, Telegram, Discord, לפי תזמון מוגדר או מתוך תהליכי עבודה באמצעות הצומת החדש Message an Agent. כל סוכן כולל ניהול זיכרון, הפעלות, כלים, מיומנויות ומנגנוני אישור אנושי לפעולות רגישות. התכונה זמינה כעת ב-Preview למשתמשי n8n Cloud ובהתקנה עצמאית.

קרא עוד

More articles you might like

All articles
חברת NiCE השיקה את הדור הבא של פלטפורמת Cognigy
מוצר חדש
4 דקות
מ־SiliconANGLE AI

חברת NiCE השיקה את הדור הבא של פלטפורמת Cognigy

לפי טור של האנליסט זאוס קרוואלה ב-SiliconANGLE, חברת .NiCE Ltd השיקה את הדור הבא של פלטפורמת NiCE Cognigy. העדכון כולל סביבת פיתוח מחודשת, כלי ליווי בשם AI Assist, מעקב מפורט אחר שלבי שיחה, ובדיקות מרובות משתנים מבוססות סימולציה. הפלטפורמה משלבת תמיכה במודלי קול-אל-קול, לצד חיבור לפרוטוקול MCP ושיתוף פעולה לפיתוח Personal Agent Protocol יחד עם Meta ו-Sierra. הגרסה מתמקדת במודל עבודה היברידי, המאפשר לארגונים לשלב תהליכים דטרמיניסטיים קיימים יחד עם סוכנים אוטונומיים תוך שמירה על ניטור ובקרה.

קרא עוד
גוגל הכריזה על Gemini 4 Hydrogen לקידוד ותהליכי סוכנים
מוצר חדש
4 דקות
מ־DeepMind

גוגל הכריזה על Gemini 4 Hydrogen לקידוד ותהליכי סוכנים

Google DeepMind הכריזה על השקת Gemini 4 Hydrogen, מודל המיועד לביצועים מהירים ויעילים בתהליכי קידוד ועבודת סוכנים יומיומית. המודל מתומחר ב-1.50 דולר למיליון טוקני קלט ו-7.50 דולר למיליון טוקני פלט לחלון הקשר של מיליון טוקנים. לצד פעילותו כמודל עצמאי, הוא משתלב עם מודלי החזית Carbon ו-Argon באמצעות Orchestrator ב-Google Antigravity, המאפשר חיסכון ממוצע של 24% במכסה והשלמת משימות מהירה ב-19% במבחן Terminal-Bench 4.0. בנוסף, המודל מציע ארבע רמות חשיבה, מציג שיפורי מהירות ובטיחות, וזמין למפתחים, ארגונים ומשתמשי קצה.

קרא עוד
סיילספורס השיקה את AI Skills ב-Agentforce Coworker
מוצר חדש
4 דקות
מ־Salesforce Blog

סיילספורס השיקה את AI Skills ב-Agentforce Coworker

סיילספורס הודיעה על זמינות כללית של AI Skills בתוך Agentforce Coworker. מיומנויות אלו מאפשרות למשתמשים להגדיר בשפה פשוטה סט הוראות לשימוש חוזר עבור משימות שחוזרות על עצמן, כך שהסוכן יוכל לבצע אותן בעקביות. Coworker, המתאם בין סוכני Agentforce ב-Salesforce, ב-Microsoft Teams ובמובייל, הוא הסוכן הראשון שכולל יכולת זו. בניגוד לתבניות הנחיה המפיקות פלטי טקסט בלבד, מיומנות מתארת משימה שלמה ומאפשרת לסוכן לנקוט פעולות על פי הרשאות המשתמש ולאחר קבלת אישור לעדכון רשומות.

קרא עוד
LinearB מציגה את Agentic Studio כדי להאיץ אספקת תוכנה בעזרת הקשר
מוצר חדש
4 דקות
מ־SiliconANGLE AI

LinearB מציגה את Agentic Studio כדי להאיץ אספקת תוכנה בעזרת הקשר

חברת LinearB Inc. הכריזה על השקת Agentic Studio, כלי שנועד להקל על העומסים בצינורות אספקת התוכנה שנוצרו בעקבות השימוש הגובר בכלי בינה מלאכותית לכתיבת קוד. לפי דוח מדדי התוכנה של החברה, ארגונים המסתמכים על כלי קידוד מבוססי AI כמעט הכפילו את כמות שינויי הקוד שמוזגו, אך בקשות המשיכה הללו גדולות בשיעור של כמעט פי 2.6 וממתינות פי חמישה יותר לסקירה. הפלטפורמה החדשה מאחדת נתונים ותובנות ממאגרי Git ומכלי מעקב לכדי שכבת הקשר אחידה, המאפשרת למהנדסים לקבל המלצות ולתשאל את המערכת בשפה פשוטה. בנוסף, באמצעות אינטגרציה דרך Model Context Protocol, המערכת מזינה סוכני קידוד אוטונומיים בהקשר היסטורי כדי למנוע שינויים עיוורים בקוד.

קרא עוד