Passing context to AI Agents in Apps (similar to what is done in Cursor)

Thank you Jack,

I do think being able to set up some sort of "Support Variables and In-Memory Context Hub for Agents (Session Data Store)" would be great.

I'm concerned that with agents subscribing to the state of components or event entire pages (!) the context window will be filled rather quickly AND/OR inefficiently. I can think of many instances where I wouldn't want the agent to do this, but I would rather provide users with options of what to pass as context.

There's a lot of trend right now around "context engineering" and I think it will become industry standard. It would be amazing for Retool to enable this in efficient but also granular ways!

Wit regards to creating the data in a DB, this is what @ultraviolet shared here

1 Like