About
## Challenges we ran into
- Model download: the ~900 MB of weights couldn't be resumed in the browser, so we set up a local server to test models without re-downloading them. - Prompt for a small model: a 1B model would break character when the prompt was a list of prohibitions; rewriting it in positive terms fixed the issue. - Chrome: a fetch call decoupled from the `window` object triggered an "Illegal invocation" error and silently cut off the stream reading. - Backend deployment: the gateway stores one-time challenges in memory, so we ruled out serverless and deployed persistent services on Render.
## The problem it solves
#### The problem it solves
When I was about to come to Cochabamba, a family member was in a very bad way but had no one to confide in for fear of judgment. This is not an isolated case: **today, thousands of young people share things with ChatGPT or Claude that they wouldn't tell anyone else, and all of that ends up on a company's server—yet data is the most valuable asset we have!**
**Nadie is an emotional companion with AI running entirely within the browser: the conversation never leaves the device.** If the user wants professional help, the AI drafts a summary; the user reads exactly what will be shared and signs a consent form on HashKey Chain. Only a verified psychologist can access it, and only for a 7-day window. The AI prepares the data, the user signs, and nothing is released without both steps being completed.
How it works
- Local AI: Qwen2.5-1.5B using WebLLM and WebGPU. It downloads once and then works offline. If the device cannot handle the model, the app notifies the user.
- Mood tracking: the user rates their day from 1 to 10, and "Your Path" displays a trend line for the last 28 days, stored locally on the device.
- Sharing with consent: **the summary is encrypted on the device using the psychologist's key (HPKE X25519 + AES-256-GCM);**
- The user signs an EIP-712 consent, and a relayer records it in the ConsentRegistry, covering the gas fees;
- **the user does not need cryptocurrency.**
Psychologist portal:
- Credentials are verified on-chain, and the initial access is recorded on the blockchain; - The psychologist signs a challenge with their wallet and decrypts the package within their browser. - Gateway: stores only encrypted text and releases it only if the on-chain consent is valid. - Verifiable privacy: a test fails if the app attempts to communicate with an undeclared third party.
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.






