Most LLM teams either use cheap models that fail on hard tasks, or burn $$$ routing basic JSON formatting to frontier models.
So I built SmartRoute: an open-source LLM router that dynamically dispatches prompts to the most cost-effective model tier in under 0.1ms ⚡👇
(1/2)
@rahamanbinujit I have already shipped the personal vault and the orgs layer is still in dev. You can have a check on it at https://t.co/uq8gKItfs2
I would love to hear a feedback.
Day 4 of building VaultCore - designing the organization/team layer.
Personal vaults were straightforward. Shared org vaults are a different beast. (1/5)
The server sees: encrypted blobs. Nothing else.
This is the same model Bitwarden uses. Studying their security whitepaper was worth more than any tutorial. (5/5)
When a user is added to an org:
→ Generate a symmetric Org Key (AES-256-GCM)
→ Encrypt it with every member's public key
→ Store one encrypted copy per member
Each member decrypts their copy with their private key to access the vault. (4/5)
@saen_dev I am planning to go with a one-time recovery key shown at registration which encrypts the vault key. Its never stored in plaintext.
For org, the admin will recover the vault. There is a tradeoff with this that the member will loose its personal vault but preserve the org access.
This is basically how Bitwarden's org model works - and studying it was the single biggest "aha" moment in this project.
Zero-knowledge, zero-trust, and actually understandable once you draw it out.
Day 4: Org Architecture (7/7)
Day 3 of building VaultCore - the part that kept me up at night: the encryption model.
How does a zero-knowledge password manager actually work? Thread. (1/7)
The hard part: org vaults.
If multiple team members need access to the same vault, how do you share the key without giving it to the server?
RSA key pairs. Each user has a public/private key pair. The org's symmetric key is encrypted with each member's public key. (6/7)
The part I'm most nervous about: the crypto layer.
AES-256-GCM for vault encryption, Web Crypto API in the browser. No third-party crypto libs - just the platform.
More on this tomorrow. (5/5)
Auth: @better_auth with organization and plugin support.
I didn't want to roll my own session/JWT logic. Better Auth handles the boring parts while letting me plug in org-level logic. (4/5)