Welcome To Project Tali - My Local-First AI Control Plane

I have been building something for the last few weeks that I think is interesting enough to share. Now this is not because it is finished, rather because the underlying idea is one I think deserves to be explored.
So what is Project Tali I hear you ask?! Inspiration for the project name came from Tali'Zorah is a fictional character from the Mass Effect universe, known as a highly skilled engineer, systems specialist and technical problem solver. She is part of the Quarian people, a nomadic civilisation that relies heavily on technology, fleet operations and adaptive engineering to survive. Throughout the series, Tali is consistently portrayed as intelligent, analytical, dependable and quietly capable, often solving complex operational and technical challenges behind the scenes rather than seeking attention or authority (all of which hugely resonate with myself).
Those characteristics make her a strong inspiration for Project_Tali. The platform is intended to act as an intelligent operational environment focused on orchestration, insight, augmentation and problem solving rather than simply being a chatbot or dashboard. Tali represents calm technical competence, systems thinking, resilience and trusted support within complex environments, which aligns closely with the goals and philosophy behind the project.
Project Goals
Tali is a local-first personal AI operating layer. The central premise is straightforward: AI should not be a chatbot bolted onto the side of a workflow. It should be embedded infrastructure, woven into how you actually work, with memory, context, governed behaviour and observable decision-making as foundational properties rather than afterthoughts, whith no touchpoints outside of my device, unless explicitly requested.
That sounds ambitious - and it is - but the recent move by GitHub and others in pricing/token consumption has led me to critically look at how I'm using LLMs and what in terms of my usage of these can be optimised.
Why local-first?
So, being super honest, I use LLMs for a wide variety of things, from - 'how do you run this command in Linux' to complex agentic workflows & of course, using the Microsoft Learn MCP is a daily occurance - so my intent with Project Tali is to move as much as is possible from my LLM chats and instead, do it locally with SLM's
For myself, the local-first approach also comes from a specific concern. The majority of AI tooling today routes everything to an external service by default. That means your context, your files, your working memory and your project knowledge all leave your machine before you have had a chance to consider whether that is appropriate or necessary.
Small local models have improved to the point where they can handle a significant portion of coding assistance, explanation, writing, and conversational reasoning without external calls. The economics are different. The latency is different. The privacy posture is entirely different. Running a local model on an NPU or GPU costs nothing per token and responds in seconds.
The design principle in Tali is that local should be the normal path, and escalation to larger external providers should be explicit, governed and auditable. I call the external escalation path Go Big, and it requires a deliberate choice rather than being the silent default.
How the architecture is split
One of the most important early decisions was to separate capability domains rather than build a single coupled application. Tali is structured across several areas: Tali Chat is the browser interface, Tali Runtime is the local API and orchestration layer, Tali Foundry owns model providers and prompt routing, Tali Memory owns durable inspectable memory, and Tali StakeholderMap owns graph-backed relationship intelligence. Tali Code is the longer-term direction for a local development environment built on Code OSS.
The separation matters because it determines where responsibility sits. Tali Chat does not own memory. It does not own model policy. It does not own agent orchestration. It is deliberately thin: a usable local interface over a much more important local runtime. That turned out to be a useful discipline. Every time I was tempted to embed something directly into the UI layer, separating it into the runtime forced me to think about the contract properly.
Routing is not just a setting
Tali currently supports four governed routes: fast, for lightweight local coding and explanation; deep, for repo-aware, multi-step technical work; creative, for writing, drafting and ideation; and cloud, exposed in the interface as Go Big.
The routing is not simply a dropdown that changes which model gets called. The runtime classifies the request, checks policy, chooses a route, applies route-specific limits, records an audit event and returns metadata back to the caller. Each route carries a different tool budget, different validation behaviour, different model targets and different fallback logic. A fast route allows three tool steps and one file change. A deep route allows twenty tool steps and ten file changes and requires a diff summary. The constraints are explicit and policy-controlled.
This means Tali Chat can show not just the answer but the path taken: which route, which reason, which provider, which model, which device, what validation outcome, how many tool steps, and whether a fallback occurred. Making AI behaviour observable rather than magical is one of the things I care most about in this project.
The local model story
The project started with experiments across several local model backends including Ollama and OpenVINO-oriented paths. The current architecture uses Microsoft Foundry Local as the sole active local model backend. That was a deliberate choice. Foundry Local handles hardware selection across NPU, GPU and CPU, which removes a whole class of device-specific routing decisions from Tali itself. The dynamic endpoint is discovered at startup and wired into the runtime.
The current model configuration is qwen2.5-coder-1.5b on the fast route, qwen2.5-coder-7b on the deep route, and phi-4-mini for creative and conversational work. These are not arbitrary choices, rather they reflect a trade-off between response speed, context capacity and capability for each use case. The fast model needs to respond quickly for explanation and short edits. The deep model needs headroom for multi-step reasoning. The creative model needs to handle writing prompts with coherent, natural output.
Memory as layered infrastructure
Tali Memory is not simply a vector database with a wrapper around it. The design is layered. Today it has file-backed canonical memory, episodic events, decision records, search, recall adapters, provenance, confidence and review state. The intended direction is SQLite or DuckDB for canonical and event memory, with semantic recall engines sitting behind an adapter boundary.
The important principle is that retrieval is not belief. A retrieved fragment can inform an answer, but canonical memory remains the authoritative source. Memory records include provenance and review state. Promotion into durable memory should be deliberate. Events record what happened; canonical memory records what is trusted.
Tali has already recorded its own architectural decisions in this form, including the pivot to Foundry Local, the separation of Runtime as the stable local spine, and the decision to keep GitHub Copilot as an editor-brokered Go Big provider rather than calling it directly from the runtime. These are not just documentation entries. They are memory that Tali can search, cite and use to explain why the system is shaped the way it is.
What it can do today
Tali Chat is working as a real local-first interface. It supports local session history, file attachments with extension filtering and per-route context budgets, copy buttons with optional metadata, a collapsible sidebar, route override controls for testing, and local trace filtering with JSON export for debugging. There are no external web dependencies in the front end.
The MCP layer is in place. The runtime acts as a broker for MCP servers, can discover tools, enforce route policy and audit tool calls into memory. The agent loop is bounded and policy-aware. Built-in Tali Memory tools are available as read-only agent tools, while external MCP calls are filtered by route limits.
Tali Stakeholder Map is wired through the runtime and accessible from chat. It is a graph-backed local intelligence layer for people, organisations, initiatives, topics, interactions, commitments and evidence. It is designed to sit between a contact list and a CRM: richer than the former, lighter and more contextual than the latter and in the flow of my day to day work.
What there is still to do
Honestly, quite a lot! Durable SQLite adapters for memory, richer semantic recall, stronger review queues, more complete visual graph views, deeper Tali Code integration, broader validation coverage, and a more complete agent orchestration layer are all on the list. The current stack is intentionally simple: Node.js ES modules, local HTTP servers on localhost, file-backed JSON stores, Foundry Local through an OpenAI-compatible API, and policy configuration in JSON.
If I'm being glass half full - the simplicity is a 'feature' at this stage, not a limitation. Getting the core contracts right were more important to me than optimising the implementation before the design has stabilised.
Why I am sharing this now?
Well, because the foundation is real and the concept worth discussing. The idea that AI should be observable, governed, local-first by default is super important to me - indeed everyone! Working locally I believe is something that will matter increasingly as AI becomes more expensive and of course, more deeply embedded in how organisations and individuals work.
So, Tali Chat is not another chat UI. It is the beginning of an inspectable, local-first AI control plane, and I am sharing it not for plaudits, rather to hopefully give others a frame around how I've gone about it and the inspiration to try themselves!
More to come!
#slm #llm #worklocal #secure #exploringpossiblities #projecttali #codeoss #alwayslearning #foundrylocal
Continue exploring