Skip to content
  • Blog
  • About
  • Contact

Mrbarnk

  • Blog
  • About
  • Contact

AI Agents

Your AI agent calls six tools for a simple question. Cut the waste.

October 27, 2026February 23, 2026 by Bankole Emmanuel
A direct order-status lookup avoids unnecessary searches and profile reads.

Improve AI agent tool routing with deterministic shortcuts, bounded fallback and request-scoped reuse. Test the routing decisions in Node.js.

Categories AI Agents

The AI says refund completed, but the API timed out

October 27, 2026August 21, 2025 by Bankole Emmanuel
A timed-out refund is checked through the original operation before its outcome is reported.

Build AI agent action verification with an operation ledger and state-bound replies. Handle uncertain refunds without inventing success or retrying blindly.

Categories AI Agents

Your customer says cancel while the AI agent is still working

October 27, 2026July 12, 2025 by Bankole Emmanuel
A customer cancellation blocks new order creation while any existing purchase needs its outcome checked.

Handle AI agent cancellation with versioned intent, action checkpoints and honest outcomes. Build a Node.js example that separates stopping from undoing.

Categories AI Agents

Your AI remembers the old address. How should memory work?

October 27, 2026April 14, 2025 by Bankole Emmanuel
Versioned customer memory accepts a newer address while keeping a confirmed order snapshot separate.

Use AI agent memory design that separates current task facts, preferences and verified records. Resolve corrections and scope in a Node.js example.

Categories AI Agents

Your AI agent passed the demo. Find the conversations that break it.

October 27, 2026January 29, 2025 by Bankole Emmanuel
An evaluation harness compares an agent reply with its actual actions and catches an unwanted order.

Build an AI agent evaluation harness that checks tool actions as well as replies. Replay corrections, outages and authorisation failures with Node.js.

Categories AI Agents

A product description tells your AI to issue a refund

October 27, 2026January 27, 2025 by Bankole Emmanuel
Untrusted product text is blocked at an action gateway while trusted identity and approval determine permission.

Enforce AI agent tool authorisation outside the model. Build a tenant-scoped gateway that rejects unsafe actions even when retrieved text gives instructions.

Categories AI Agents
© 2026 Mrbarnk • Built with GeneratePress