Skip to content
Tanveer Hoque
All projects
Open source2026 to presentAuthor

Hearth

A local-first AI coding IDE: editor, terminal, runner, preview and agent, all running against models on your own machine.

Problem

A coding agent that runs on a local model has less room for error than a hosted one: it can abandon a multi-step task, break code without noticing, or read a secret into a transcript that is replayed on every later turn.

Approach

A Tauri and React desktop app with a file tree, Monaco tabs, a terminal, a dev server with preview, and an agent that edits the open project through Ollama. The agent reads type errors, build output and the browser console to check its own work, paths are checked in both TypeScript and Rust, and a headless harness scores local models on 20 tasks by running the code they write.

Outcome

  • Every turn that changes a file becomes a checkpoint that can be diffed, rejected hunk by hunk or rolled back.
  • .env values are redacted before the model sees them, and an allowlist refuses shell operators and inline code, so the redaction cannot be bypassed that way.
  • Models are measured rather than assumed: on the same machine one holds a multi-step tool loop where others abandon it.

Stack

Rust TauriReactTypeScriptMonaco Ollama