Skip to content
All projects

Case study 03AI · Automation · Interface

Personal AI Assistant

An assistant that does things, not just answers.

A custom AI assistant with a reactive, systems-style interface. It routes intent, calls tools, remembers context and automates the small workflows that eat a day.

Role
Design and engineering — architecture, orchestration, interface
Platform
Desktop & web
Stack
PythonLLM tool callingRAGSpeech I/OWebSocketWeb UI
Links
Private project — demo on request

What it does

  • Tool-calling orchestration with an explicit allowlist
  • Short-term context plus retrieval over personal knowledge
  • Streaming, state-driven interface: idle · listening · thinking · acting
  • Automations that run on schedule or on request
ai-assistant / hud

Overview

A personal assistant inspired by the intelligent-assistant systems of film, built to be genuinely useful rather than theatrical. The interface communicates what the system is doing at every moment; the backend turns language into actions through a controlled set of tools.

Problem

General chat assistants answer well but act poorly: they don't know your context, can't touch your tools, and give no sense of what they're doing while they work.

Goals

  1. Turn natural language into real actions safely
  2. Remember relevant context across sessions
  3. Make latency feel like progress, not waiting
  4. Keep the architecture modular so new tools are cheap to add

My role

Design and engineering — architecture, orchestration, interface.

  • Assistant architecture and orchestration loop
  • Tool design, permissioning and error handling
  • Memory and retrieval pipeline
  • Interface design and realtime state visualisation

Technology

Core
PythonAsync orchestration
Intelligence
LLM APIsTool callingRAGEmbeddings
Interface
Web UIWebSocket streamingSpeech-to-textText-to-speech

Architecture

A small orchestrator sits between the interface and the model. The model proposes; the orchestrator decides what actually runs.

  1. Interface

    Voice or text in; streamed tokens and state changes out over WebSocket

  2. Orchestrator

    Conversation state, intent routing, retries and timeouts

  3. LLM + tools

    Model selects from an allowlisted tool registry with typed arguments

  4. Memory

    Rolling summary for short-term context, retrieval for long-term knowledge

  5. Automations

    Scheduled and on-demand workflows reuse the same tool layer

Challenges & solutions

Latency is the user experience

Challenge

Multi-step tool use can take seconds. A silent screen makes a capable system feel broken.

Solution

Stream everything: tokens, tool calls and state transitions. The interface maps each state to a distinct visual so waiting reads as work happening.

Letting a model act safely

Challenge

An LLM with unrestricted tools is one misread instruction away from doing damage.

Solution

Typed, allowlisted tools with validation, and an explicit confirmation step for anything destructive or outward-facing.

Context that scales

Challenge

Stuffing full history into every request is slow, expensive and eventually impossible.

Solution

A rolling conversation summary plus retrieval over personal notes, so each request carries only what's relevant.

Screens

  • ai-assistant / hud
    a.System view — state, tools and memory in one frame
  • ai-assistant / chat
    b.Conversation with visible tool calls

Results

  • A working assistant used for real daily workflows
  • A modular tool layer where adding a capability is a small, isolated change
  • An interface that makes the system's state legible at a glance

Lessons learned

“The orchestrator matters more than the prompt.”

“Visible state builds more trust than faster answers.”

“Design tools for the model like you design APIs for people: small, typed, forgiving.”