Hi everyone,
I'm working on a personal project called J.A.R.V.I.S., inspired by the idea of having a genuinely useful personal AI assistant running entirely on my own hardware.
I'm a hobbyist, not a professional AI engineer, and I'm developing the project with the help of ChatGPT and Codex.
I'm not trying to build another chatbot or just a fancy interface around Ollama. My long-term goal is an assistant capable of:
- Maintaining persistent memory across conversations.
- Learning and updating personal preferences.
- Following long-term projects.
- Managing emails, calendars and documents.
- Interacting with my Windows PC.
- Executing tools with configurable permissions.
- Becoming proactive through scheduled tasks.
- Eventually integrating voice control and Home Assistant.
- Being accessible from my iPhone while running on my PC.
Everything should run locally whenever possible, without relying on paid inference APIs.
My hardware
- AMD Ryzen 5 9600X
- AMD Radeon RX 7900 XT — 20 GB VRAM
- 32 GB DDR5 6000 MHz
- Windows
- SSD storage
Currently testing:
- GPT-OSS 20B
- Qwen3 14B
- Ollama as the inference provider
Current architecture
I initially built a prototype but eventually decided to restart because the memory and tool execution layers were becoming increasingly unreliable.
The current version uses:
- Python and FastAPI.
- Native Ollama tool calling.
- A custom, minimal Agent Core.
- SQLite as the canonical source of truth.
- A separate Memory Engine.
- FTS5 with aliases for memory retrieval.
- Stable memory IDs, revision history and temporal validity.
- Backend-enforced permissions.
- Explicit confirmation before persistent writes.
- Transactional operations and verified execution receipts.
- A local browser interface.
The model interprets requests and proposes actions, while the backend validates and executes them.
I deliberately avoid letting the model directly modify the database or claim that an operation succeeded without verification.
The problem
The Agent Core worked quite well with a synthetic catalog. Both models could retrieve data, propose multiple changes, handle ambiguous requests and respect authorization boundaries.
However, implementing actual persistent memory has been much more challenging.
Our development tests looked promising:
- 68/68 deterministic tests passed.
- 26/26 previous Agent Core regression tests passed.
- GPT-OSS successfully completed memory update scenarios across separate conversations and backend restarts.
Then we ran an independent evaluation using 24 scenarios that were prepared before implementation and kept hidden from the coding agent until the candidate build was frozen.
Each scenario is repeated three times per model.
The preliminary results are disappointing:
- GPT-OSS 20B: only 28/72 fully successful scenarios.
- Qwen3 14B: evaluation still in progress.
- FTS5 development sample Recall@5: 83.3%.
- Average retrieval precision: 72.5%.
- Italian paraphrase retrieval: 5/7.
We're currently investigating whether the failures come from the model, tool selection, memory retrieval, the validation layer or a combination of these.
Some requests apparently never reach the memory search tool. Others invoke it but fail to retrieve the expected information.
What I'm trying to achieve
A simple example:
I tell the assistant that I prefer working on a project on Mondays and Thursdays.
Days later, in a different conversation, I explain that my schedule has changed and that I now prefer Tuesdays and Fridays.
The assistant should understand that this is an update to an existing memory, not a completely unrelated new fact.
It should preserve the previous revision, retrieve the current preference reliably and understand paraphrased questions without requiring me to use specific commands.
That sounds relatively simple, but making it consistently reliable has been difficult.
Questions for experienced developers
- Would you keep the custom Agent Core, or would you adopt an existing framework such as Letta, LangGraph, Mem0 or PydanticAI?
- How would you design a reliable memory layer for a local personal assistant that needs to update, contradict and forget information over time?
- Would you recommend combining SQLite FTS5 with local embeddings and reranking? Which multilingual embedding models would you consider for Italian conversations?
- Should memory retrieval be initiated by the LLM through tool calling, performed automatically by the backend, or use a hybrid approach?
- Is a 4K context window too restrictive for this kind of agent? What context size would you recommend with my hardware?
- Are GPT-OSS 20B and Qwen3 14B reasonable choices for this project, or should I consider other models that fit within 20 GB VRAM?
- Has anyone successfully built something similar that remains reliable outside carefully designed demos?
I'm particularly interested in real-world experiences, architectural mistakes to avoid, existing open-source projects and practical benchmarks.
I'm not selling anything, and I'm not trying to promote a product. I genuinely want to learn from people who have already tackled these problems before investing more time in the wrong architecture.
Any suggestions or constructive criticism would be greatly appreciated.
English is not my native language. I used ChatGPT to help draft and translate this post.