Building AI Agent Teams in n8n with Bedrock AgentCore
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
Based on original reporting byn8nTranslated and summarized by our AI-assisted news systemHow we work

Executive summary

Key Takeaways

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

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

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

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

Building AI Agent Teams in n8n with Bedrock AgentCore

  • The verified community node `@aws/n8n-nodes-agentcore` in n8n enables integration with the now generally available Amazon...
  • Four agent roles (Triage, Analysis Specialist, Architecture Specialist, and Research Specialist) execute on a single...
  • Managed memory is scoped to the customer Actor ID, allowing agents to access prior calculations...
  • Each session runs inside an isolated Firecracker microVM in AWS with SigV4-signed outbound traffic from...

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.

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.

6 חלופות ל-Workato לאוטומציה ארגונית
ניתוח
4 דקות
מ־n8n

6 חלופות ל-Workato לאוטומציה ארגונית

במדריך שפורסם בבלוג של n8n נסקרות 6 חלופות מובילות לפלטפורמת האינטגרציה הארגונית Workato. הסקירה מנתחת את הסיבות שבגללן צוותי הנדסה ו-IT בוחנים חלופות — כולל סביבת הרצה בענן בלבד, תמחור לפי משימה והרצת קוד מוגבלת — ומשווה בין פלטפורמות שונות בהן n8n, Make, MuleSoft, Celigo, Microsoft Power Automate ו-Boomi לפי מודל פריסה, תמחור, גמישות קוד ועומק מחברים.

קרא עוד
RPA מול אוטומציית תהליכי עבודה: בניית אוטומציה יציבה
ניתוח
5 דקות
מ־n8n

RPA מול אוטומציית תהליכי עבודה: בניית אוטומציה יציבה

ההחלטה בין אוטומציית תהליכים רובוטית (RPA) לבין אוטומציית תהליכי עבודה (Workflow Automation) משפיעה עמוקות על היבטי האמינות, האבטחה, יכולת הניטור ויכולת ההרחבה של מערך האוטומציה בארגון. בעוד ש-RPA מדמה פעולות אנושיות על גבי ממשק המשתמש ומתאימה בעיקר למערכות ישנות ללא ממשקי API, אוטומציית תהליכי עבודה מתזמרת ישירות את המערכות שמתחת לממשק באמצעות APIs ואירועים. פוסט זה מנתח את ההבדלים המרכזיים בין שתי השיטות, מציג את הטעויות הנפוצות שיש להימנע מהן, ומסביר כיצד ניתן לשלב ביניהן בצורה אופטימלית לקבלת פתרון עמיד ויציב לטווח ארוך.

קרא עוד
חלופות ל-n8n: אילו פלטפורמות אוטומציית AI ניתנות לפריסה בארגון?
ניתוח
5 דקות
מ־n8n

חלופות ל-n8n: אילו פלטפורמות אוטומציית AI ניתנות לפריסה בארגון?

בפוסט שפורסם בבלוג של n8n, מוצגת השוואה מקיפה בין פלטפורמת n8n לבין שמונה חלופות בולטות בשוק כגון Make, Zapier, Temporal ו-Workato. המאמר מספק קריטריונים מקצועיים להערכת תשתיות אוטומציה בסביבות ייצור, כולל מודל הפריסה, אמינות הביצוע, עומק האינטגרציה, מוכנות ל-AI סוכני ויכולות תצפית ובקרת עלויות. בעוד שכלים מסוימים מתאימים לצוותים לא-טכניים ומוגבלים לענן, n8n מציעה גמישות פריסה באירוח עצמי ללא נעילת ספק.

קרא עוד
שרשרת מחשבה (CoT): טכניקות ומתי להשתמש בהן
מדריך
4 דקות
מ־n8n

שרשרת מחשבה (CoT): טכניקות ומתי להשתמש בהן

טכניקת שרשרת מחשבה (Chain-of-Thought - CoT) מסייעת למודלי שפה גדולים (LLMs) להתמודד עם משימות חשיבה מורכבות ורב-שלביות. במקום לספק תשובה ישירה שעלולה להיות שגויה או חלקית, מודל השפה מייצר שלבי ביניים לוגיים המדמים חשיבה אנושית. המאמר סוקר חמש טכניקות נפוצות של CoT: החל מ-Zero-shot פשוט ועד לשיטות מתקדמות כמו עקביות עצמית (self-consistency) וצעד אחורה (step-back). בנוסף, מוצגות דרכים פרקטיות ליישום וניהול פקודות אלו באופן ויזואלי ובר-ביקורת באמצעות פלטפורמת n8n, תוך הבחנה בין משימות שבהן השיטה משפרת את הדיוק לבין משימות פשוטות שבהן היא עלולה לפגוע בביצועים ולהוביל להזיות.

קרא עוד

More articles you might like

All articles
גוגל מציגה את סדרת Pixel 11, שעון ה-Pixel Watch 5 ותג ה-Pixel Tag
מוצר חדש
4 דקות
מ־TechCrunch

גוגל מציגה את סדרת Pixel 11, שעון ה-Pixel Watch 5 ותג ה-Pixel Tag

באירוע Made by Google 2026 שנערך ביום רביעי, חשפה גוגל את סדרת מכשירי Pixel 11, הכוללת את ה-Pixel 11 הסטנדרטי עם פס מצלמה דק יותר ונפח אחסון בסיסי של 256GB במחיר של 899 דולר, לצד דגמי Pro ו-Pro XL עמידים יותר ודגם מתקפל משודרג (Pixel 11 Pro Fold). בנוסף, הציגה החברה את ה-Pixel Watch 5 המציע מעקב בריאותי מתקדם, תג מעקב ראשון בשם Pixel Tag למציאת חפצים, ושורה של תכונות בינה מלאכותית חדשות מבוססות Gemini כמו Rambler להזנת קול טבעית ותרגום שפת סימנים בזמן אמת.

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

אחרי שביזבזה מיליונים על AI: חברת Rippling משיקה כלי למעקב הוצאות

חברת Rippling השיקה השבוע מוצר חדש בשם AI Spend Console שנועד לסייע לארגונים לעקוב אחר הוצאות הבינה המלאכותית של עובדיהם ולרסן אותן. פיתוח המוצר החל לאחר שסמנכ"ל הכספים של Rippling גילה כי החברה בנתיב לשריפת מיליוני דולרים – כ-40% מתקציב השכר של מחלקת המחקר והפיתוח – על אסימוני בינה מלאכותית. ניתוח דפוסי השימוש הראה כי 10% עד 15% מהעובדים היו אחראים ל-60% מההוצאה, כאשר עובדים נטו להשתמש בדגמי החזית היקרים ביותר לכל משימה. באמצעות המוצר החדש ושער הניתוב שפיתחה, שהעביר שאילתות לדגמים חסכוניים יותר כמו GLM 5.2 של Z.ai, הצליחה Rippling להפחית את עלויות ה-AI ל-15% מתקציב כוח האדם של המחלקה, תוך שמירה על נפח שימוש גבוה ויציב של כ-600 מיליארד אסימונים.

קרא עוד
כלי הבינה המלאכותית לרישום הערות שמוזמן לכל הפגישות
מוצר חדש
4 דקות
מ־Wired

כלי הבינה המלאכותית לרישום הערות שמוזמן לכל הפגישות

חברת Wispr Flow, המוכרת בזכות כלי ההכתבה הקולית שלה, השיקה תכונה חדשה בשם Notetaker המאפשרת להקליט, לתמלל ולסכם פגישות עבודה בזמן אמת. הכלי, אשר פועל תחילה על מחשבי מק (Mac), מתחבר ליומן המשתמש ומספק סיכום מבוסס בינה מלאכותית לצד ממשק צ'אטבוט המאפשר לשאול שאלות המשך על תוכן השיחה. למרות שהתמלול מתבצע באופן מקומי על גבי המכשיר ואינו מציג את הכלי כמשתתף גלוי בפגישה, מנכ"ל החברה, טנאי קות'ארי, מדגיש את החשיבות שבקבלת הסכמה וגילוי נאות מצד המשתמשים, הן מתוך כבוד לפרטיות והן בשל היבטים משפטיים מקומיים הדורשים הסכמה של כלל המעורבים בשיחה.

קרא עוד
גוגל משיקה את Gemini Robotics ER 2: מוח בינה מלאכותית לרובוטים
מוצר חדש
4 דקות
מ־DeepMind

גוגל משיקה את Gemini Robotics ER 2: מוח בינה מלאכותית לרובוטים

חברת גוגל הכריזה על השקת Gemini Robotics ER 2, מודל חשיבה מגולמת (embodied reasoning) מתקדם המשמש כ'מוח' ברמה גבוהה עבור רובוטים. המודל מאפשר תכנון משימות מרובות שלבים, תיאום כלים בזמן אמת, והבנת סביבה מבוססת וידאו רציף. הוא כולל שיפורים משמעותיים במעקב אחר התקדמות משימות (בדיוק של 57.4%) ואיתור רגעים קריטיים (בדיוק של 91.3%), וכן תומך בשיתוף פעולה בין מספר רובוטים שונים. המודל זמין כעת למפתחים דרך ה-Gemini API, Google AI Studio ובגרסת תצוגה מקדימה פרטית ב-Gemini Enterprise Agent Platform.

קרא עוד