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

RAG over FHIR Data on AWS HealthLake and Azure Health Data Services: Retrieval That Respects the Record

A FHIR record is a graph of coded, dated, status-bearing resources, not a document corpus. This article sets out a retrieval design for generative AI over FHIR data: FHIR search for exact questions, similarity search for notes, pinned allergies and medication, a hard partition by patient, and citations on every statement. Tested on synthetic data and mapped to AWS HealthLake and the Azure Health Data Services FHIR service.

Hosting Remote MCP Servers Securely on AWS and Azure: Token Validation, Gateways and Network Placement

A remote MCP server is an API that a language model can drive. This article covers the three things that decide whether it is safe: what the MCP authorization specification requires of the server, where to host it on AWS and Azure and who validates the token in each case, and where the endpoint belongs on the network. Includes a tested Python resource server and an ASP.NET Core version for Entra ID.

.NET15 min read