Miscellaneous agent utilities (note to other contrib members: feel free to add to this lib)
Usage: (capture-and-send vars agent action & args)
Capture the current value of the specified vars and rebind them on the agent thread before executing the action. Example: (capture-and-send [*out*] a f b c)Source