What is the best self hosted way of running prompts on supabase for documents and database contents that i can manage agents on backend?