Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Donner des outils à un agent IA : pourquoi je pose la limite hors du prompt

Quand je donne des outils à un agent, je le traite comme une dépendance tierce : je ne lui fais pas confiance, je l'encadre. La règle qui compte : la contrainte se pose au lancement du processus , pas dans le prompt. Un prompt, c'est une demande. Le modèle peut l'ignorer, ou se faire retourner par un texte malveillant glissé dans ce qu'il lit. Sur un agent que j'ai construit, la liste des outils…

Original French headline Read in English

When I provide tools to an AI agent, I treat it like a third-party dependency: I don't trust it, I monitor it. The crucial rule is that the constraint is applied at the start of the process, not within the prompt. A prompt is a request. The model may ignore it or receive a malicious text slipped into what it reads. For an agent I built, the list of allowed tools is fixed in advance: twelve reading tools permitted, fifteen writing tools forbidden.

It cannot write a file or send a message, even if it tries. Three additional protections are added: an anti-injection section in the prompt, because an agent reads texts it doesn't master, a mandatory contradictory review before each output, and a human validation before any publication. Why this choice over "a good prompt": an agent that can act does what its environment allows, not what we politely request.

If the action is impossible, there's no longer trust to be had in it. My interest lies less in the speed these tools bring than in how they are contained: this is what allows for quick results without a repository of unreviewed code. Amine Affif, a full-stack developer based in Paris.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Weekly Dev Log 2026-W21

🗓️ This Week The weather has finally become more comfortable here in Japan, and I've been feeling excited to get outside🍂.

  • Weather improved in Japan, enabling a day trip to an island
  • Developers reviewed tests for Chord Tone Practice functionality
  • Explored Swift's collection operations, including bitmask techniques

CVE-2026-76269: Improper Access Control in Splunk Enterprise REST Search Job Retrieval

CVE-2026-76269: Improper Access Control in Splunk Enterprise REST Search Job Retrieval Vulnerability overview CVE-2026-76269 is rated 6.5 and classified as CWE-639, Authorization Bypass Through…

  • Unauthorized access to search job results via Splunk Enterprise REST API
  • CWE-639: Improper authorization check enabling job artefact access
  • Patches released in October 2026 security advisories SVD-2026-1001 and SVD-2026-1002

More from Friday, 16 October 2026 →