A practical fault-injection matrix for testing agent behavior when context, tools, state, and evaluators fail—not only when the model gives a wrong answer.
grep "#ai-engineering"
ls tags/ai-engineering/
A November engineering retrospective on why an AI task is not finished when the agent stops: the change, its effect, and its acceptance need separate proof.
An AI agent can eventually refuse the wrong task and still waste time, money, and risk along the way. I now treat timely abstention as a runtime property: stop when new evidence ma...
A practical migration guide for expanding a FACET Core contract into the Hypervisor profile without silently changing request meaning, authority, context layout, or runtime evidenc...
A practical release pattern for AI infrastructure: extract documentation examples into versioned fixtures, compile or execute them in CI, and treat drift as a product defect rather...
FACET can compile a deterministic AI request contract, but it should not own provider calls, retries, durable workflows, secrets, or business side effects. This boundary map shows ...
A practical incident-response runbook for consequential AI agents: freeze admission, preserve evidence, reconcile effects, drain safe work, and resume through a controlled recovery...
Some friction in AI workflows is waste. Some of it is the last visible boundary protecting authority, evidence, or reversibility. I audit that boundary before automating it away.
A second AI agent is not free parallelism. I use a handoff test to decide whether specialization creates evidence and independence—or only more coordination, context loss, and revi...
A practical conformance-testing pattern for AI personas: compile the effective identity, test critical behavioral invariants, evaluate subjective traits separately, and preserve a ...
FACET treats context budgets, gas limits, structural ceilings, and fail-closed errors as language semantics—not deployment tuning. Here is how to review bounded execution before an...
A practical coverage matrix for placing guardrails around agent inputs, handoffs, tool calls, approvals, side effects, and final outputs without mistaking one check for end-to-end ...
Useful AI automation does not eliminate human judgment. It compresses reversible micro-decisions while keeping irreversible commitments visible, attributable, and recoverable.
My October engineering retrospective: useful AI progress is not more autonomous activity, but a lower cost of rejecting, correcting, verifying, and recovering from decisions.
LiteLLM's supply-chain incident, Block's on-device speech model, and GitHub's external-agent metrics point to the same requirement: AI infrastructure must make trust, locality, and...
Engineering taste is useful for generating better options, but dangerous as hidden authority. I separate preferences, heuristics, invariants, and gates before letting an AI system ...
OpenAI turns small agent decisions into a dedicated API while its frontier-training security report shows why capable agents require layered containment, offline environments, and ...
Anthropic moves Agent Skills into neutral governance, GitHub makes model choice part of the IDE agent harness, and an open UK synthetic-persona dataset turns population alignment i...
Claude Duet makes agents proactive, Microsoft exposes governed workplace retrieval, Ai2 publishes planetary embeddings, NVIDIA brings few-shot prediction to relational databases, a...
A practical recovery pattern for AI agents: quarantine failed runs with enough identity, state, evidence, and authority data to inspect, repair, and replay them safely.
OpenAI models cross into Google Cloud, distributed agents turn biological datasets into testable leads, Microsoft brings AI development into disconnected environments, and NVIDIA p...
A retrospective on what changes when an AI engineering archive grows past 300 materials: novelty becomes a constraint, links become architecture, and deciding not to publish become...
Notion makes long-running agents durable and budget-aware, Microsoft moves agent security into dynamic identity and containment, and OpenAI tests whether coding models preserve beh...
vLLM 0.32 moves policy, security, and observability into the serving layer; MoE prompt ordering turns batch composition into a performance control; and SlideOn converts dense retri...
AI agent failures often begin when model latency, workflow deadlines, external-effect time, and evidence freshness are treated as one timestamp. This article defines a four-clock m...
DeepSeek ships a faster open agent model, Claude optimizes quantum circuits in a closed loop, OpenAI discloses delayed agent incidents, and Google turns scientific search into a tr...
A practical IOSM CLI workflow for preserving a named session, JSONL trace, machine-readable decisions, and a self-contained HTML review artifact without treating the transcript as ...
Reflection opens a 501B sparse agent model, IBM composes chat, decisions, and speech through adapters, NVIDIA publishes an auditable Indic data pipeline, and GitHub makes security ...
Claude Haiku 4.5, GitHub HydraFusion, FLUX.3 Image Klein, and a 50× BERT tokenization result show the same shift: AI systems are being redesigned around latency, routing, and contr...
AI engineering improves when a wrong proposal is easy to reject without reconstructing the whole run. I design rejection as a first-class transition that preserves evidence and nar...
A practical IOSM CLI guide to turning an ambiguous feature request into three bounded implementation options, a durable analysis artifact, and a controlled Swarm handoff.
A practical guide to deduplicating repeated AI instruction fragments with FACET anchors and aliases while keeping canonization deterministic, reviewable, and fail-closed.
A practical comparison of AI workflows, agent frameworks, harnesses, and runtimes based on the failures each layer must own—not vendor labels or feature lists.
A practical decision model for AI systems: keep effects, authority, state transitions, and evidence deterministic while preserving controlled variation where exploration creates va...
Examples are useful for discovering behavior, but dangerous when they silently become specifications. I use an explicit promotion path from sketch to probe, fixture, and regression...
A failure-first diagnostic map for AI agents: locate defects across intent, context, decision, authority, effect, state, and evidence before changing the model.
AI makes code cheap to produce, but it can compound a weak abstraction across adapters, tests, and documentation before the boundary has earned its name. I use an evidence threshol...
Fast generation can create a slow engineering system. I use acceptance latency—the time until work can be safely accepted, rejected, or returned with a precise next action—as the m...
A minimal integration guide for running IOSM CLI as a read-only CI reviewer with bounded tools, JSON output, explicit exit rules, and retained evidence—without giving the model wri...
A practical compatibility envelope for switching LLM models or providers without silently changing tool calls, output schemas, authority, or task meaning.
A practical decision matrix for choosing an AI evaluation tool by the boundary you need to test: prompt matrix, application behavior, benchmark registry, or production trace.
Reliable AI systems need explicit ways to stop, abstain, and request evidence. I treat uncertainty as a typed result instead of forcing every run into a confident answer.
A personal September engineering retrospective: reliable AI systems need explicit ownership for state, effects, authority, and recovery—not another layer of agent intelligence.
A migration guide for assigning graph state, side effects, retries, approvals, and recovery to the right boundary when combining LangGraph with Temporal.
A practical IOSM CLI decision map: choose a baseline cycle, checkpoint, CI gate, session branch, MCP integration, or parallel refactor from the failure you need to control.
FACET should freeze contracts, authority, context layout, and state transitions—not force every model answer to be identical. A practical boundary map for deciding where determinis...
A code-first guide to recording forward effects, compensation commands, preconditions, and receipts so an AI agent can recover from partial failure without pretending to roll back ...
Why every important AI workflow needs a tested reduced mode: deterministic automation, a manual path, or an explicit stop—not an improvised fallback after failure.
FACET is useful when an AI call crosses several contract boundaries. This decision matrix shows when a prompt, JSON Schema, or host-language code is enough—and when a compiled cont...
A practical telemetry design for AI agents that preserves failure evidence, cost, latency, and control-flow visibility without copying prompts, tool arguments, or results into ever...
A practical migration guide for running an AI agent beside a trusted workflow, comparing decisions without allowing duplicate side effects, and promoting authority one action class...
An AI task is not complete while it leaves temporary files, stale worktrees, orphaned processes, or unexplained artifacts behind. I treat cleanup as a bounded, verified phase—not a...
A FACET tutorial for replaying recorded model turns, testing allow and deny paths, and verifying one provenance chain across a multi-turn agent run—without network access.
A reproducible simulation shows why retry counters do not prevent duplicate side effects—and how stable effect identity plus reconciliation changes the outcome.
A failure-first guide to choosing retry, resume, rollback, compensation, or reconciliation for AI agent workflows based on side effects, durable state, and what the system can actu...
A practical comparison of four AI system layers—agent, harness, workflow, and runtime—and a decision matrix for adding only the control your failure mode requires.
The terminal is not a nostalgic interface for AI engineering. It turns intent into inspectable commands, names the working context, and makes completion answerable to the system ra...
A minimal brownfield integration guide: keep the provider SDK and agent loop, replace prompt assembly with a compiled FACET boundary, and preserve hashes and artifacts for review.
I use deterministic boundaries to govern AI systems, but not to flatten exploration. A practical matrix separates reproducible regression, seeded discovery, human judgment, and con...
A first success proves that a path can work, not that it is ready for automation. I wait until inputs, effects, failures, and recovery can be named as a stable operating contract.
A personal engineering retrospective on three boundaries that became clearer in August: proposals versus effects, generated output versus reviewable artifacts, and automation versu...
AI explanations are useful, but the review boundary should be the concrete change. I use diffs to separate persuasive narration from inspectable engineering work.
A practical boundary map for AI systems: keep exploration diverse, make selection and side effects deterministic, and preserve the candidates and decision receipt.
Explanations are prose — the one thing a deterministic system cannot version, diff, or roll back. A name is a handle the rest of the system can act on, so I stopped asking AI to ex...
Cleverness is a recurring tax and the model is already the cleverest thing I will ever ship, so I keep everything around it deliberately boring — predictable, reviewable, and easy ...
FACET evaluates `if` attributes at compile time and prunes false branches from the AST before a model ever sees them. The model receives exactly one resolved contract, never a choi...
FACET checks declared, computed, and runtime-input values against typed constraints — min/max, pattern, and enum — so a wrong value fails before it reaches a model. Multimodal type...
The more reliable an AI system becomes, the faster my suspicion decays — and that habituation, not the model, is the failure mode I design against.
A model provider can change the model behind a stable-looking API name without you changing a line of code, and most teams only notice when production breaks. I pin the exact dated...
FACET filters denied tools before rendering the canonical request. This capability projection shrinks the model's action vocabulary and leaves a separate guard receipt for audit.
A content-addressed context manifest turns an AI run's prompt, retrieved evidence, tools, and policy inputs into one verifiable identity without pretending that identical inputs gu...
A no-change result is useful only when an AI system records what it inspected, against which baseline, and how long that conclusion remains valid.
I do not judge an AI system by how much it writes. I judge it by whether it compresses uncertainty into a smaller decision, a sharper boundary, and one useful next test.
A provider adapter can preserve JSON while silently weakening an AI contract. I propose a constraint-loss receipt that makes unsupported schema semantics a compile-time decision in...
A practical model for preventing sub-agents from gaining authority as work moves through an AI delegation chain: monotonic permissions, bounded arguments, expiry, and verifiable re...
Dynamic tool discovery tells an AI agent what exists, not what it may safely execute. A capability snapshot should bind schema, authority, freshness, and effect policy before every...
AI workflows should budget human attention explicitly: reserve interruptions for decisions that change authority, create irreversible effects, or expose missing context.
A deterministic AI runtime does not make model output repeatable. It makes execution governable: authorized effects, explicit state transitions, durable evidence, and replayable de...
NVIDIA NOOA turns agent state, capabilities, prompts, and types into one Python class—but authority, isolation, and execution evidence still belong to the runtime.
A failed AI agent run does not reveal what to repair. Localize the first unrecovered event, broken contract, evidence, and repair owner.
Use versions, predicates, bounded write scope, and compare-and-swap to reject authorized but stale agent mutations before they overwrite newer state.
How to prove an agent’s compensating action: bind it to the original effect, current preconditions, recovery authority, verification signals, and residual consequences.
An AI dependency is not ready for adoption until I can name what must survive its replacement. I use an exit card to bind portable artifacts, replacement seams, acceptance tests, a...
A polished answer can solve the wrong problem. I use an answer contract that binds every consequential AI result to its interpreted question, exclusions, acceptance test, and evide...
A timeout does not prove that an AI tool failed. Model tool outcomes as confirmed, rejected, or unknown, then reconcile uncertainty before retrying consequential actions.
Track the origin, transformation, and authority of every consequential tool argument so valid JSON cannot launder untrusted retrieval, model inference, or unsafe defaults.
An AI system's defaults decide what happens when nobody makes an explicit choice. I use a default ledger to expose that hidden authority, its scope, and the condition that should i...
Fast AI output should not force fast engineering commitments. I use separate clocks for proposals, evidence, approval, execution, and expiry so model latency never becomes decision...
An IOSM cycle report can summarize a decision, but a trustworthy gate must also bind that decision to exact evidence. This article defines an evidence-binding manifest with identit...
FACET lenses do more than transform data: trust levels, determinism classes, gas, cache rules, and effect classes make every transformation's operational cost explicit before an AI...
A human click is not durable authorization. Bind every approval to a canonical action digest, scope, evidence snapshot, expiry, and single-use execution receipt.
AI agent traces become unreliable when emitters silently change attribute names or content policies. I use a telemetry compatibility envelope, translation boundary, and golden trac...
Cheap code generation can turn every local fix into permanent system complexity. I use a retention test—dependency, evidence, and removal trigger—to decide what deserves to remain.
A personal engineering essay on verification locality: AI output becomes useful when the evidence needed to challenge it is close, specific, and cheaper to inspect than the work it...
How FACET seeds and verifies a hash chain of guarded operations, including input identity, denied actions, attestations, and the limits of tamper evidence.
A deterministic AI contract is incomplete if the host can change lens behavior, context sizing, or provider mapping behind a stable document hash. FACET binds compilation and repla...
Speculative execution can reduce agent latency only when predicted work stays reversible. A practical design for separating draft computation from authorized side effects with bran...
Parallel agents are safe only when the runtime limits shared blast radius. A failure-domain manifest turns concurrency from a worker count into an explicit isolation contract.
An AI agent has not finished when it produces an artifact. I design handoffs backward from the next consumer’s acceptance conditions, evidence needs, provenance, and remaining unce...
Capability discovery tells an AI agent what tools exist now, but not whether its plan remains valid later. Bind every plan to an immutable capability snapshot and invalidate it whe...
I do not treat human intervention as a failure of AI automation. I design explicit interrupt records that preserve state, frame the decision, and make resumption safe.
FACET keeps deterministic test inputs, tool mocks, and assertions beside the AI contract. I explain why this makes canonical output, policy decisions, and execution telemetry testa...
File ownership cannot prevent stale-read failures between parallel AI agents. A premise ledger can connect observations to dependent actions so the runtime repairs only the work a ...
An AI agent’s identity should not disappear inside a system prompt. I use a small identity lock to bind persona, profile, composition, adapter, and evaluation suite to every run.
A practical authority-lease protocol for AI agents: bind delegated permission to scope, resource, expiry, policy epoch, and a fencing token so stale plans fail closed.
Defaults decide what an AI system does when intent is missing. I use a small default register to make those hidden decisions owned, scoped, reviewable, and safe to retire.
Prompt caching can save repeated prefill work, but application-level AI caches need a richer identity contract. A practical model for separating prefix reuse from semantic result r...
AI compresses competing arguments into one confident answer. I preserve the strongest rejected alternative, the deciding constraint, and the signal that should reopen the decision.
A personal engineering note on why missing evidence must remain visible in AI systems—and why unknown is a safer, more useful state than a fabricated metric or confident completion...
A deterministic graph gate that rejects verified status when any material claim lacks a valid path to versioned, admissible evidence.
Linus Torvalds says Linux is not anti-AI—but his real point is operational: AI tools must reduce maintainer burden instead of exporting verification costs. That is the engineering ...
How to bind agent decisions to versioned observations, maximum age, revalidation rules, and deterministic handling when freshness is invalid or unknown.
Before I let an AI plan execute, I ask which assumptions carry the most consequence and which cheap test could break them. An assumption stress map turns confident prose into revie...
Anthropic's J-space research reveals a small causal workspace for silent reasoning inside Claude. It also shows why chain of thought is not an execution trace—and why reliable AI n...
A plan is not executable merely because its steps are valid. Resource reservation envelopes let an AI runtime admit work only when time, tool calls, concurrency, money, and side-ef...
A rejected AI proposal should not disappear into review history. I preserve its failure condition as a negative test so the same plausible mistake becomes cheaper to detect next ti...
A runtime pipeline for labeling, parsing, validating, and explicitly promoting external tool data before it can affect privileged actions or durable memory.
A four-level model for classifying agent actions as replayable, replaceable, compensatable, or irreversible before assigning approval, evidence, retry, and recovery rules.
A practical guide to FACET’s four compliance levels—and why structural compatibility, deterministic execution, and reference-grade conformance must remain separate claims.
AI output makes completed work visible and omissions easy to miss. I use an omission receipt to record uninspected paths, unrun tests, unverified claims, and deferred alternatives ...
Structured output is only the first contract. Learn how to version AI agent artifacts with compatibility direction, upcasters, semantic invariants, and migration receipts.
A practical design for binding every agent side effect to a stable effect identity, so retries reuse an earlier result instead of repeating the action.
A goal gives an AI agent direction, but a definition of done gives the work a boundary. I use a completion envelope to bind outcomes, evidence, non-goals, stop conditions, and hone...
Connect model turns, tool calls, workspace revisions, tests, policies, and generated artifacts through stable run, causal, state, and provenance identifiers.
A decision log should not merely preserve what an AI-assisted system chose. It should record the assumption that would force the decision back onto the engineering queue.
A safer pattern for state-changing AI agents: represent intent as an explicit, reviewable change set, validate its preconditions, and commit it separately from model inference.
A personal engineering essay about placing uncertainty deliberately: let the model surprise us in proposals, but require deterministic boundaries for permissions, side effects, evi...
Learn how to move consistently solved AI agent tasks from capability evaluations into regression tests using promotion criteria, versioned graders, receipts, and quarantine.
Autonomy is a demo metric. Recoverability is an engineering property. A practical argument for checkpoints, receipts, idempotent tools, and agents that can survive failure without ...
A viral LocalLLaMA extrapolation predicts Fable 5-class local AI around July 2028. The date is fragile; the deeper shift is from renting intelligence to owning an execution environ...
A personal engineering manifesto about why I build deterministic AI systems: not because software needs more magic, but because intelligence without structure becomes noise, debt, ...
A personal engineering essay on why I treat specs, traces, and contracts as memory aids: not bureaucracy, but a way to make future work reproducible when attention, context, and co...
Deterministic AI systems do not come from perfect prompts. They come from runtime boundaries: contracts, validation, scoped tools, traces, checkpoints, rollback, and reproducible e...
A practical architecture for agent runtimes: separate model proposals from execution control with contracts, scoped permissions, traces, checkpoints, rollback, and durable engineer...
An AI engineering runtime is the execution layer that turns model output into controlled software work: scopes, contracts, tools, traces, checkpoints, rollback, memory, and measura...
Agent memory is not a single feature. Useful runtimes separate conversation residue, semantic facts, episodic traces, skill recipes, graph relationships, and policy memory because ...
A long list of agent architectures is not a strategy. The useful layer is a routing playbook that maps task shape, risk, evidence requirements, and runtime constraints to the right...
Agent systems need more than final answers. A stable ArchitectureResult artifact makes steps, tool calls, evidence, cost, risk, and failure modes visible enough to inspect, compare...
Numeric LLM judging creates flat, unverifiable decisions. A better agentic pattern is to let the model extract evidence and categorical features, then let deterministic code comput...
A personal engineering essay about why I build contracts, Token Box, traces, checkpoints, and runtimes: not to add complexity, but because human memory cannot be the only place whe...
A personal engineering story about the moment I stopped trusting AI agents directly and started trusting scopes, contracts, traces, checkpoints, rollback, and the runtime around th...
A personal engineering essay on AI ROI: the real cost of AI agents is not generation, tokens, or model speed, but verification, correction, coordination, rollback risk, and loss of...
The next leap in AI engineering is not a smarter agent, but a runtime that can govern execution: scopes, contracts, permissions, checkpoints, traces, rollback, and disciplined loop...
Prompts ask a model to behave. Contracts define what a system is allowed to accept, execute, and trust. This is the core difference between prompt engineering and real AI engineeri...
Context is the temporary execution workspace of an AI system. Memory is durable state. Confusing them creates fragile, expensive, and unpredictable products. Token Box is the deter...
A clear IOSM essay on Hypothesis Cards: before refactoring or asking an AI agent to change a system, define the expected metric improvement, guardrails, validation signal, rollback...
A personal essay on why building tools was only the beginning, how AI agents exposed the need for runtime discipline, and why the next layer of software is about execution environm...
A personal essay on why I build FACET, why prompt chaos bothers me, and why the future of AI software needs runtime, contracts, traces, and deterministic engineering discipline ins...
FACET is not just a language or a prompt format. It is a thesis about the missing layer between probabilistic intelligence and real-world execution: contracts, context, memory, run...
The scarce resource of the AI era will not be intelligence. It will be control: contracts, runtime boundaries, memory governance, traces, rollback, and the discipline to turn cheap...
AI determinism is not a model property. It is a system property built through contracts, traces, checkpoints, rollback, runtime boundaries, and verifiable behavior.
AI coding tools do not fix weak architecture or broken process. They amplify them. The real challenge is not generating more code, but designing systems that can safely absorb AI-s...
Prompt engineering taught us how to talk to models. Loop engineering is the next discipline: designing stateful, observable, verifiable AI execution cycles where agents act, learn,...
IOSM CLI 0.3 turns AI coding from a chat session into a disciplined engineering runtime: cycles, scopes, policies, checkpoints, agents, SDK/RPC integration, and a terminal-native w...
I've officially launched facetcore.dev — the central hub for the FACET standard, featuring complete documentation, the normative specification, and an interactive in-browser compil...
Why most LLM systems fail in production, and how a formal contract layer replaces hope with deterministic guarantees. A deep dive into the architecture behind FACET.
Why context is not a string but a resource with algebra. The formal Token Box Model in FACET: determinism, critical invariants, FACET Units, and the problems it closes permanently.
How native MCP protocol integration replaces subjectivity with engineering. The story of transforming millennia of wisdom into a reliable, predictable, and deterministic digital fo...
A comparative analysis of FACET and POML-based approaches. Why deterministic contracts outperform optimized prompts in production AI systems.
How the engineering rigor and determinism of FACET serve one of humanity's most essential tasks: preserving family heritage for future generations.
How we achieved 100% reproducible AI outputs through contracts, type systems, and deterministic transforms. Real patterns from 6 months of production deployment at AstroVisor.io.
After building 50+ APIs and fighting YAML's quirks for years, I realized: existing formats weren't designed for AI systems. Here's why I created FACET and what core problems it sol...