CoolFace
Apppublic

KikoCis/elffuss-claw

sourceHugging Faceapache-2.0updated 6d agoView on Hugging Face
0likes
App README

✳️ Elffuss Claw — an agentic OS that lives in your browser

Apps don't exist here: they get created. The chat is the interface — ask for an app and the agent generates it as self-contained HTML that renders instantly in the viewer. No install, no mandatory backend, no account, and the model runs inside your browser (WebGPU).

⚠️ For folder access and the full experience, open it full-screen (direct link) — the File System Access API is blocked inside the embedded iframe.

demo

In the demo I ask for a notes app — the model (running 100% in the browser) generates it as HTML and it renders live in the viewer. No install, no server.

What it does

PillarHow
Apps get createdSelf-contained HTML → sandboxed iframe, saved to IndexedDB, reopened from the Apps tab.
Local by defaultLiteRT-LM (Gemma-4 E4B on desktop, E2B on mobile) and ONNX/WebGPU (transformers.js), plus a zero-download rule-based mode.
SkillsA skill is a SKILL.md pulled from GitHub and injected into the agent — installing a skill is the capability. Starter set: <https://github.com/KikoCis/elffuss-claw-skills>
External modelsOpenAI / Anthropic / local Ollama — opt-in, keys stay in your browser.
Memory + historyPersisted in IndexedDB; memory.* facts enter the context of every turn.
Context that fitsRelevance-based history eviction (BM25 + IDF) with a token budget, multilingual (accents and Cyrillic included); long tool results are compacted instead of breaking the conversation.
Your foldersFile System Access API — reads real .xlsx (SheetJS), "visualize sales.xlsx" → chart app.
VaultAES-256-GCM secrets, PBKDF2 (310k iters), auto-lock after 5 min. Nothing leaves your machine.
Scheduled tasks"Remind me in 20 minutes…" fires later, while the tab is open.
Your languageThe whole UI and the agent follow your browser's language (English, Spanish and more).

Try: "make me a clock", "authorize a folder", "remind me in 1 minute to stretch".

How it's built

Write-ups on the full stack — model, runtime, agent harness, editor and filesystem access, all in one tab: <https://bitacora.utopiaia.com/#elffuss>

Context management — how it's measured

The context packer isn't chosen by intuition. Numbers measured at the same token budget:

Real agent sessions (25 sessions, 174 probes, fact recall, no LLM judge):

recall
tail truncation7.0 %
previous version15.1 %
current65.3 % ± 8.5

Long-term memory (200 questions, F1 from the benchmark's own repo, a real model answering, ~8 % of the context):

F1
the FULL context, uncompressed22.56
tail truncation6.62
hand-written heuristics6.07
BM25 without IDF20.34
BM2523.59
embeddings23.95
rank fusion (BM25 + embeddings)28.09

Retrieving well beats having everything: 28.09 vs 22.56 using 8 % of the tokens. Irrelevant context isn't neutral ballast — it distracts.

Two more things that were measured, not assumed: turning the heuristics on cost −3.02 F1, and removing IDF costs −3.25. Semantic search doesn't replace lexical search, it covers its blind spot: with no vocabulary overlap between question and answer, embeddings win (24.28 vs 18.60); with overlap, BM25 wins (29.33 vs 23.58) — and fusion keeps both.

References: BM25 (Robertson et al., TREC-3 1994) · IDF (Spärck Jones, 1972) · RRF (Cormack et al., SIGIR 2009) · MMR (Carbonell & Goldstein, SIGIR 1998) · attention sinks (Xiao et al., ICLR 2024) · valid time (Snodgrass & Ahn, SIGMOD 1985).

The full story, including what went wrong: <https://bitacora.utopiaia.com/posts/16-beaten-by-doing-nothing.html>

The Elffuss family

  • 🌐 Full app: <https://claw.elffuss.utopiaia.com>
  • 💻 Source (Apache-2.0): <https://github.com/KikoCis/elffuss-claw>
  • 🧑‍💻 Elffuss Code — a VS Code-style IDE with a local agent: <https://code.elffuss.utopiaia.com> · Space
  • 🧬 Shared core: <https://github.com/KikoCis/elffuss>
  • 🗣️ Elffuss Translator — speech-to-speech translation on your device: <https://translator.elffuss.utopiaia.com>
  • 📝 Elffuss Copilot — live call notes that never leave your browser: <https://copilot.elffuss.utopiaia.com>
  • 📰 All apps and the blog: <https://elffuss.utopiaia.com>