Voice & Audio Sesame Ends Its Free Preview: $20 a Month for Two Hours of Talk Time a Day, $100 for Ten Opinion 93% of Developers Have Merged AI Code They Did Not Fully Understand, and Only 13% of Teams Have a Plan for When It Breaks Coding Assistants Penn State Tested 5 Coding Agents Patch by Patch: 38% to 82% of Successful Runs Were Already Correct on the First Edit Microsoft Copilot Microsoft Will Turn Claude On by Default for Every UK Copilot Tenant on Dec. 9, and the Data Is Still Processed in the US Business SMIC's Revenue Jumps 34 Percent to $3.19 Billion as AI-Adjacent Chip Orders Push Its Fabs to 97.3 Percent Utilization Business SoftBank Leads $500 Million Into Agile Robots at an $8.5 Billion Valuation, With Nvidia and Hitachi in the Round News Claude Read 1,009 Pages of Gödel's Obsolete Shorthand in Days: 663 Theorems, About 400 Verified in Coq Security The FAA's $875 Million AI Air-Traffic Assistant Went Live at All 22 Centers. Three Days Later the Country Was Grounded. Voice & Audio Sesame Ends Its Free Preview: $20 a Month for Two Hours of Talk Time a Day, $100 for Ten Opinion 93% of Developers Have Merged AI Code They Did Not Fully Understand, and Only 13% of Teams Have a Plan for When It Breaks Coding Assistants Penn State Tested 5 Coding Agents Patch by Patch: 38% to 82% of Successful Runs Were Already Correct on the First Edit Microsoft Copilot Microsoft Will Turn Claude On by Default for Every UK Copilot Tenant on Dec. 9, and the Data Is Still Processed in the US Business SMIC's Revenue Jumps 34 Percent to $3.19 Billion as AI-Adjacent Chip Orders Push Its Fabs to 97.3 Percent Utilization Business SoftBank Leads $500 Million Into Agile Robots at an $8.5 Billion Valuation, With Nvidia and Hitachi in the Round News Claude Read 1,009 Pages of Gödel's Obsolete Shorthand in Days: 663 Theorems, About 400 Verified in Coq Security The FAA's $875 Million AI Air-Traffic Assistant Went Live at All 22 Centers. Three Days Later the Country Was Grounded.

Designing Tools for AI Agents Without Creating a Security Problem

An agent is only as safe as the tools you give it. Narrow inputs, explicit confirmation and audit logs are the baseline.

Giving a model the ability to act is where AI systems stop being a text box and start being infrastructure. The tool interface is the security boundary.

Make inputs narrow

A tool that accepts a free-form query string is effectively a shell. Define typed parameters with enumerations where possible: a customer_id and a refund_reason from a fixed list, not a paragraph of instructions.

Separate read from write

Expose read operations freely. Require an explicit confirmation step for anything that creates, modifies, deletes or sends. The confirmation must come from the user, not from the model.

Constrain consequences

  • Cap monetary amounts and record counts per call.
  • Scope credentials to the minimum the tool needs.
  • Never expose credentials to the model — the tool injects them server-side.
  • Idempotency keys on write operations, so a retry does not double-charge anyone.

Log every call

Record tool name, parameters, acting user, timestamp and outcome. When something goes wrong — and eventually it will — this log is the only way to reconstruct what happened.

Test adversarially

Put instructions in a document the agent reads, telling it to call a tool it should not. If that succeeds, the boundary is wrong, regardless of what the prompt says.

Comments (0)

Log in to join the discussion

Log In

No comments yet