Set the agent to run on selected documents. Use the UnprocessedDocuments property to find them. There are code samples in the Help.