What an Agent Harness Needs Before Production: Eleven Failures and the Part That Stops Each

An agent harness is the code around the model. A bare twenty-line loop meets eleven bad days: a runaway model, bad arguments, a slow tool, a hidden instruction, generated code that reads secrets, a crash after a refund. Then the eight parts that stop them, built with JSON Schema, SQLite, OpenTelemetry, process limits and a container.

AI/ML14 min read

Querying Clinical Data: AQL vs. FHIR Search vs. SQL on FHIR

Five ordinary clinical questions put to three query languages: FHIR search, openEHR AQL and SQL on FHIR. The comparison shows what each was built for, where approximate cohort queries go wrong, and how view definitions turn FHIR resources into tables. Includes a tested SQL on FHIR pipeline in Python and C# clients for FHIR search and AQL.

.NET15 min read