The original commenter was essentially describing something similar to what good agent harnesses already rely heavily on.