Skip to content

v0.2.0 — Web, Watch & Memory

Latest

Choose a tag to compare

@miclaldogan miclaldogan released this 14 Jun 14:17
· 137 commits to main since this release

Bantz is a local-first AI butler — a 1920s English valet persona running on small local models, with optional cloud providers, a desktop Operations Center, live web research, Google integrations, voice, and a persistent memory palace. This release is a big step up in capability, reliability, and polish.

🌐 Web intelligence (bantz-web)

The standalone bantz-web search/research/news pipeline is now wired into the tool layer in-process (no HTTP, no subprocess) as a git submodule:

  • web_search — fast, quick lookups.
  • web_research — deep, multi-source research that produces a long structured report. Runs async with progress streamed live into the Broadcast Channel, and is cancellable mid-run.
  • web_news — current news, locale-aware.

🛰️ Operations Center (desktop UI)

The Tauri v2 + React desktop app talks to the daemon over WebSocket and gained real teeth:

  • Anomaly Watch with real system monitoring — live CPU / RAM / swap / disk pressure plus recurring-error detection from the log stream, surfaced as dismissible/snoozable alerts. "Investigate" hands an anomaly to Bantz for analysis.
  • Settings persistence — live LLM provider switching (ollama / claude / gemini / openai), personality dials (verbosity, mood bias), and appearance preferences persisted to localStorage and applied via CSS.
  • New Directive NLP parsing — natural-language directives entered in the UI are parsed into structured tasks (robust JSON extraction with graceful fallbacks).

🧠 Memory (MemPalace)

  • Recall fix — vector search now reads MemPalace's ChromaDB (L3) correctly instead of a dead legacy SQLite path. Stored memories are actually retrieved into context again.
  • Smarter knowledge-graph traversal (pure SQLite, no new dependencies):
    • Relation traversal — follows an entity's triples two hops deep (entity → neighbour → neighbour's facts).
    • Time-aware scoring — recency boost (≤7d ×1.5, ≤30d ×1.2, older ×0.8) as a multiplier, never a filter.
    • Importance decay — entities track an access count and surface more easily the more they're recalled.
    • Topic clustering — vector chunks that also share a graph entity get boosted (doubly relevant).
    • All within the existing recall token budget and parallel async structure.

📍 Location

Reworked source priority for accurate, automatic location:

  • GeoClue2 (system location service) and phone GPS relay (reverse-geocoded to a real city and cached so it survives the live TTL) are preferred over unreliable IP geolocation.
  • WiFi-BSSID geolocation (nmcli scan → beaconDB) as an automatic source where access points are mapped.
  • No more wrong-city fallback — when every source fails, Bantz says "location unknown" instead of guessing.

📬 Gmail

  • Category grouping in summaries (personal / institutional / services / payments / notifications) with emoji headers.
  • Sensible default query capped to unread within the last 7 days.

🔒 Security & output quality

  • TOCTOU fix — sensitive local files (GPS, places, profile, session, GPS-city cache) are now created 0o600 from the first syscall via a shared secure_write_text helper, closing the brief world-readable window left by Path.write_text().
  • Cleaner butler output — <thinking> reasoning blocks and internal [CONTEXT:…] metadata are reliably stripped in the finalizer (including the short/verbatim path), so they never leak to the user. Calendar tools now surface real errors instead of swallowing them.

⚙️ Runtime & deployment

  • systemd daemon management — Bantz runs as a bantz-daemon systemd user service with a documented install-clone + sync workflow (pull the install clone and restart via systemd after backend changes).
  • Four LLM providers selectable and switchable live; provider clients read config without a restart.

See CLAUDE.md for full operational notes and CONTRIBUTING.md for how to get involved. Our little model has big ambitions. 🦌