logoalt Hacker News

arjietoday at 1:38 AM2 repliesview on HN

I only have the agent investigate directly. To actually configure the Mikrotik, I have the agent write a script that is aimed to be idempotent and then run the script. Investigation is fine, but the script acts as a memory of intent which I find useful. As agents get better, it can be a textual representation rather than a script, but for now that suffices.


Replies

aboundtoday at 1:58 AM

> I have the agent write a script that is aimed to be idempotent and then run the script.

You can take this one step further and have the agent write Terraform configs [1]. I did this (including having the agent import all the initial resources from the live device), works great and is generally more robust than a script.

[1] https://github.com/terraform-routeros/terraform-provider-rou...

show 1 reply
doolstoday at 2:15 AM

> As agents get better, it can be a textual representation rather than a script, but for now that suffices

I can’t see any reason to have agents do what a script can do. If the operation is deterministic then why pay every time it gets done? This is why MCP seems so pointless to me.

show 1 reply