AI agents in n8n no longer only answer questions. They send emails, update your CRM and chase invoices. Most of them still borrow a person’s login, so everything the agent does looks like that person did it, the agent inherits all of that person’s permissions, and when the person leaves, the agent either breaks or keeps access it should not have.
The fix is identity. For every agent, decide whether it acts as itself, on behalf of a person, or with the identity of whoever triggered it, and give it the credentials and logging to match. This guide explains what n8n offers for each today, based on n8n’s own documentation, and what is still on the roadmap. As an official n8n Ambassador, Marrallisa follows that roadmap closely, and these are the choices we make with clients every time we build an agent.
What is n8n agent identity?
AI agent identity is a distinct, verifiable identity for an AI agent, separate from human accounts and from shared service accounts. It answers three questions for every action: which agent acted, whether it acted for someone, and what it was allowed to do. Microsoft describes agent identities the same way: they distinguish what an agent did from what a person or a workload did.
In n8n, agent identity is still mostly something you design rather than switch on. n8n’s own blog says it plainly: there is currently no way to formally define the identity of an agent in n8n, with its own name badge, policies and monitoring. What an agent can do is decided by the credentials attached to its tools. Whose credentials those are is the real identity question.

How do AI agents act in n8n today?
n8n has two ways to build an agent, and both act through the credentials of their tools. The AI Agent node runs an agent as a step inside a workflow. Since August 2026, n8n Agents are a first-class object next to your workflows, with a model, instructions, tools, skills, sub-agents, memory, channels such as Slack, Telegram and Microsoft Teams, and schedules. Agents are in preview and available on every plan.
For identity, three details of n8n Agents matter. Each tool runs with the credential you attach to it, so the agent never holds the keys to your instance. Access to the agent itself follows your n8n roles, so you decide who can edit and publish it. And you can mark a tool as sensitive, so the agent pauses for a person to approve or reject before it runs. Every session records the tools the agent called with their input and output, as described in the n8n documentation on building agents.
n8n’s launch post gives the pattern we use most: let the agent call a workflow that does one narrow thing. An agent that may only add a note to a CRM account gets a workflow that adds a note, and never holds write access to the whole CRM.
Three ways an automation can act
Every agent or workflow in n8n should act in one of three ways: as itself, on behalf of a person, or with the identity of the person who triggered it. Choosing one per agent is the core of agent identity.
The agent acts as itself
An agent gets an identity of its own, just like a new colleague gets their own account on day one. Its actions are attributed to the agent, and its permissions and credentials are managed separately from those of people.
Think of an invoice agent that runs every morning and sends payment reminders. Nobody triggers it, so it should not run as anyone. With its own identity, it gets exactly the access it needs for that job, every reminder in the log says “invoice agent”, and you can switch it off without touching anyone’s account. Until n8n offers this natively, a dedicated service account per agent comes closest.
The agent acts on behalf of a person
Sometimes an agent works for someone. A sales rep asks an agent to update a deal, write a follow-up and book a meeting. The agent does the work, but it does it for that person.
In that case the log should record both: who acted, and for whom. Not “sales agent” or “Anna”, but “the sales agent acted on behalf of Anna”. That is the difference between an audit trail that raises questions and one that answers them. n8n has this on its roadmap. Today you approximate it by logging the requesting person with every agent action.
The automation runs with your identity
When a person calls a workflow or an agent, it can run with that person’s own accounts. Their permissions, tools and access apply, so nobody can do more through an automation than they could do themselves.
This part exists today. End-user credentials are in preview on n8n’s Enterprise plan. They work with the manual trigger, Chat Hub, the MCP Server Trigger, and the Webhook, Form and hosted Chat triggers when those use n8n User Auth, according to the n8n documentation on end-user credentials.
Which one fits when?
A simple rule decides it. If nobody starts it, the agent acts as itself. If someone starts it and the agent does work for them, it acts on their behalf. If the person should use their own access, the automation runs with their identity.
| Situation | Who acts | Example | In n8n today |
|---|---|---|---|
| Nobody starts it | The agent itself | Invoice reminders every morning, sorting support tickets | Dedicated service account per agent |
| A person asks, the agent does the work for them | The agent, for that person | A sales agent updates a deal and books a meeting for a rep | Agent credentials plus your own requester log |
| A person uses their own access | The person | Asking Claude, through n8n, to search your own Google Drive | End-user credentials (Enterprise, preview) |
Which n8n agent identity features exist today, and what is on the roadmap?
A good part of agent identity already works in n8n. What you can use now:
- End-user credentials let a run use the connected account of the person who triggers it. Enterprise only, in preview, OAuth credentials only.
- Per-tool credentials and approvals in n8n Agents keep each tool narrow and put a person in front of sensitive actions. The AI Agent node offers the same with human-in-the-loop for tools.
- Roles and custom roles control who can edit, run and publish agents and workflows. Custom roles are an Enterprise feature.
- Tracing and audit events show who was behind an action. OpenTelemetry agent spans record the user ID when known, and the log streaming event for an MCP tool call records the user whose credentials the client used.
On the roadmap, as shared by the n8n product team in October 2026: native agent identity, so an agent is narrower, attributable and revocable; logging that records both the agent and the person it acted for; SCIM provisioning and user groups; and policies and hard limits that stop an agent before it runs and cap the damage afterwards. Read more in our article on n8n’s new engine and governance roadmap.
Can an n8n agent get an identity in Microsoft Entra?
Yes, with some engineering. Microsoft Entra Agent ID names n8n as a third-party platform whose agents you can connect through the Microsoft Entra ID Auth SDK or workload identity federation, so each agent gets a governed identity. Extending Entra’s security features to agents requires a Microsoft Agent 365 licence.
The n8n blog points to an example setup on Azure that needs an agent identity blueprint, an agent identity service principal, an agent user account and an on-behalf-of webhook. That is worth it for an organisation already standardised on Entra. For most companies, a dedicated service account per agent, end-user credentials where people act as themselves, and a requester log cover the same ground with far less effort.
Treat agents like colleagues
Agents are becoming part of your team, so they deserve the care you give a new employee: an identity, limited access, an owner and a clean exit. n8n’s own AI agent governance guide follows the same lifecycle, and OWASP names excessive permissions as one of the three root causes of excessive agency in AI agents.
On day one, an agent gets its own identity and only the permissions its job needs, plus a named owner who is responsible for what it does and a line in your agent inventory. Spending and usage caps make sure an agent that loops cannot run up costs unnoticed, and a person signs off before irreversible actions such as paying, deleting or sending to customers.
While it works, every action is logged with who acted and, where relevant, for whom. And when the agent is retired, its access and its identity go with it, while its logs stay, just as with a colleague who leaves.

This is the access and guardrails part of our governance framework, applied to agents. It also makes agents easier to explain to your clients and auditors, and to keep in line with the GDPR when personal data is involved.
What you can do today
Native agent identity is on its way, but you do not have to wait to work this way:
- Stop using personal logins for agents. Give every agent its own credentials, ideally a dedicated service account per agent or per job.
- Use end-user credentials where a person triggers the run and should act as themselves.
- Keep tools narrow. Give an agent a workflow that does one thing instead of broad access to a system.
- Require approval on sensitive tools, so writes to a system of record wait for a person.
- Name an owner and add alerts, so a failing agent reaches a person before it reaches a customer.
- Log who asked. Until n8n records it for you, store the requesting person with every agent action.
- Keep n8n up to date. Identity features in preview still receive security fixes, as n8n’s security advisories show.
How we help
Viralistic builds AI agents in n8n for real business processes, from sales and support to finance and operations. We decide with you which agents act as themselves, which act on behalf of your people and which run with each person’s own access, and we set up the credentials, limits and logging to match, so your n8n agent identity setup is ready for what n8n ships next. See our automation service, read how we roll out n8n across an organisation, or book Marrallisa for an AI training or keynote on agents and governance.
Frequently asked questions
What is AI agent identity?
AI agent identity is a distinct, verifiable identity for an AI agent, separate from human accounts and shared service accounts. It records which agent acted, whether it acted for a person and what it was allowed to do. That makes agent actions attributable, limits their access and lets you revoke an agent without touching anyone’s account.
Does n8n support agent identity today?
Partly. n8n has no native agent identity object yet; native agent identity and on-behalf-of logging are on its roadmap. Today an agent acts through the credentials on its tools, end-user credentials let a run use the triggering person’s account, and approvals and session logs show what an agent did and when.
What is the difference between acting on behalf of a person and end-user credentials?
With end-user credentials, the automation runs with the person’s own accounts, as if the person did it. When an agent acts on behalf of a person, the agent keeps its own identity, and the log records both who acted and for whom. The first exists in n8n today; the second is on the roadmap.
Should AI agents have their own identity?
Yes, for any agent that runs without a person starting it or that touches business systems. Its own identity gives it only the access its job needs, keeps its actions separate from a colleague’s and lets you switch it off cleanly. Agents that act for a specific person should also record whom they acted for.
Is it safe to run an n8n agent on a personal login?
No. An agent on a personal login inherits all of that person’s permissions, its actions look like the person’s, and it breaks or keeps access when the person leaves. Give each agent a dedicated service account with narrow scopes, and use end-user credentials where people should act as themselves.
What is the difference between the AI Agent node and n8n Agents?
The AI Agent node runs an agent as one step inside a workflow. n8n Agents are standalone objects with their own instructions, tools, memory, channels, schedules and published versions, reachable from chat, schedules or the Message an Agent node. Both use the credentials on their tools, and the AI Agent node keeps working as before.
Can I use n8n Agents on a self-hosted instance?
Yes. n8n Agents are available on every self-hosted plan from n8n 2.32.3 and are switched on by default. They are in preview, queue mode is not supported for agents yet, and knowledge bases need a configured sandbox. Test agents in a separate environment before they touch business-critical data.
Is n8n risky to use for AI agents?
n8n is as safe as the way you set it up. The risk sits in broad credentials, missing approvals and outdated instances, not in agents as such. Use narrow tools, approvals on sensitive actions, roles, logging, and update promptly when n8n publishes a security advisory, and agents in n8n are well governed.
Written by
Founder of Viralistic and official n8n Ambassador
Marrallisa leads strategy, design, search and automation for premium brands from Amsterdam. She has trained teams at Volkswagen and speaks at n8n and Anthropic events. Want to talk through your situation? Book a call with her directly.
Based on n8n's documentation and product roadmap as of November 2026. Features described as coming are roadmap items and may change in name, scope or timing. n8n Agents and end-user credentials are in preview.