Contents

My AI Productivity: Managing Models, Hardware, and Risk

Over the past year, AI has quietly moved from an occasional chat tab to the center of my daily workspace. I rely on it to automate research, run continuous investigations, and speed up software development. When it works, it feels like having a tireless pair of hands.

But adopting AI at that level quickly exposed three real problems:

  1. It gets expensive fast. Continuous investigations, multi-file code reviews, and agentic loops burn through tokens before you even notice.
  2. It is often restricted. Cloud providers come with rate limits, usage caps, and policy guardrails that can block legitimate security or research workflows right in the middle of a task.
  3. It is risky. Sending sensitive code or investigation artifacts to external APIs, letting agents execute commands, or running untrusted samples without visibility can easily turn a productivity boost into a liability.

This post is about how I addressed those three problems in practice—by using Dashy as a central command center, routing work intentionally across local and cloud models, isolating risky tasks in sandboxes, and keeping an eye on everything from one screen.


1. Managing My Workspace with Dashy

When you’re juggling local LLMs, cloud APIs, coding agents, and VMs, half the friction is just keeping track of what’s running and where to go next. I wanted a single starting point where I could check my machine’s health, see which models are active, and jump straight into the right tool.

I run Dashy in Docker as a declarative, version-controlled dashboard. On one screen, it brings together two things I rely on all day:

  • Live Observability: Real-time hardware metrics, active local LLM status, sandbox VM health, and a quick-reference Preferred Models matrix.
  • Quick-Launch Workspaces:
    • Local Infrastructure: Portainer for container management, Glances for deeper system inspection, LiteLLM Proxy for model routing and spend tracking, and Cline Kanban for managing coding agent tasks.
    • Security & OSINT Tools: Direct links to daily investigation utilities like CyberChef, VirusTotal, MITRE ATT&CK, and Exploit Database.

Having everything organized in one place removes the constant context-switching between terminals, browser tabs, and admin panels.

/posts/my-ai-productivity/images/dashy-dashboard.jpg


2. What AI Models I Use (And Why)

Relying on a single flagship cloud model for everything is the fastest way to hit both budget ceilings and rate limits. Instead, I treat models like specialized tools and pull them from three places—local Ollama, cloud APIs routed through LiteLLM Proxy (OpenRouter and Anthropic), and my IDE/CLI agent—matching each task to the cheapest, least-restricted option that can handle it well.

2.1 Preferred Models & Task Mapping

I keep a curated set of preferred models across my setup, and to keep things focused, here are five picks from different providers that show how I split the work:

  1. Local Tool-Calling & Monitoring (mistral-small3.2:24b / thinkingcap-26b via Ollama): My local models are my workhorses for running tools directly on my system and handling active monitoring—like watching a fuzzing monitor or summarizing local logs—where I want zero per-token cost, zero external data exposure, and no cloud guardrails getting in the way.
  2. Large-Scale Vulnerability Analysis (qwen/qwen3.7-flash via OpenRouter): When I need to analyze a codebase for vulnerabilities, this open-weight model gives me a massive context window at ultra-low cost. I use it for full-repo ingestion, entry-point discovery, and flagging suspicious code paths before spending heavier compute.
  3. Exploit Generation & Deep Reasoning (claude-mythos-5-2 via Anthropic): I reserve flagship Anthropic models for the hardest, highest-stakes problems—like exploit generation, complex attack-chain reasoning, and deep architectural analysis where accuracy matters more than token price.
  4. Zero-Cost Auditing & Reporting (google/gemma-4-31b-it:free via OpenRouter): For ad-hoc file checks, PR sanity checks, and writing or polishing investigation reports, I either lean on a local model or route to a free OpenRouter tier so routine writing and review never eat into my paid budget.
  5. Agentic Development & Orchestration (Gemini 4 Hydrogen via Antigravity): Inside my IDE and CLI, this is my primary coding agent for building features, wiring up automation scripts, and coordinating multi-step development tasks.

2.2 Unified Routing with LiteLLM

By putting LiteLLM Proxy (backed by PostgreSQL) in front of both my local Ollama models and cloud providers, every tool talks to one unified endpoint—giving me centralized spend tracking and automatic retries without reconfiguring each client. I’ll dive deeper into how I actually use and monitor LiteLLM in my setup later in this post.


3. Monitoring Hardware and Sandboxes

Running models locally solves the restriction and privacy problem, but it introduces two real anxieties: Am I burning out my hardware? and Is an untrusted task about to affect my main system?

3.1 Watching Hardware & GPU Load

When AI workloads run continuously, putting heavy pressure on the CPU, RAM, and especially the GPU becomes a daily reality. What I care about most is knowing immediately if I am burning my hardware too much—whether that means sustained high temperatures, fan ramp-ups, saturated CPU cores, or maxing out VRAM.

I run Glances to monitor CPU, memory, system load, and NVIDIA GPU metrics (compute usage, VRAM, temperature, and fan speed). Dashy pulls those metrics directly into dashboard widgets, so I can spot thermal pressure or VRAM saturation at a glance without having to open a terminal—and when I need deeper detail on running containers or tasks, I can jump straight into the full Glances UI.

/posts/my-ai-productivity/images/glances-containers.jpg

3.2 Tracking Active & Stuck Models

Standard system monitors can tell you how much VRAM is used, but not which model is loaded, whether it is stuck, or if some background process is unintentionally using it.

To close that gap, I built a lightweight Python exporter that queries Ollama’s running-models API and feeds an embedded status panel in Dashy. At a glance, it shows me:

  • The exact model loaded and its context size.
  • Memory footprint and GPU/CPU split, so I can tell immediately if a model silently spilled over onto the CPU.
  • The keep-alive countdown before it unloads from VRAM.

That live view is my early-warning system. If I am not actively prompting anything and see a large model still pinned in VRAM—or notice its countdown resetting—I know right away that a request is stuck or another tool is unintentionally hitting Ollama in the background.

3.3 Isolating Risk: VMs vs. Containers

Alongside keeping my hardware healthy, my biggest concern is protecting my main host system when investigating malicious binaries, auditing untrusted codebases, or experimenting with new tooling. Rather than using one hammer for everything, I split isolation into two methods depending on the risk:

  • Multipass VMs for Untrusted Components & Malware Investigation: Whenever I am investigating a suspicious binary or an untrusted codebase, I use an isolated Multipass VM. It gives me a separate kernel and strong hypervisor-level isolation from my main OS, clean disposable environments I can wipe or snapshot, and strict CPU, memory, and disk boundaries. The same custom exporter pulls multipass info onto Dashy so I can watch VM health and resource headroom without switching windows.
  • Containers for Risky or Experimental Development: When I am developing something that isn’t malicious, but could still affect other parts of my system—like avoiding library dependency conflicts, preventing an experimental tool or coding agent from accessing unintended host files, or isolating background services—I use Docker containers (managed via Portainer and monitored in Glances). Containers are lightweight, spin up in seconds, keep libraries and filesystems cleanly separated from the host, and let me tear down or recreate an entire stack cleanly without the resource overhead of a full VM.

Having both options—VMs for untrusted execution and containers for messy development—lets me move fast without putting my daily workstation at risk.


4. Spend Control & Agent Orchestration

Once you have multiple models and autonomous coding agents running, you need two things: a way to govern and audit every LLM call, and a way to keep agent tasks organized. That is where LiteLLM Proxy and Cline (paired with Cline Kanban) fit in.

4.1 LiteLLM Logs & Spend Tracking

Instead of handing raw OpenRouter or Anthropic API keys to every tool, I point all of my clients and agents to a local LiteLLM Proxy instance backed by PostgreSQL. This gives me a single control point for model routing, virtual keys, and real-time observability.

In the LiteLLM Logs UI, I can watch requests with Live Tail and immediately see:

  • Status & Failures: Whether a call succeeded or failed, making it easy to spot broken routes or rate-limit errors.
  • Per-Request Cost: Exact spend per call (down to fractions of a cent on cheap flash models, or zero for local Ollama models).
  • Duration & TTFT (Time To First Token): How long a model took to start responding versus finish—which quickly reveals if a local model is sluggish or a cloud endpoint is stalling.
  • Privacy by Default: I configure LiteLLM with message payload logging disabled, so I get full telemetry (session ID, request ID, status, cost, and latency) without persisting sensitive prompts or source code in the database.

/posts/my-ai-productivity/images/litellm-logs.jpg

Keeping an eye on token burn like this isn’t just about protecting my wallet—it’s also a small way to avoid wasting compute and save the environment.

4.2 Cline & Cline Kanban

As an example agent in this setup, I use Cline for coding and investigation tasks, guided by shared rules and workflows. To keep multi-step work from turning into scattered chat threads, I pair it with Cline Kanban (linked right from Dashy) to track parallel tasks on a visual board. Since Cline routes through LiteLLM Proxy, every task’s token spend and latency is automatically captured in the same logs.

/posts/my-ai-productivity/images/cline-kanban.jpg

4.3 Custom DSPy Agents

For tailored research or investigation pipelines, I also write my own agents—mostly using the DSPy framework. Each agent authenticates with a scoped virtual key from LiteLLM instead of raw provider keys, letting me cap spend per agent while orchestrating models across different providers (such as scanning a codebase for suspicious entry points with a fast flash model, then handing off those paths to a stronger reasoning model for vulnerability triage) under one unified audit trail.


5. Documentation & Research

All of this research, investigation, and development only pays off if the findings are captured cleanly. I keep my knowledge base local-first using Obsidian for writing reports, investigation logs, and technical drafts (including this post), paired with Zotero to organize papers, advisories, and references.

Because my notes live in plain Markdown on disk and my references stay structured in Zotero, AI tools can help summarize, cross-reference, or polish reports without locking my work into a proprietary cloud workspace—and without sending sensitive investigation notes anywhere they don’t belong.


Wrapping Up

Bringing AI deep into a daily workflow doesn’t mean blindly handing everything over to the most expensive cloud model. For me, making it sustainable came down to solving three practical problems at once:

  • Cost: Routing routine work to local Ollama models and low-cost flash tiers, while using LiteLLM virtual keys and live spend logs to catch runaway loops early (and avoid wasting compute).
  • Restrictions: Keeping local models ready for unrestricted research and tool-calling, while choosing the right cloud model only when a task genuinely needs it.
  • Risk: Monitoring GPU/system health and active models in real time, isolating untrusted investigations in Multipass VMs and experimental dev in containers, disabling payload logging in LiteLLM, and keeping notes local in Obsidian and Zotero.

With Dashy tying the whole stack together on one screen—and a single startup script to bring everything up and verify health—AI feels less like an unpredictable black box and more like a reliable part of my workspace.