Blog | Hokstad Consulting

Blog

Conditional Parallel Tool Execution: Agent Pattern

Run independent tool calls concurrently with permission checks, timeouts and safe retries to cut latency while preserving state.

Read more

RAG Context Compression: Token Savings vs Lost Detail

Compare extractive trimming and generated summaries in RAG pipelines, balancing token cost, latency and evidence fidelity.

Read more

Progressive Perturbation for Backdoor Sample Screening

Flag potential poisoned training samples with controlled, label‑preserving perturbations, calibrated on clean data and routed for human review.

Read more

Building AI Agent Message Flows with Azure Service Bus

Set up queues, topics and versioned message contracts for session-ordered AI agent workflows with retries, security and dead-letter recovery.

Read more

AI Model Extraction Tests: Rate Limits and Alerts

Test rate limits, detection and user impact to measure, tune and retest defences against distributed AI model extraction.

Read more

Spectral Signatures in Backdoor Attacks: Study Review

Explains spectral scoring to flag poisoned training samples, its limits, and why testing filter-and-retrain on your data is essential.

Read more

AI Agent Fan-In: Resolving Conflicting Results

Match fan-in to conflict: rules for structured data, rank evidence for facts, use synthesis for interpretation, and surface uncertainty.

Read more

SharePoint Repository Connectors for AI Agents

Deploy a read-only SharePoint connector for AI agents with access checks, minimal Graph permissions, cited retrieval and testing.

Read more

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