Disclosure: I build JackedIN. This article is about when a Netmiko or scrapli script is already the right tool, and when a GUI, CLI, and MCP server on one engine is a better fit for an AI agent. It describes JackedIN 1.2.1. Human approval before any change is coming in the next release; it is not in 1.2.1.

Use these examples only on devices you own or are allowed to manage. Hosts and names below are placeholders: 192.0.2.10 and router1. Keep passwords out of the command line.

Netmiko and scrapli already wait for the prompt

That is the first fact, and it should stay the first fact.

Netmiko's send_command is a pattern-based call. The official documentation says that, by default, it "will keep waiting to receive data until the network device prompt is detected." The current prompt is determined automatically. Pass expect_string when you need a different end-of-output pattern. (Netmiko BaseConnection.send_command)

from netmiko import ConnectHandler conn = ConnectHandler( device_type="juniper_junos", host="192.0.2.10", username="admin", ) print(conn.send_command("show version")) conn.disconnect() 

Scrapli likewise waits for the configured prompt after a command. Telnet is a documented transport, alongside SSH, in the official docs: Scrapli.

If a Python playbook already uses these libraries, and it is reliable, keep it. JackedIN is not the first tool that waits for a prompt in Python, and it does not replace Netmiko or scrapli feature-for-feature (device-type coverage, TextFSM/Genie parsing, and the rest of that ecosystem stay with those libraries).

Where agents get into trouble

The weaker pattern is piping commands into raw ssh, plink, or a bare serial pty, then sleeping. End-of-file can close the session while router1 is still on --More--, or after the device printed an error the agent never read. Netmiko and scrapli already solve that in Python. The remaining gap is operational: the operator's terminal, a one-off CLI, and the agent are often three different stacks, and serial is an afterthought when SSH is down.

JackedIN's edge: one engine, serial, and JSON

JackedIN is an SSH, Telnet, and serial terminal for Windows, Linux, and Raspberry Pi (there is no macOS build yet). The same program is the desktop window, the jackedin command, a local API, and a stdio MCP server. Built-in profiles for Junos, Cisco IOS/NX-OS, Arista, Nokia, MikroTik and more. Tested on real Juniper hardware.

jackedin exec reads the command list first, sends one command, waits until the device prompt is back, pages through --More--, ---(more)---, and similar markers, then optionally prints JSON.

jackedin exec --host 192.0.2.10 --user admin --trust-host-key \ --json --cmd "show version" 

On Windows, capture that output with jackedin.com, not jackedin.exe. Set JACKEDIN_PASSWORD instead of passing a password flag.

--json (same as --output json) returns structured fields for each command, including command, ok, output, prompt, and timed_out. ok is false if a command, timeout, or verify check failed.

Serial uses the same exec engine:

jackedin exec --serial COM3 --baud 9600 --user admin \ --json --cmd "show version" 

On Linux the device path is /dev/ttyUSB0 or a /dev/serial/by-id/... symlink. Serial defaults to 9600 8N1, no flow control, and a 100 ms line delay unless you set --line-delay. Netmiko also has serial login helpers (device_type values that contain _serial, plus serial_login). The difference is that JackedIN serial is the same binary as the window and as jackedin mcp, so an agent can use the out-of-band console without a second library.

jackedin mcp is a stdio MCP server for the local API. It dials 127.0.0.1 only. The API stays off until you enable it in Settings, and it requires a Bearer token. Tools include exec, open_session, and send_break. That is the path for Cursor or Claude Desktop: the agent calls the same prompt-gated engine you already see in the tab.

If you want to stay in Python, pip install jackedin and call the same program:

from jackedin import Jackedin device = Jackedin("192.0.2.10", username="admin") report = device.run(["show version"]) print(report.commands[0].output) 

A saved session is Jackedin.from_session("router1"). dry_run prints the plan and does not connect. The Python packages are free; they need the JackedIN app (72-hour full trial, then a license). There is also a Netmiko-style JackedinDevice adapter (send_command, send_config_set) for scripts that want to switch classes. Treat it as an adapter, not as a complete Netmiko replacement.

When to keep Netmiko or scrapli

  • The job is a Python-only pipeline you already trust.
  • You need the library's parser ecosystem or a device type JackedIN is not meant to clone.
  • You do not want a desktop app or an MCP server in the path.

When JackedIN is a better fit

  • An AI agent should call MCP instead of opening its own SSH session.
  • An operator, a CLI script, and the agent should share one engine.
  • You need a first-class serial console, including when SSH is down, with JSON output.

Coming in the next release

Not in 1.2.1: in AI sessions, show-type commands run freely; a command that changes something runs only after a human approves it; the agent cannot approve a change itself. Until that ships, treat exec as able to send any command you allow, and limit the agent by how you prompt it and which tools you enable.

JackedIN is $19 one-time after a 72-hour full trial, one license per computer: https://getpathprobe.com/jackedin/