Connecting supabase with supabase or other backend

Can i save crew AI task’s Output file to supabase? instead of local storage, i don’t know how out_file param of task will work when agent gets deployed i mean, where. it would store the file? I wish to store every output to supabase db for better logging.

Any leads on that would be helpful. Thanks!

2 Likes

You can add a callback function to your task that will write to supabase. Or I suppose another fun way to do it would be develop a dedicated tool for your supabase db schema and have the agent make the Post requests itself… I didn’t try to do that with Supabase personally, but I made a Tool for a project where I needed Crew AI to write to a Strapi CMS and it works pretty well.