r/OpenSourceeAI • u/Ok-Investment-300 • 3h ago
I open-sourced my JARVIS (Apache-2.0, 2,100+ tests). It still works best on a closed model, and I want your help fixing that.
I wanted JARVIS, so I built one. It's called Tactwell: one assistant for your home, your health and your day. It runs on your own PC and opens in the browser. Chat, reminders, tasks, smart home through Home Assistant, and health imports from Apple Health, WHOOP and Garmin. Apache-2.0, one developer.
The uncomfortable part first: the good brain is a hosted model (Claude, on your own API key). The local brain exists, and it's the weakest thing in the repo. So I'm bringing it to the people who run local models for fun.
What the local path does today:
- It talks to an OpenAI-compatible endpoint. Ollama is the default, and llama.cpp's server, LM Studio and vLLM speak the same API.
- A model with a 16k or bigger context gets 38 core tools instead of all 175, so a laptop has a chance. Smaller models get plain chat plus a few facts about your tasks, reminders and house.
- Local and hosted turns share one conversation history, so the two can take turns in the same thread.
- Tool calling on local models is not verified. llama3.2 at 16k used the tools badly. The Modelfile in the repo targets gpt-oss:20b.
- The whole local engine is one file under 500 lines: basil/brain/local_engine.py. (The code still says "basil". That was the working name.)
Worth stealing even if you never run it:
- A test that runs a fresh install's scheduled jobs and fails if anything outside your PC is contacted.
- Prompt-injection handling: once a turn has read outside text (mail, web pages, MCP), anything that changes state waits for your own words. There's a 250-case injection corpus in evals/.
- Unlocking a door or opening the garage never runs on the first ask, and never from a schedule or an automation.
- Skills the assistant writes for itself are AST-checked, held until you approve them, pinned by SHA-256 and run in a separate process. The docs say plainly that this is not a real sandbox.
- Every device sits behind an interface with a simulator, so the whole suite runs on a fake model. No key, no network, no hardware.
- Memory is SQLite plus hashed n-gram vectors. No embedding model to download.
What's rough: it's a Windows beta, and Linux runs from source. No real Home Assistant, microphone or camera has touched it yet. It's about 93k lines of Python from one person leaning hard on AI coding tools, which is exactly why there are 2,100+ tests.
What's I'm asking for:
- Point it at your local model and tell me which ones can actually drive the tool belt.
- Try to break the injection gate.
- Read ARCHITECTURE.md and tell me what you'd rip out.
Code: https://github.com/benkilcoyne10-dev/tactwell
Windows beta: https://github.com/benkilcoyne10-dev/tactwell/releases/tag/v0.1.1-beta.1
I'll answer everything here. Roasts count as feedback.


