Previous articles covered creating AI agents in Vertex AI Agent Builder. We built a healthcare appointment scheduling agent and connected it to APIs. This article covers datastores. Datastores give agents access to detailed knowledge. Your agent can now retrieve hospital policies and relevant details. This improves the user experience with accurate, comprehensive information.

Define Datastores in Vertex AI Agent Builder
Datastores act as structured knowledge repositories for agents. You add various information sources to these datastores. Common sources include:
- Web pages (for example, hospital websites)
- Static documents (for example, hospital policies)
- Structured datasets (for example, hospital locations and contact details)
Datastores serve as a central repository. Agents access them to answer user queries with greater depth and accuracy. Datastores support context analysis rather than simple keyword matching. This allows the agent to interpret user inquiries and provide relevant information.
How Datastores Improve Agent Functionality
Datastore integration provides the following benefits for the healthcare appointment scheduling assistant:
- Expanded knowledge base: Datastores provide the agent with access to a large information set. This improves answer accuracy and reliability for users.
- Efficient search: Agent Builder indexes datastore content to support fast search. The agent retrieves relevant details from hospital websites or policies quickly. This reduces search time for users.
- Consistent responses: Datastores provide reliable source data. This ensures consistent answers and supports user trust.
Integrate Datastore Search
Create a Datastore
Connect the Datastore to the Agent
In the agent's Instructions section, use placeholders such as ${TOOL: tool_name} to identify the target Datastore.
Write clear instructions that direct the agent to query the Datastore for relevant data.
Test and Optimize
Use the built-in simulator to test agent knowledge retrieval.
Input user queries about hospital details or policies.
Refine instructions based on test results. Verify accurate retrieval from the datastore.
- Open the Agent Builder console. Navigate to "Data Stores".
- Select "New Data Store". Choose a source, such as Cloud Storage or a website.
- Select a data source that matches your information requirements.
- Enter a name and configure datastore settings.
Conclusion
Vertex AI Agent Builder datastores provide a method to equip AI agents with comprehensive knowledge. Integrate datastores to transform a healthcare appointment scheduling assistant into a knowledgeable resource. This delivers accurate, relevant information and supports a more efficient, user-centric scheduling experience.
The next post explores advanced techniques for building and optimizing multi-agent systems on Vertex AI.