See llms.txt for all machine-readable content.

Agents are now first-class in n8n

Describe the agent you want and n8n drafts its instructions, tools, and setup — then you test it, refine it, and publish it. Give it triggers and memory, and reach it through chat, Slack, Telegram, Linear, a schedule, or any workflow. Your existing workflows and 500+ integrations become the tools it calls.

*14-day free trial. No credit card needed

Over 207k GitHub stars

Self host-able

SOC2 compliant

AI agents and workflows for technical teams at

Practical agentic workflows for your most important processes

n8n is where traditional workflow automation meets AI. Build production-ready AI agents with the flexibility to scale from simple automations to complex multi-agent systems — without getting locked into a specific framework.

Simple to set up. Proven in prod.

Build agents in no time by connecting modular nodes in n8n’s visual builder. Use conditional logic or insert custom code for extra control where it counts. Build a functional prototype in 4 simple steps.

1. Create AI Agent Node

  • The core of your AI Agent. This node listens for input from a trigger (typically an On Chat Message). Using the Agent’s settings, you define its behaviour via system prompts. Fine-tune parameters using presets or JavaScript. And even add auth to control access.

500+ pre-built nodes. Unlimited possibilities.

n8n isn't just a chat interface with a brain. It's an automation engine first. Trigger, act, and complete tasks with your agents across hundreds of LLMs, services, data sources, MCP servers, and other agents, out of the box.

Anyone can get an agent to work once. n8n is where it runs every day.

Agents live alongside your workflows in the same project, the same engine, and the same permission model. One place to build them, run them, and see what they did.

An agent can only do what you gave it

An agent's reach is the workflows and scoped credentials you handed it, not broad access to your systems. Sensitive tools pause for human approval before they run. Mix deterministic steps with judgment, so the parts that should be predictable stay predictable.

Everything you already built becomes a tool

Your existing workflows, 500+ integrations, custom code, and Model Context Protocol (MCP) servers all become capabilities an agent can call. Use any major model, on n8n Cloud or your own infrastructure. Nothing you have built is deprecated — it just became something an agent can use.

One turn with an agent is one execution

Workflow-tool calls and sub-agent calls do not count separately, and agents share the same execution quota as your workflows. No per-connector or per-step tax. Bring your own model keys, and keep filtering data before it reaches the model. Worth watching: high-frequency chat use can consume executions faster than you expect.

Draft it, publish it, see exactly what it did

Every agent has a draft and a published version, with publish history, restore, and unpublish, so you can iterate without changing what is live. Sessions and execution logs record inputs, tool calls, outputs, and errors — so you can debug what the agent actually did, and explain it to someone who did not build it.

“Yesterday, one of our developers blew our minds by rebuilding a 4-week AI feature in just 10 minutes using n8n.”

Fabian Strunden

AI Product Lead

Prepare to be AI-mazed

Watch our community’s most popular videos on building AI agents.

Building AI Agents: Chat Trigger, Memory, and System/User Messages Explained

Welcome to Part 1 of the "Building AI Agents" series! In this video, Max shows you how to get started with AI Agents in n8n. You'll learn what AI Agents are and how they differ from LLMs, how to build your first interactive chat-based Agent using the Chat Trigger and AI nodes, how to configure memory for contextual conversations, and how to write effective prompts. Finally, you’ll see how to activate and share your Agent using n8n’s chat UI.

n8n

Play video

I Built the Ultimate Team of AI Agents in n8n With No Code (Free Template)

In this video, I build the ultimate AI personal assistant using a team of AI agents! A centralized assistant manages four specialized sub-agents, each handling a specific area—making the system more efficient and scalable. This approach ensures that no single agent gets overwhelmed with tasks and tools, leading to better automation and smarter decision-making.
All of this is built in n8n using no code! Watch to see how it works.

Nate Herk | AI Automation

Play video

How To Build a Startup Team of AI Agents (n8n, OpenAI, FeedHive)

This video demonstrates how to build a startup team of AI agents to replace human labor, empowering solopreneurs without sacrificing output or revenue. It focuses on automating content creation by fine-tuning an AI model with custom data and coordinating AI agents in n8n to produce on-brand, high-quality content.

Simon Høiberg

Play video

From Zero to Your First AI Agent in 25 Minutes (No Coding)

If you're new to AI agents, this is the perfect place to start. In just 25 minutes, you'll learn exactly what an AI agent is, how it differs from traditional automations, and how to build one from scratch using n8n — no coding required. We’ll cover the core components of agent systems, how to set up guardrails, how agents interact with APIs, and what kinds of tools they can use. By the end, you'll have a working AI agent that can think, remember, and take action — and a clear understanding of how to build more. This is a hands-on, beginner-friendly guide designed to take you from zero to a working agent with practical, real-world applications.

Futurepedia

Play video
Case studies

SanctifAI embeds human intelligence into AI processes 3X faster than Python

  • The challenge

    SanctifAI, a leader in Human-AI collaboration, needed to find a way for human workers in 400+ workforces to easily complete tasks as part of AI workflows. The solution had to be scalable and highly composable. The team didn’t want to build from scratch or maintain an in-house codebase.

  • The solution

    After rejecting less flexible Langchain tools, SanctifAI spun up its first n8n workflow in just 2 hours, thanks to n8n’s visual builder and routing systems. That’s 3X faster than writing Python controls for LangChain. n8n’s visual UI eliminated the constraints of scarce engineering talent and budget to build solutions. SanctifAI now trains product managers to build and test directly.

    Read more

There’s nothing you can’t automate with n8n

FAQs

FAQ about building AI agents