Skip to content

FLASH-Exclusive Intelligence Stack

FLASH is an encrypted intelligence database — server-blind by architecture, local-first, and AI-native. The modules below are FLASH-exclusive and do not exist as a unified stack in traditional document databases.


Module Map

ModulePurpose
FlashPrivateRAGEncrypted ingest → chunk → embed → ask (private RAG)
FlashEmbeddingVaultServer stores vectors + hashes only; plaintext stays client-side
FlashAgentMemoryEncrypted episodic memory for AI agents (TTL, importance)
FlashSealedVaultPassphrase-sealed vault with auto-lock
FlashPortableBundle.flashpack encrypted portable bundles
FlashCloudSyncPush/pull bundles to cloud-synced folders
FlashLangChainAdapterVector store + memory adapter for AI frameworks
FlashFederatedQueryQuery multiple encrypted peers, merge client-side
FlashMultiAgentSyncShared encrypted memory across AI agents
FlashPromptFirewallPII/secret scan before LLM egress
FlashDifferentialPrivacyNoisy aggregates for privacy-preserving analytics
FlashComplianceExportGDPR export + signed delete attestation
FlashIntegrityProofSigned Merkle + invariant manifest
FlashKeyCeremonyXOR key sharding ceremony
FlashTimeSealTamper-evident timestamp chain
FlashEncryptedCRDTMulti-master encrypted CRDT sync
FlashBrowserVaultBrowser-local encrypted key-value vault
FlashEdgeNodeHTTP + FLASH wire edge daemon
FlashAuditStreamChange stream + tamper-proof audit chain

All modules are available from FlashClient or direct imports from flash-zk.


Quick Start

javascript
import { FlashClient } from 'flash-zk';

const client = new FlashClient({
  secretKey: 'your-master-key',
  storagePath: './flash_data',
});

// Private RAG
const rag = client.privateRAG('knowledge');
await rag.ingest({ title: 'Security', text: 'Long document...' });
const answer = await rag.ask('How does encryption work?');

// Agent memory
const memory = client.agentMemory('assistant');
await memory.remember('User prefers Arabic UI', { importance: 2 });
const facts = await memory.recall('What language?');

// Sealed vault
const vault = client.sealedVault('secrets');
vault.unlock('passphrase');
await vault.put('api_key', { service: 'openai', value: 'sk-...' });

// Integrity proof
const proof = await client.integrityProof('audit_log', { actor: 'auditor' });

See dedicated guides:

Released under the Apache 2.0 License.