Connected the redesigned interface to Local’s backend, tested core functionality, and identified bugs for further refinement.
Local Agent
Homegrown Intelligence
Meet Local — an experiment in building a private, locally run AI agent around my own tools, data, and workflows.
For the clearest view of the interface, watch this demonstration on a computer.
Built for the real world.
Making a smaller local model useful on consumer hardware.
Local uses Python tools to work with knowledge, tasks, calendars and email. The model handles language and interpretation while the surrounding application manages persistent data, tool access and reviewable actions. This separation lets me change models without rebuilding the rest of the system.
Keep local and cloud models separate.
Use cloud models when more advanced reasoning is needed, but decide myself what context crosses between them.
Build for a personal computer.
Design around hardware I can realistically own and run at home.
Keep models replaceable.
Store knowledge, memory and tools outside the model so I can change models without rebuilding the agent.
Solve real problems without outsourcing judgment.
Build around what gets in my way. Let Local notice and suggest, while meaningful decisions remain mine.
Hardware
Limited resources.
The model shares RAM and VRAM with everything else on my computer. I prioritize improving efficiency before upgrading hardware.
Availability
Not always on.
When my computer sleeps, Local is unavailable. I accept that instead of maintaining a permanent server.
Maintenance
Keeping it simple.
Modular architecture helps me maintain and extend Local without spending excessive time on upkeep.
Access should be deliberate.
Keeping inference local is an important starting point but not a complete security model.
Local runs its language model through Ollama on my computer. Connecting to Gmail or Google Calendar still involves external services, so the important questions are what the tools can access, what information is shared, and which actions require confirmation.
Engineering principle
Language-model output is not a permission system. Sensitive operations should be constrained by code and explicit user decisions, not by the model's confidence. This is an evolving personal prototype, not a claim of completed security certification.
What changed along the way.
It started in a terminal.
The first version ran local inference through Ollama and used a Python tool to search personal knowledge. No desktop interface yet.
Evidence, not just a demo
Evaluation & results.
A small, deliberately practical test suite helped me decide what to improve, including when a correct action was paired with an incorrect explanation.
I tested Local on questions and actions drawn from its intended use: retrieving files, resisting false premises, creating tasks, interpreting calendars, and summarizing emails.
Each recorded result is scored:
- 1 — Correct and grounded
- 0.5 — Partially correct
- 0 — Incorrect, fabricated, or failed
These are individual development checkpoints, not statistically measured reliability rates. The test suite expanded as new capabilities were introduced.
Latest capability scores
One recorded evaluation per capability on a 0–1 scale.
A score of 1 means the tested response passed, not that the capability works perfectly every time.
The test cases
| ID / capability | Test prompt | Expected behaviour | Source |
|---|---|---|---|
| 01 File retrieval | What did I change in v2.0 of my website? | Summarize navigation, layout and project presentation updates. | Personal website.md |
| 02 False retrieval | What is Project Aurora? | Report that no matching information was found; do not invent details. | No matching document |
| 03 Task creation | Add a task to review my portfolio. | Create exactly one task with status Not Started and confirm accurately. | Tasks database |
| 04 Calendar lookup | What's on my calendar on Sep 9? | Find a 10 a.m. meeting and an all-day birthday. | Google Calendar |
| 05 Scheduling | Can I meet for 1 hour at 2 PM on Oct 20? | Recognize availability while flagging the next-day in-person spacing preference, not a timed overlap. | Google Calendar |
| 06 Mail retrieval | What did Alex say about the website? | Summarize the relevant email without unsupported inferences. | Website Feedback email |
Recorded scores
| Scenario | Oct 8Gemma | Oct 13Gemma | Oct 13Qwen3 | Oct 23Qwen3 | Oct 27Qwen3 |
|---|---|---|---|---|---|
| 01 · File retrieval | 0 | 0 | 0.5 | 1 | 0.5 |
| 02 · False retrieval | 0 | 0 | 1 | 1 | 1 |
| 03 · Task creation | — | 1 | 1 | 0.5 | 1 |
| 04 · Calendar lookup | — | — | — | 0.5 | 1 |
| 05 · Scheduling | — | — | — | 0.5 | 0.5 |
| 06 · Mail retrieval | — | — | — | 0 | 1 |
— = not yet tested. Scores reflect the behaviour of Local at each checkpoint, not an isolated model benchmark.
What the tests revealed
Useful data points.
The switch from Gemma to Qwen3 on October 13 followed repeated retrieval failures. Later tests surfaced different problems: incomplete answers, incorrect reporting of completed actions, and scheduling judgments that treated a preference as a conflict.
Document retrieval failures and invented details prompted a change in model.
Found the relevant document but returned only part of the requested information.
Created the task successfully but incorrectly told the user the action had failed.
Identified calendar events but confused a spacing preference with a conflict.
Task creation and mail retrieval scored fully; file retrieval and scheduling remained partially correct.
Project Log
Developed a new PySide6 interface with animated navigation, resizable multi-panel workspaces, improved chat functionality, and integrated approval dialogs.
Integrated Gmail and Google Calendar across multiple accounts, added email retrieval and batch summarization, implemented calendar event management, and refined approval-based workflows and persistent memory.
Moved from Gemma to Qwen3 after retrieval failures, implemented persistent memory, and integrated Obsidian task management with natural-language creation, retrieval, and classification.
Integrated Gemma 4 via local Ollama inference, built a Python tool-calling agent with limited file access, and developed a PySide6 desktop interface with SQLite conversation history, automatic titles, chat management, and Markdown rendering.
Established the initial goals, parameters, and constraints for a local agent.





