The Vanilla RNN Problem
Each new hidden state overwrites the old one. Over long sequences, gradients either explode or vanish.
The HTML-native knowledge OS
sodarie is the AI-native note system for people who have outgrown static markdown vaults. Build interactive lessons, research maps, code, media, and private knowledge directly inside local HTML notes.
Created: 2026年5月16日 Modified: 2026年5月16日
An RNN with a protected memory lane.
Each new hidden state overwrites the old one. Over long sequences, gradients either explode or vanish.
Imagine an assembly line (the cell state) running straight through. At each station, gates decide:
Discards information from the cell state when a new context starts.
Giving LLMs an open-book exam instead of a closed-book memory test.
| Paradigm | Analogy | Hallucination |
|---|---|---|
| Plain LLM | Closed-book | High |
| Fine-tuning | Studying | Medium |
| RAG | Open-book | Low |
Documents are chunked and embedded into a high-dimensional vector space.
Return the top-k chunks using approximate search like HNSW for billion-scale retrieval.
Use the following context to answer.
If the answer is not in the context, say "I don't know".
Context: {retrieved chunks}
Question: {query}
Answer: Sliding a flashlight over an image to find patterns.
Imagine shining a small flashlight (the kernel) over a photograph, one patch at a time. The collection becomes a feature map.
Where I = input image, K = kernel weights.
| Kernel | Effect |
|---|---|
| Sobel X | Horizontal edges |
| Gaussian | Smoothing |
| Sharpen | Enhance detail |
Padding adds a zero border. Stride controls how many pixels the flashlight jumps.
Position: (0, 0)
One RNN reads; another writes. Attention lets them whisper to each other.
A classic Seq2Seq compresses the entire input into one context vector c.
Fitting a 50-word paragraph into 256 dims is like fitting a novel into a tweet.
The decoder gets a different context vector at every step.
where etj = score(st-1, hj).
Seq2Seq attention is cross-attention: queries from decoder, keys/values from encoder. This exact pattern survives in Transformers today.
A note is a web app
Markdown is great for static text. sodarie treats every note as a small web app, so your study plans, research canvases, charts, simulations, and AI-generated tools can live in the same local file.
Living HTML note preview
AI rewrites the file
sodarie AI doesn't stop at advice — it edits the file. Watch it drop a yellow callout block into a note, restructure a section, and refactor a study card straight into the .html on disk. The clip on the right is running entirely against a local model: no API keys, no cloud, your weights doing the work.
AI editing a live note
Edit anything, anywhere
No exporting, no opening a separate editor. Toggle edit mode on any note and rewrite the HTML right there — add a block, delete a chart, restructure a section, or paste a snippet from elsewhere. Swap fonts on the fly, and use the format painter to copy a heading, paragraph, or block style and keep everything perfectly aligned across the note. Save commits the change straight to the file on your disk; Cancel rolls it back. Create, rename, move, and trash files without leaving the vault.
In-place HTML editing
See your thinking
Search your vault, follow backlinks, then ask sodarie to turn connected notes into a path you can learn from. The graph renders locally on Cytoscape with the fcose layout — fast at thousands of nodes, and it stays out of the way until you need it.
Vault graph view
Your vault, your way
Reorder the sidebar by dragging. Drop a file into another folder and the structure on disk updates with it. Pull a note into a different folder, rename without losing backlinks — the file system is the source of truth, and sodarie keeps the visible structure in sync as you move things around.
Sidebar drag-and-drop + folder moves
AI you choose
Toggle between a local model — Ollama, LM Studio, anything OpenAI-compatible running on your hardware — and a cloud API in a single click. sodarie doesn't lock you to one provider, and swapping never restarts the app. Same prompt, different brain, instantly.
One-click switch between local AI and cloud APIs
From prompt to vault
Don't know HTML? Doesn't matter. Describe the vault you want — a six-week linear-algebra course, a research vault on transformer interpretability, a daily journal — or paste in any reference content, and sodarie scaffolds the entire vault, notes and all, into a folder on your disk. No template hunting, no boilerplate.
AI scaffolding a brand-new vault
Quick switcher
Cmd+P or Ctrl+P to fuzzy-find any note. Click the search field in the top-left to grep across everything you've written. CJK works, partial matches work, and you can jump to a heading inside a note in two keystrokes.
Cmd/Ctrl+P quick switcher and full-text search
Make it yours
Swap the whole vault between warm cream, midnight, sepia, and high-contrast palettes — and pick any font size from compact to extra-large. Every note picks up the new look instantly, no reload, no plugin required.
The signature sodarie palette. Easy on the eyes for long study sessions in daylight.
Deep brown-black with warm accents. Built for late-night writing and OLED displays.
Warm parchment tones. Comfortable for reading-heavy notes and research vaults.
Crisp black on white with a single accent. Maximum legibility for shared screens.
Font size
Positioning
Folders, markdown, plugins, and a graph that often becomes another thing to maintain.
Local HTML notes that can render tools, run trusted interactions, and become lessons with AI.
Core system
Trigram tokenization for Chinese, Japanese, and mixed content.
Cytoscape-powered backlink graph with fcose layout. See your thinking unfold.
Sandboxed iframes for scripts you allow, with AI security audits before trusting a file.
Embed media, code, charts, and 3D content in one local HTML file.
Cmd+P or Ctrl+P to fuzzy-find any note, with Chinese fuzzy matching included.
macOS and Windows builds are available today, with one download button that adapts to the visitor.
Local by design
A notebook with an engine.
sodarie is a desktop-first app that runs entirely on your computer. Your notes, your vault, your AI prompts — none of it touches a sodarie server, because there is no sodarie server. The only network calls are the ones you explicitly configure (a local model, or an AI provider you trust).
Point sodarie at Ollama, LM Studio, or any OpenAI-compatible endpoint running on your own hardware. Prompts, context, and replies never leave the machine.
Plain .html files in a folder you choose. No cloud sync. No sodarie account. No third-party storage. Back it up the way you back up anything else.
No analytics. No usage pings. No crash reporters phoning home. What you write, how you write it, and what you ask the AI is between you and your computer — full stop.
Interactive HTML is sandboxed by default. Scripts and network access only run after you (or an AI security audit) explicitly trust the file. Nothing executes behind your back.
sodarie 0.1.6 is ready for macOS and Windows. The button checks your device locally in the browser.
Other build: Download for Mac