Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Giving the agent context

Give the agent files, skills, other notebooks and data to work with.

The more relevant context the agent has, the better its work. You can give it files, skills, other notebooks and access to your data.

From the composer

Open the + menu in the agent composer:

Option
What it does

Upload Files

Attach files to your message, such as a spreadsheet, a PDF or a sample of data

Use Skills

Attach skills for the agent to follow on this request

Reference Notebooks

Let the agent read other notebooks, including their code, outputs and Learnings

Subagents

Choose custom subagents for the agent to use. Only available in Evolve Mode.

File limits

Limit
Value

Per file

1 MB

Per message

5 files, 2 MB in total

For larger data, use a data connection or add the file to the notebook's files instead.

Referencing notebooks

Referencing a notebook gives the agent read-only access to it. It's the quickest way to build on earlier work: the agent can see how a previous analysis was done, and read that notebook's Learnings for its findings and assumptions.

Using the approach in the "Q3 factor review" notebook, run the same analysis on Q4 data.

Through the notebook

The agent can also use what's attached to the notebook it's working in:

Through your tools

MCP servers you've connected give the agent tools for other systems, which it finds and uses as it needs them.

In your message

Context in the message itself matters too. Say what the work is for, what good looks like and any constraints, for example:

This is for the Monday risk meeting, so keep it to one page. Use our positions data in Snowflake, not the vendor feed, and report everything in basis points.

For instructions you give repeatedly, write a skill instead.

Last updated

Was this helpful?