tool use
Posts tagged tool use.
AI Agents Why Agents Loop on Failed Tools: No-Progress Detection Beats Longer Prompts
Agents loop on failed tools because the harness never detects no-progress. Fingerprint calls, honor retryable:false, cap turns, and terminate with a reason code.
AI Agents Agentic Systems: An Operating Manual for Multi-Agent Work That Ships
An agentic system is not a chat window with tools. It is evaluators, sandboxes, state machines, memory contracts, and kill switches — built so the work survives contact with real data.
AI Agents MCP vs Native Function Calling: Portability Tax vs Shortest Loop
Native function calling wins for one app's short tool loop; MCP earns the tax when tools must be shared and governed across hosts—not a LangChain swap.
AI Agents Prompt Injection for Tool Agents: Stop Text from Becoming Actions
Defend production agents that read email, tickets, or pages by fencing untrusted text as data and blocking injection paths into tool calls.
AI Agents Idempotent Agent Tool Writes: Retries Without Double Emails or Double Charges
Make agent tool writes safe on timeout by minting runtime idempotency keys once, then sharing them across model, harness, and HTTP retries.
AI Agents Tool Schemas Agents Follow: Descriptions, Enums, and Killing the Omnibus Tool
Agents invent arguments when schemas are vague. Write JSON Schema like agent UX—enums, required fields, property descriptions—and kill the do_anything tool.
AI Agents Pre-Execution Policy Gates: The Kill Switch That Lives Outside the Prompt
Your agent’s kill switch is a pre-execution policy gate outside the prompt: allow, deny, or pending-approval before side effects — fail closed on outages.