Guides
How to Use AI Agents Safely and Effectively
A practical guide based on the latest security and technical practices for managing AI agents, from defining dynamic permissions to continuous human review to ensure safe performance.
1. Adopt the "Always Verify" Principle and Dynamic Permissions
AI agents are no longer trusted software by default. Modern security trends, such as Microsoft's approach, mandate treating agents as insiders that may make mistakes or be exploited. Use dynamic permissions that grant the agent only the minimum privileges necessary for the task, with access revoked immediately upon completion.
2. Clearly Define and Distribute Tasks
The value for developers and users is shifting from manual execution to orchestration. Break down large work into specific tasks, and use specialized agents for each part (e.g., an agent for documentation, another for testing). This distribution facilitates the review process and reduces the likelihood of cumulative errors.
3. Monitor Resources and Side Effects
Incidents such as the depletion of Wikipedia resources have shown that agents can intensively consume third-party resources. Avoid running large-scale automated tasks without operational limits. Always monitor the number of requests and the systems the agent interacts with to prevent service exhaustion or escaping isolation environments.
4. Mandatory Human Review
Do not accept the first answer or final result without inspection. Use a second model to critique the work of the first, then apply your human judgment. High-impact actions—such as purchases, sending emails, or modifications to sensitive systems—must require explicit human approval before execution.
5. Choose the Appropriate Processing Environment
The industry is moving toward diverse options; while cloud solutions offer broad capabilities, local devices (such as Core) provide higher privacy through local data encryption. Understand where your data is processed, review encryption and access policies, and do not assume that local processing exempts you from the need to monitor firewalls and network activity.
6. Governance and Accountability
In work environments, agents must be managed through centralized governance systems (such as identity management platforms) that allow for tracking their activity and setting cost caps. Remember that responsibility for the results remains with the user or the organization, not the agent itself.