I'm trying to find the idiomatic way to inject references to custom objects (e.g. a database handle, an API client, a service container) to agent context so that they're accessible from everywhere within an invocation. Tools, plugins, and agent callbacks alike. I wanted to ask what is the recommended way of doing this?
Thanks!
I'm trying to find the idiomatic way to inject references to custom objects (e.g. a database handle, an API client, a service container) to agent context so that they're accessible from everywhere within an invocation. Tools, plugins, and agent callbacks alike. I wanted to ask what is the recommended way of doing this?
Thanks!