Protect Against Rough Agents (AI Foundry)

Matan Yemini 1 Reputation point
2025-12-03T10:57:10.02+00:00

Hi,

My developers are building agents, and using Foundry AI as their LLM. The agent is calling tools afterwards and I'm afraid it will do stuff it shouldn't (also I want an inventory).

There is way to sit between the model and to the Foundry AI? Or I have a way to use an API from Azure that will allow me to put things in between to validate.

Thanks for the help!

Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2025-12-03T10:57:21.0266667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To protect against unintended actions by AI agents built using Foundry AI, you can implement several strategies:

    1. Guardrails and Controls: Microsoft Foundry provides safety and security guardrails that can be applied to your AI agents. These guardrails consist of controls that define risks, intervention points, and response actions when risks are detected. You can set up intervention points to scan for risks during user input, tool calls, tool responses, and output. This allows you to monitor and control the actions of the agents effectively.
    2. AI Agent Inventory: You can utilize the AI agent inventory feature in Microsoft Defender to discover, catalog, and continuously monitor your AI agents. This feature helps you keep track of all detected AI agents and their security status, providing you with visibility into their operations.
    3. Microsoft Purview Integration: If you are using the Agent Framework, you can integrate Microsoft Purview capabilities to enforce Data Loss Prevention (DLP) policies. This allows you to intercept and validate prompts and responses, ensuring that sensitive information is protected and that the agents operate within defined compliance parameters.
    4. API Usage: You can use APIs from Azure to enforce behavior in your AI applications according to the policies set in Microsoft Purview. This can help you validate actions taken by the agents and ensure they adhere to your organization's security policies.

    By implementing these strategies, you can effectively manage the actions of your AI agents and mitigate risks associated with their operations.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.