Business IEA Says Data Center Power Demand Could Double to 1,000 TWh by 2030, With AI Supplying Three Quarters of the Growth Chatbots ChatGPT Now Transcribes as You Talk: OpenAI Removes the 10-Minute Cap and Streams Words Live on Every Plan Business Ex-Alibaba Executive's Everful Raises $48.5 Million to Put AI Agents in Charge of Sourcing From 30,000 Factories AI Agents Google Built a Mirror Dimension of the Internet to Train Its Chrome AI Agents Without Breaking the Real Web Productivity Canva Finally Adds an Off Switch for Its Generative AI Features, and a Filter to Hide AI-Made Templates Business Anthropic Begins Trading Today: 980 Million Shares at $83, a $1.5 Trillion Valuation and the Largest IPO on Record News Google Books Blue Origin New Glenn to Launch TPU-Carrying AI Satellites in Early 2029 Security Hackers Used the AI Penetration Tool ARTEX to Disrupt European Commission Systems for Over Ten Days Business IEA Says Data Center Power Demand Could Double to 1,000 TWh by 2030, With AI Supplying Three Quarters of the Growth Chatbots ChatGPT Now Transcribes as You Talk: OpenAI Removes the 10-Minute Cap and Streams Words Live on Every Plan Business Ex-Alibaba Executive's Everful Raises $48.5 Million to Put AI Agents in Charge of Sourcing From 30,000 Factories AI Agents Google Built a Mirror Dimension of the Internet to Train Its Chrome AI Agents Without Breaking the Real Web Productivity Canva Finally Adds an Off Switch for Its Generative AI Features, and a Filter to Hide AI-Made Templates Business Anthropic Begins Trading Today: 980 Million Shares at $83, a $1.5 Trillion Valuation and the Largest IPO on Record News Google Books Blue Origin New Glenn to Launch TPU-Carrying AI Satellites in Early 2029 Security Hackers Used the AI Penetration Tool ARTEX to Disrupt European Commission Systems for Over Ten Days

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