Agent activation¶
To start a dialog session with the AI agent, you need to activate it in the app. You can do it in the following ways:
Click or tap the AI agent button displayed on top of the app UI.
Use the activate() method of the Alan AI SDK to activate the AI agent programmatically.
[For voice AI agents] Use the wake word. Make sure the wake word option is enabled for your AI agent project.
To deactivate the AI agent and stop the dialog session, do either of the following:
Click or tap the AI agent button
Use the deactivate() method of the Alan AI SDK to deactivate the AI agent programmatically
[For voice AI agents] Say one of the following phrases:
Thanks Alan
Thank you Alan
Alan thank you
Alan thanks
Stop Alan
Alan stop
Note
You can deactivate the AI agent with voice only while Alan AI is listening to you. If you say one of the above phrases while Alan AI is saying something, the AI agent will not be deactivated.