1
Proposal: document AgentsKit as a portable Supabase pgvector adapter for JavaScript agents
Source: supabase/supabase#48752 · opened by @EmersonBraun
Problem JavaScript developers building agents with Supabase often have to assemble three separate pieces themselves: a vector-memory contract, PostgREST mutations, and a pgvector search RPC. The easy shortcut is a generic SQL-execution RPC, but exposing caller-provided SQL—especially through a security definer function—is not a pattern I think the Supabase community should encourage. There is also a portability problem: if application code is written directly around one vector provider's API, moving between Supabase, local pgvector, or another managed backend becomes a rewrite instead of a configuration change. What is already implemented AgentsKit is an open-source, modular agent toolkit for JavaScript. Its @agentskit/memory package now includes a Supabase adapter behind the same VectorMemory contract used by its other storage backends. The Supabase path intentionally uses: • direct supabase.from(table).upsert(...) for writes; • direct delete().in('id'…
No pledges yet. Be the first to back this.
Comments
Similar requests
Add option to enable hardware acceleration for Adapter models
1 vote · 0 comments
Add Storage Adapter For Chrome.Local.Storage Api
3 votes · 0 comments
upgrade pgvector to 0.7
3 votes · 0 comments
🚀 Architecture Proposal: `pg_agent` (In-Database Autonomous Agents via WAL Integration)
1 vote · 0 comments
Add JavaScript as first-class citizen for local unit tests
2 votes · 0 comments
No comments yet.