Soviture Engineering Blog

Engineering Private AI

Notes on running a language model on hardware you control: what breaks in practice, which parts of the stack matter when documents cannot leave the building, and where the trade-offs sit. These are design notes, not client case studies.

1. Our Technical Writing Philosophy

Every post on this engineering blog is grounded in three straightforward questions:

  1. What goes wrong without this? The concrete operational or regulatory failure mode in production.
  2. How does it work? The architectural mechanics, data flows, and code that solve the problem.
  3. What changes when it runs on private hardware? Why running on your own physical PCIe cards and local RAM alters the trade-offs compared to public hyperscale clouds.

Practical engineering notes

We do not write generic "introduction to agents" articles. These posts set out concrete engineering approaches for CTOs, IT leads and systems engineers who need document retrieval with inspectable sources behind their own firewall.

3. Series 1: Keeping It Safe

Data protection is the primary driver for private AI adoption across Ireland and the EU. This series covers security boundaries on local infrastructure.

# Topic Architectural Focus
1 PII Unmasking Proxy Ephemeral token substitution in local RAM. Architectural design for data minimisation. (Published)
2 Inter-Agent Sanitization Proxy Preventing indirect prompt injection between autonomous agents and scoping tool capabilities.
3 Raw MCP Server & Client Connecting local language models to internal databases via strict JSON-RPC without wrapper bloat.

4. Series 2: Keeping It Cheap

On-site hardware is a fixed capital cost. This series examines how to maximize inference density and GPU throughput without over-specifying hardware.

# Topic Architectural Focus
4 System-One Triage Router Evaluating when a smaller model can handle routine queries and when a larger model is needed.
5 Cost Kill-Switch & Degradation Chain Bounding recursion loops with defined state transitions on local compute.
6 Dynamic Context Assembler Strict token allocation between retrieved passages, system instructions, and tool schemas.

5. Series 3: Making It Reliable

These topics examine predictable workflow control, fault handling and verification; model outputs still require evaluation.

# Topic Architectural Focus
7 Durable State Machine Workflows Agent execution with persistent checkpointing, transactional rollbacks, and human sign-off steps.
8 Retrieval Verification Pipeline Hybrid search with local relevance grading and non-answers when evidence is missing. (Published note)
9 Computer-Use Fallback Automation Automating legacy enterprise software lacking modern REST APIs via local headless browser drivers.

6. Series 4: Making It Better Over Time

How local models can be adapted to organisational terminology, with data handling and evaluation considered explicitly.

# Topic Architectural Focus
10 3-Tier Memory Engine Managing ephemeral scratchpads, user session digests, and persistent vector recall.
11 DPO Feedback Flywheel Converting internal user corrections into local Direct Preference Optimization (DPO) datasets.
12 Shadow Routing Comparator Mirroring production queries to benchmark candidate model upgrades without user disruption.
13 Trajectory CI Gates Continuous integration pipelines evaluating agent tool-calling paths against regression benchmarks.

7. Series 5: System Teardowns

Possible teardown topics include hardware selection, thermal constraints and network topology.

  • Real-Time Low-Latency Voice Loop: Voice activity detection and the latency trade-offs in a local streaming voice workflow.
  • 2U Office Deployment: NVMe partitioning, thermals and fan noise in a comms cabinet.
  • 4U Industrial Deployment: Multi-GPU placement and air-gapped SCADA isolation.