# Viewing and updating database agent instructions

Within a database, every chat is independent of the other chats. It does not have access to all of the context from any of the other chats.

However, all of the chats have access to a shared set of agent instructions. To display the agent instructions:

1. In the Data Agent heading, click the agent instructions icon.

<figure><img src="https://4109733485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmoU4gTR9LxlzHeWmQCUZ%2Fuploads%2F7JRAt7v0fMp5zsL1tM5o%2FAgentInstructions_Icon.png?alt=media&#x26;token=47016a78-509d-42bb-a29d-9f005b7e62ac" alt=""><figcaption><p>Agent instructions icon in the Data Agent heading</p></figcaption></figure>

2. On the **Agent Instructions** panel, click **Database**.

The **Database** page of the **Agent Instructions** panel displays a summary of the rules that the Data Agent used to generate the data. All chats refer to these rules as they perform actions. For example, if the agent instructions indicates that all of the addresses are in the United States, the Data Agent won't generate addresses outside of that.

<figure><img src="https://4109733485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmoU4gTR9LxlzHeWmQCUZ%2Fuploads%2FCnmziGU41LsdxzKDvG7Z%2FAgentInstructions_Database.png?alt=media&#x26;token=342fe84a-d255-4890-b0da-488971fb268f" alt=""><figcaption><p>Agent instructions for a Data Agent database</p></figcaption></figure>

To affect how the Data Agent performs future actions, you can adjust the agent instructions.

For example, the agent instructions might indicate that the data contains orders from the previous 3 months. You might expand that to 4 months. The next time it generates new data, the Data Agent produces data for the past 4 months.

After you change the agent instructions, click **Save Changes**.
