Blog | Hokstad Consulting

Blog

LLM Capacity Planning: Forecasting Peak Token Demand

Size and test LLM infrastructure for peak token demand—measure input/output tokens, forecast peaks, set headroom and verify failover.

Read more

How Continuous Token Batching Schedules LLM Requests

Explains how continuous token batching schedules LLM requests: admission rules, KV‑cache and token budgets, prefill vs decode, and throughput‑latency trade-offs.

Read more

How Index Compaction Cuts Vector Database Storage

Safe compaction steps to reclaim vector database disk space while preserving RAG quality and performance.

Read more

AI Agent Config Portability: How Teams Protect Secrets

Export agent configs with symbolic secret references; approve access per environment, test runtime resolution, and never move credentials.

Read more

AI Chat & API Feedback: How Data Sharing Rules Differ

Turning off model training won't stop feedback from exposing conversations—check what ratings, bug reports and support submissions send.

Read more

Tree-of-Thought Reasoning: Agent Planning Basics

Guide to Tree‑of‑Thought agent planning: generate, score and verify candidate plans, enforce execution gates and measure cost.

Read more

AI Agent Memory: Tenant Isolation Test Checklist

One leaked memory ID can break tenant isolation. Test every read, write, cache and recovery path for AI agent memory.

Read more

AI Policy Tests: CI/CD Checks for Prompt Injection

Implement CI/CD tests to detect prompt injection, block secret leaks and unauthorised tool actions; gate releases on critical failures.

Read more

SageMaker Scale Down to Zero: Inference Cost Guide

Compare Serverless, Asynchronous and Inference Components to reduce SageMaker idle inference costs and test recovery and quotas in the UK.

Read more

AI Agent Code Changes: Review and Approval Boundaries

Limit AI agents to scoped access; require PRs, independent human approval tied to the exact commit, and protected audit logs.

Read more

Agent Handoffs: How Traces Reveal Context Loss

Use privacy-safe traces and versioned handoff contracts to detect lost facts, measure context completeness and block unsupported decisions.

Read more

AI Agent Plan Validation: 7 Checks Before Execution

Seven mandatory checks to validate AI agent plans—goals, dependencies, tools, order, budget, time and approvals—before execution.

Read more