JOURNAL // TEKNISKA ANTECKNINGAR

Blogg

Fältanteckningar om native iOS-utveckling, webbprodukter och att leverera med säkerhet.

AI agent tool call logging: what to record, how to replay and how to review failures

Log every AI agent tool call as one structured record, keep both failure channels, redact arguments, replay recorded results and review by failure class.

ai agentsLäs artikel

Prompt injection in AI agents and how to contain it, 2026

Prompt injection is untrusted text that tries to override an agent's instructions. You cannot fully prevent it, so you limit what a hijacked agent can reach and do.

ai agentsLäs artikel

Autonomous vs assisted AI: which one your workflow needs, 2026

Assisted AI follows steps you define. Autonomous AI chooses its own. Use the least autonomy that works, then add more only when measured gains justify it.

ai agentsLäs artikel

LLM API data privacy in 2026: zero retention, residency and vendor terms

Both major vendors keep API data for up to 30 days by default. Zero retention needs approval, covers only some endpoints, and residency splits storage from processing.

ai agentsLäs artikel

Human in the loop AI: which agent actions need a person, 2026

Gate AI agent actions by reversibility: let reads run, log reversible writes, and require a person for sends, spend, deletes and publishing.

ai agentsLäs artikel

AI agent cost control: tokens, caching and model routing, 2026

AI agent cost comes from resent context and output tokens. Cache the stable prefix, trim context and route each step to the cheapest model that passes.

ai agentsLäs artikel

How to build an eval set for an LLM feature before you ship

Build an LLM eval set before launch: define measurable criteria, mine real cases, add edge cases, validate your grader and gate releases by severity.

ai agentsLäs artikel

Choosing an LLM for a product feature: quality, latency and cost tradeoffs

The right model for a feature is set by its quality bar, latency budget and cost ceiling, not by which model ranks highest overall.

ai agentsweb developmentLäs artikel

How AI content engines work, and where the quality gate goes

An AI content engine runs research, outline, draft and review as separate stages. The quality gate belongs before publish, not after.

ai agentsaeoseoLäs artikel

How to scope an AI workflow automation project

A practical method for scoping an AI workflow automation project: map the process by hand, sort each step into three buckets, and gate what can't be undone.

ai agentsLäs artikel

AI agent guardrails: permissions, approval gates and audit logs

AI agent guardrails are permission scopes, approval gates and audit logs enforced outside the model. Here is how to set them up, and where teams go wrong.

ai agentsLäs artikel

What is RAG (retrieval-augmented generation), and why support and sales assistants need it

RAG lets an AI assistant answer from your real documents, not a guess. Here is how it works, and why support and sales bots need it.

ai agentsLäs artikel

What is MCP (Model Context Protocol), and how do AI agents use it to connect to tools

MCP is Anthropic's open standard, launched in November 2024, for connecting AI agents to outside tools and data through one consistent interface.

ai agentsweb developmentLäs artikel

What is an AI agent? A plain-English definition for business owners

An AI agent is software that pursues a goal and completes multi-step tasks using tools, with real autonomy, unlike a chatbot that only answers questions.

ai agentsLäs artikel