---
schema_version: "1"
id: c9096d368397116229f71f625061d96b1bcc663ae5ffa591cc4e37d43e0fd2e2
title: Document Agents in Agentforce Operations
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/automate_afsc_ai_agents_document_compare.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.automate_afsc_ai_agents_document_compare.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c7ed8c0110355f3ff0c055e3ff9244f935d79471e38f454ad1de2f485a63338c
description: Agentforce Operations has two document agents. Understand the differences to choose the right one for your task.
products:
  - Cross Cloud
release: "264"
---
# Document Agents in Agentforce Operations

Agentforce Operations has two document agents. Understand the differences to choose the right one for your task.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col>
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="colgroup" class="slds-cell-wrap" colspan="1" style="text-align:left;vertical-align:top;" id="d27199e37">License Required</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="License Required" class="slds-cell-wrap" style="vertical-align:top;" headers="d27199e37 ">
            <p>This feature is a workspace that’s external to your Salesforce org and requires
              an Agentforce Operations license. </p>
            <p style="margin-bottom:0;">To purchase an Agentforce Operations license, contact your Salesforce account
              executive.</p>
          </td>

        </tr>
      </tbody>
    </table>

## When to Use Each Document Agent

Use the Document Reader Agent to extract fields or tables from unstructured documents, such as PDFs or images, or when you want to extract fields from documents where the format changes with each workflow run.

Use the Document Agent to generate or summarize a document, compare documents, or extract tables from a CSV or Excel file where the format of the table is identical every time the workflow runs. To use the Document Agent to extract tables, the file can't have any special formatting and the first row of the file has to be the column labels.

## Choosing and Configuring a Document Agent

Learn more about what each document agent does, its capabilities, and how to configure tasks that use it.

The Document Agent extracts data from structured documents, generates summaries, fills Word templates, and compares .docx files. Use it when the document format is consistent across workflow runs. To learn more, see [Document Agent in Agentforce Operations](https://help.salesforce.com/s/articleView?id=platform.automate_afsc_ai_agent_document.htm&release=264.0.0&type=5 "Use the Document Agent to extract more complicated information from documents, such as images and tables, in Agentforce Operations.").

The Document Reader Agent (Beta) extracts fields and tables from unstructured or variable-format documents like scanned PDFs and images. Configure keyword aliases and per-field instructions to guide extraction. To learn more, see [Document Reader Agent (Beta) in Agentforce Operations](https://help.salesforce.com/s/articleView?id=platform.automate_afsc_ai_agents_document_reader.htm&release=264.0.0&type=5 "Understand the capabilities, inputs, and limitations of the Document Reader agent (Beta) in Agentforce Operations.").

To learn more, explore these links.

- **[Document Agent in Agentforce Operations](https://help.salesforce.com/s/articleView?id=platform.automate_afsc_ai_agent_document.htm&release=264.0.0&type=5)**  
    Use the Document Agent to extract more complicated information from documents, such as images and tables, in Agentforce Operations.
- **[Document Reader Agent (Beta) in Agentforce Operations](https://help.salesforce.com/s/articleView?id=platform.automate_afsc_ai_agents_document_reader.htm&release=264.0.0&type=5)**  
    Understand the capabilities, inputs, and limitations of the Document Reader agent (Beta) in Agentforce Operations.