Hey all. I'm a fairly novice programmer so forgive me if this is an ignorant question. I'm learning how to code ("vibe coding") and making great progress building AI-driven internal apps with Retool.
Right now, all of my Retool Apps are leveraging AI through REST API calls. I'd like to start experimenting with OpenAI's Agents SDK but I'm a little confused about whether it's possible and if so how to do it.
I've noticed that when building Retool Workflows, it does appear possible to add NPM and Python Packages under the Libraries option.
However, when building Apps, it's a little different. When I go to Settings -> Libraries, it doesn't allow me to simply search for the package, but instead prompts me for a URL.
Can anyone help me understand how to think about this?
Perhaps the answer is to leverage the SDK in a workflow that I call from the app? I haven't made apps and workflows work together yet, but I'm sure I could figure that out if that's the right avenue to pursue.
Exactly like you mentioned, leverage the workflow. You have to enable webhook in the workflow, and call it as a REST endpoing in your Retool app. Do keep in mind that there are limited workflows depending on your pricing plan!