$ lexprog.com

// notes from an old coder -- php, databases, and the occasional rant

// viewing category: AI

AI tips & tricks

< back to all posts
[Oct 06, 2026] ai
MCP Servers Are Untrusted Code

An MCP server can expose tools that read files or hit the network. Pin versions, review the tool list, and run untrusted servers in a sandbox.

read -->
[Oct 05, 2026] ai
One Tool, One Side Effect

A tool that both writes a row and sends email is hard to retry and hard to audit. Split side effects so the agent can recover mid-flight.

read -->
[Sep 30, 2026] ai
Pin Invariants in the System Prompt

Put non-negotiable rules in the system (or developer) message so they survive noisy user turns. The model treats that channel as the contract for the whole session.

read -->
════════════════════════════════════════════════════════

// showing 1-7 of 7 posts • page 1/1