What are n8n agents?
If you are asking what are n8n agents, they are lightweight worker processes that connect to an n8n server and run workflows outside the main server. They let you execute tasks on different machines, behind firewalls, or closer to your data. This separation improves security and scaling for automation.
Overview: what are n8n agents
n8n agents act as remote runners for workflows. They can be self-hosted or run in cloud environments. Agents receive jobs from the main n8n instance and perform actions locally.
How agents fit into n8n setups
Agents work with Docker, Node.js, or cloud deployments. You run an agent where it can access resources that the main server cannot. This can include private databases, internal APIs, or local file systems.
Key benefits and use cases
- Run workflows behind a firewall without exposing the main server.
- Distribute workload across worker nodes for better scaling.
- Keep data processing close to the source to reduce latency.
- Use agents in hybrid setups that mix cloud and on-premise systems.
Getting started considerations
Plan where agents should run. Choose Docker or a Node.js process depending on your environment. Ensure secure network connections and proper access controls for private resources.
Summary
n8n agents let you run automation tasks outside the main n8n server. They enable secure, scalable, and flexible workflow execution across Docker, Node.js, and cloud environments. For beginners, agents provide a safe way to connect internal systems to your automation workflows.