Blog | Hokstad Consulting

Blog

Chain-of-Verification Prompts: 4 Steps for LLM Checks

Four-step CoVe method: draft claims, create neutral checks, run isolated evidence-based checks and revise with uncertainty noted.

Read more

AI Agent Token Usage and Cost Tracking

Track every model call, normalise tokens, convert rates to GBP, attribute costs to tasks and monitor spend.

Read more

Self-Consistency Prompts: How Majority Voting Works

Use self-consistency: sample varied LLM answers, normalise final responses, count votes and independently verify the leading answer.

Read more

How AI Agent Iteration Limits Support Cost Control

Use iteration, token and spend caps plus atomic budget reservation to stop agent loops and control AI costs.

Read more

LLM Spending Limits: Hard Caps vs Soft Alerts

Compare hard caps and soft alerts for LLM budgets, with thresholds, reservations, fallbacks and enforcement guidance.

Read more

Securing Agentic AI: Cloud Security Training Guide

UK cloud team checklist for securing agentic AI: identity, least privilege, sandboxing, approvals and tamper‑evident logs.

Read more

Prompt Versioning Tools: 7 Checks Before Selection

Test prompt versioning tools against seven mandatory controls—immutable history, diffs, release labels, rollback, approvals, environment isolation and auditability.

Read more

How to Detect RAG Index Drift After Document Changes

Compare source snapshots with the published index, validate chunk and embedding hashes, run retrieval tests, and republish fixes to stop RAG drift.

Read more

AI Agent Costs: Why Cost per Successful Task Matters

Measure AI agent cost as total delivery spend / accepted tasks — include retries, tools and human review to reveal true per-task cost.

Read more

How to Build AI Agent Flows with Conditional Routing

Build deterministic AI agent workflows using shared state, ordered checks and three clear exits: SUCCESS, RETRY or ESCALATE.

Read more

AI Vision Links Business Goals to Delivery: 5 Steps

Turn one business goal into a controlled AI pilot in five steps: define outcome, rank use cases, check readiness, assign owners and plan delivery.

Read more

AI Agent Workflows: How Saved States Support Recovery

Save durable checkpoints, replay recorded results and use idempotency to recover AI agent workflows without duplicating external actions.

Read more