Agent Context
Agent context defines the information available to an agent action. When executed, the agent action uses this information to return relevant details. Agents cannot access information outside of their configured contexts. Learn more about agent context in Vault Help
Context types are scoped to match the agent type they support. The most common context types are document and object context types, which provide data from a specific document or object record. Global context types are available for both object and document agents.
Depending on your Vault’s configuration, Vault provides standard context types for you to use in your agents. For example, your Vault may include the following standard document context types:
- Document Data and Content: The metadata of the current document, such as document fields, and the content of the current document, which is the data in the document source file.
- Related Document Data and Content: The metadata and content of documents related to the current document.
Standard object context types provide data from a specific object record, such as field values from the record the agent is executing on.
If you need other context types, your organization can define custom context types with Vault Java SDK to meet your organization’s unique business requirements.