cogxai-cloud
v2.8.2
Published
Cloud providers for CogxAI — Supabase storage + Voyage AI embeddings
Maintainers
Readme
cogxai-cloud
Cloud providers for CogxAI — Supabase storage + cloud sync.
Install
npm install cogxai-cloudUsage
import { SupabaseProvider, CloudSync } from 'cogxai-cloud';
import { CogxAIEngine } from 'cogxai-brain';
import { VoyageEmbeddings } from 'cogxai-brain/providers/voyage';
const storage = new SupabaseProvider({
supabaseUrl: process.env.SUPABASE_URL,
supabaseKey: process.env.SUPABASE_SERVICE_KEY,
ownerWallet: 'my-agent-id',
});
const embeddings = new VoyageEmbeddings({
apiKey: process.env.VOYAGE_API_KEY,
});
const engine = new CogxAIEngine({ storage, embeddings });Providers
SupabaseProvider
Implements StorageProvider from cogxai-brain. Stores memories in Supabase with pgvector for similarity search.
CloudSync
Sync memories between local and cloud storage. Push/pull with conflict resolution.
Part of the CogxAI ecosystem
cogxai-brain— Core memory enginecogxai-cloud— This package. Supabase storage + cloud sync.cogxai-local— SQLite + local embeddingscogxai— Full package with MCP server, CLI, SDK, and more.
License
MIT — Black-dork
