Write how the agent should behave. Save, then open Preview to test.
Turn on exactly one mode before starting the agent.
Documents are saved to this agent as soon as you add them.