Use it when choosing an automation model, or when a node is not receiving changes.
Agent vs Agentless Orchestration
agent-based: agent installed → checks in to the server → pulls catalogue → applies | agentless: control node connects → pushes tasks → reads result
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Find where intent stopped progressing Narrow the fault
Trace intent from orchestration job → controller/provider/API → target transport/agent → target state → post-verification. A successful orchestration task submission is not evidence that every target reached desired state.
Step 2 Common mistakes Narrow the fault
- Assuming agentless means no prerequisites — SSH, Python or WinRM still must work.
- Agents left on outdated versions.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Network devices rarely run agents, so network automation is mostly agentless. Agent-based: needs the agent installed, running and able to reach the server, but scales and self-corrects. Agentless: needs reachability and credentials from the control node, and nothing to install.
curl -sk -u <user>:<pw> -H 'Accept: application/yang-data+json' https://<device>/restconf/data/ietf-interfaces:interfaces— RESTCONF read.curl -i— HTTP status code and headers (200 OK, 201 Created, 204 No Content, 400, 401, 403, 404).python3 -m json.tool < file.json/jq . file.json— JSON valid and readable.show netconf-yang status/show platform software yang-management process— device API agents running.show ip http server status— HTTPS server for RESTCONF.
ReferenceWhat it is1 section · depth on demand
What it is
Compare agent-based and agentless orchestration models, operational dependencies and tradeoffs.
ReferenceImportant terms & boundaries3 sections · depth on demand
Agent, controller and orchestrator scopes
Automation systems vary in where logic executes. Agentless tools connect remotely; agent-based systems execute a local component; controllers maintain domain state/policy; orchestrators coordinate workflows across multiple systems. The architecture changes credential, reachability and failure points.
In depth
Agent-based and agentless orchestration
Orchestration tools differ in whether they need software running on the managed systems. Ansible's getting-started guide describes its model. Ansible is installed on a control node. An inventory lists the managed nodes, and modules are sent to the managed nodes to carry out tasks. For network devices, which can't run Python modules locally, Ansible runs the module logic on the control node and talks to the device over SSH (network_cli), NETCONF or HTTP APIs. Nothing needs to be installed on the switch or router.
Agent-based compared with agentless
| Agent-based | Agentless | |
|---|---|---|
| Software on managed nodes | An agent (daemon) | None; uses SSH, WinRM or APIs |
| Communication | Usually the agent pulls from a server | The controller pushes |
| Continuous enforcement | Agent runs on a schedule | Only when a job runs |
| Network devices | Rarely possible (no agent support) | The normal model |
| Examples | Puppet, Chef, Salt minions | Ansible, Nornir, Terraform providers |
Ansible connection types for network devices
| Connection | Transport | Typical platforms |
|---|---|---|
ansible.netcommon.network_cli | SSH CLI | IOS, IOS XE, NX-OS |
ansible.netcommon.netconf | NETCONF over SSH | IOS XE, IOS XR, Junos |
ansible.netcommon.httpapi | HTTPS APIs | NX-OS NX-API, some controllers |
local with API modules | HTTPS from the control node | Catalyst Center, SD-WAN Manager |
dev$ cat inventory/hosts.yml
all:
children:
access:
hosts:
acc-2f-01: { ansible_host: 10.255.1.21 }
vars:
ansible_network_os: cisco.ios.ios
ansible_connection: ansible.netcommon.network_cli
dev$ ansible-inventory -i inventory/hosts.yml --graph
dev$ ansible -i inventory/hosts.yml access -m cisco.ios.ios_facts -a "gather_subset=min"
dev$ ansible-playbook -i inventory/hosts.yml vlans.yml --check --diff
Choosing a model
| Requirement | Model |
|---|---|
| Network devices, no extra software | Agentless |
| Continuous drift correction on servers | Agent-based, or scheduled agentless jobs |
| Very large fleets with frequent checks | Agents or streaming telemetry, to avoid push bottlenecks |
Agentless doesn't mean credential-less. The control node holds powerful credentials, so protect it, and the vault that stores them, like any other critical system.
Documented example, not captured output.
Quick reference
Automation tools either install an agent on each managed system, which regularly pulls its configuration from a server, or connect remotely when they run, which is agentless. Network devices generally cannot run third-party agents, so agentless tools that use SSH or APIs dominate network automation.
Agent-based vs agentless automation:
| Agent-based | Agentless | |
|---|---|---|
| Examples | Puppet, Chef, Salt minion | Ansible, Nornir, Salt SSH |
| Transport | Agent pulls from server | Push over SSH/API |
| Network devices | Rarely possible | Natural fit |
| Drift correction | Continuous | When run (or scheduled) |
Network devices generally cannot run third-party agents, so agentless tools over SSH, NETCONF or REST dominate network automation.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Automation and Artificial Intelligence → Agent vs Agentless Orchestration. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Deep reference
Exam focus
Exam focus
- ENCOR-6.7 — Agent vs agentless orchestration. Compare orchestration operating models.
Additional depth
Agent vs agentless orchestration
An agent-based model installs/uses software on managed nodes and can maintain local execution/state channels. Agentless orchestration commonly uses existing remote APIs/protocols such as SSH/WinRM/HTTP and avoids resident agents. Compare reachability, credential/transport dependencies, scale, state handling and security rather than assuming one is universally better.