How to add context to a project in AI Studio?
Project context is the information the AI uses as a baseline in every chat and AI agent within that project. It serves as guidelines, goals, and intentions that all chats (with or without AI agents) within a particular project must adhere to. You can add different types of data to AI Studio projects, such as text instructions, files, or links to online resources.
How context works
Here’s what happens when you add context to a project:
- Every new chat in the project starts with that context already loaded.
- Chats in the project have access and can use any uploaded files and shared links without you re-uploading them.
- Updated context information affects new chats but doesn’t affect chats that have already started.
How to add context to a project
To add context to a project, open the Projects section from the left-hand side menu in the AI Studio chat interface, and click on the chosen project.

On the next page, you can add three types of context information:
- Instructions — A text field where you describe how the AI chats and agents should behave, and what guidelines it should follow, what the objectives of the project are, and any other crucial information. For example, you can add the following instruction: “You are helping me manage content for a food blog. Always use a conversational tone and suggest SEO-friendly titles.”
- Files — You can upload documents, guidelines, spreadsheets, or other materials as input directly to the project.
- Links — You can add links to websites and online resources that contain important information that the AI can read and use as context.
Once you’ve added your instructions and resources, press Save to confirm the context.

How to update the context
At any moment, you can update a project’s context to change the instructions or add new resources.
When you open a project with context from the Projects section in AI Studio, a Project Context card is displayed at the top of the page. Press the Update Context button inside to open the context settings, where you can make the necessary edits.

Best practices
Below, you’ll find some useful tips on using context, especially when dealing with a larger project or processing sensitive information.
- Iterate on your instructions — The first version rarely covers everything. After a few conversations, update them to reinforce things that AI Studio gets right and use them as a good example, or point out bad results to discourage the AI from repeating them.
- Keep instructions tight — They load on every conversation, so you don’t need to reiterate them in every new chat within the project. Even if you add an AI agent to a chat, it will detect the context, so you don’t have to re-explain it.
- Separate input materials from rules — Use the files/links to set the stage for the AI; use the instructions for the behavior AI Studio should follow.
- Redact sensitive data — Be careful what you upload to avoid revealing any sensitive information — financial identifiers, personal information, or credentials should not go into the project’s context.