Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Agent vs Agentless Orchestration

Direct answer

Agent-based orchestration (Puppet, Chef, Salt minions) installs software on each managed node that pulls configuration from a server; agentless orchestration (Ansible, most network automation) connects from a control node over SSH, NETCONF or APIs.

When to use this

Use it when choosing an automation model, or when a node is not receiving changes.

First 30 seconds

1. Which model does the node use?

2. Agent-based: agent running? Last check-in time on the server? Certificates valid?

3. Agentless: control node reaches the node (SSH/NETCONF/API) with valid credentials?

4. Run a dry run against that node only.

5. Compare resulting state with intent.

Operational verification

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
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE
Scope / prerequisiteUse it when choosing an automation model, or when a node is not receiving changes.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

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.

Key checks
  • 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-basedAgentless
Software on managed nodesAn agent (daemon)None; uses SSH, WinRM or APIs
CommunicationUsually the agent pulls from a serverThe controller pushes
Continuous enforcementAgent runs on a scheduleOnly when a job runs
Network devicesRarely possible (no agent support)The normal model
ExamplesPuppet, Chef, Salt minionsAnsible, Nornir, Terraform providers

Ansible connection types for network devices

ConnectionTransportTypical platforms
ansible.netcommon.network_cliSSH CLIIOS, IOS XE, NX-OS
ansible.netcommon.netconfNETCONF over SSHIOS XE, IOS XR, Junos
ansible.netcommon.httpapiHTTPS APIsNX-OS NX-API, some controllers
local with API modulesHTTPS from the control nodeCatalyst 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

RequirementModel
Network devices, no extra softwareAgentless
Continuous drift correction on serversAgent-based, or scheduled agentless jobs
Very large fleets with frequent checksAgents 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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-basedAgentless
ExamplesPuppet, Chef, Salt minionAnsible, Nornir, Salt SSH
TransportAgent pulls from serverPush over SSH/API
Network devicesRarely possibleNatural fit
Drift correctionContinuousWhen run (or scheduled)

Network devices generally cannot run third-party agents, so agentless tools over SSH, NETCONF or REST dominate network automation.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Depth when you need it

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.

Confirmation

Confirm action

Continue?