Because I collect definitions of "agent", here's the one this book uses: > An agent is something that acts in an environment; it does something. Agents include worms, dogs, thermostats, airplanes, robots, humans, companies, and countries. https://artint.info/3e/html/ArtInt3e.Ch1.S1.html I think of this as the "academic" definition, or sometimes the "thermostat" definition (though maybe I should call it the "worms and…
So basically an agent is a procedure, by this definition: it takes parameters (environment) and acts upon that by executing side effects. An email filter is an agent. A database trigger is an agent.
I think it's better to imagine agent as something that physically placed inside the Environment, and actually modifying/changing/mutating it in place.
> An email filter is an agent. A database trigger is an agent.
you're missing the "I" (Intelligence) part - the filtering logic in the email filter, or a business logic in the DB trigger/stored procedure/CGI script/AWS Lambda function/etc.
But yes, an agent doesn't have to be Intelligent, it can be a Dumb Agent / NPC / Zero-Intelligence Trader.