...
Use this option to interact with the agent from backend processes. This capability allows the agent to be deployed more autonomously. You can embed the capabilities of AI directly into your applications and workflow without an interact cha interactive chat interface.
For more details, see the pjs.askAgent() API.
...