It is important that you, as a developer, test an agent before copying that agent to a production server. Having a test environment is valuable for testing and developing agents.
You can quickly test an agent by simulating a run without affecting documents.
Select the database and go to the Shared Code and Agent pane.
Select the agent and choose Agent -> Test, or right-click on the agent and choose Test.
Read the Test Run Agent Log, which describes how many documents would be processed and what action would be taken if the agent were actually run.
For agents that have multiple steps or complex tasks, split ...