Tools Give Models Hands

📰 Medium · LLM

Learn how AI agents can interact with tools to automate infrastructure management and the importance of proper tool permissions and state file management

intermediate Published 18 Jun 2026
Action Steps
  1. Configure tool permissions for AI agents to prevent unauthorized access
  2. Use Terraform to manage infrastructure as code and track state files
  3. Implement error handling and logging mechanisms for AI agent interactions
  4. Test and validate AI agent automated tasks to ensure correctness
  5. Monitor and audit AI agent activity to detect potential security issues
Who Needs to Know This

DevOps and engineering teams can benefit from understanding how AI agents can automate infrastructure management tasks, and how to properly configure tool permissions to prevent errors

Key Insight

💡 AI agents can interact with tools to automate tasks, but human oversight and proper configuration are necessary to prevent errors and ensure security

Share This
💡 AI agents can automate infrastructure management, but proper tool permissions and state file management are crucial to prevent errors #AI #DevOps

Key Takeaways

Learn how AI agents can interact with tools to automate infrastructure management and the importance of proper tool permissions and state file management

Full Article

Title: Tools Give Models Hands

URL Source: https://medium.com/@peter.mccann.strain/tools-give-models-hands-5a3cf8664ce8?source=rss------llm-5

Published Time: 2026-06-18T19:01:00Z

Markdown Content:
# AI Agent Tool Permissions Set the Blast Radius | Medium

[Sitemap](https://medium.com/sitemap/sitemap.xml)

[Open in app](https://play.google.com/store/apps/details?id=com.medium.reader&referrer=utm_source%3DmobileNavBar&source=post_page---top_nav_layout_nav-----------------------------------------)

Sign up

[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40peter.mccann.strain%2Ftools-give-models-hands-5a3cf8664ce8&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

[](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------)

Get app

[Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------)

[Search](https://medium.com/search?source=post_page---top_nav_layout_nav-----------------------------------------)

Sign up

[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40peter.mccann.strain%2Ftools-give-models-hands-5a3cf8664ce8&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

![Image 1: Unknown user](https://miro.medium.com/v2/resize:fill:32:32/1*dmbNkD5D-u45r44go_cf0g.png)

## ARCHITECTING THE AI COWORKER · 9/22

# Tools Give Models Hands

## A missing state file let one instruction destroy live infrastructure. Score the tool, not the model. · Architecting the AI Coworker · 9/22

[![Image 2: Dr Peter McCann Strain](https://miro.medium.com/v2/resize:fill:32:32/1*2juj86FdrLWVBk6WU_44Kw.png)](https://medium.com/@peter.mccann.strain?source=post_page---byline--5a3cf8664ce8---------------------------------------)

[Dr Peter McCann Strain](https://medium.com/@peter.mccann.strain?source=post_page---byline--5a3cf8664ce8---------------------------------------)

Follow

16 min read

·

1 hour ago

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fvote%2Fp%2F5a3cf8664ce8&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40peter.mccann.strain%2Ftools-give-models-hands-5a3cf8664ce8&user=Dr+Peter+McCann+Strain&userId=fabf26939557&source=---header_actions--5a3cf8664ce8---------------------clap_footer------------------)

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Frepost%2Fp%2F5a3cf8664ce8&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40peter.mccann.strain%2Ftools-give-models-hands-5a3cf8664ce8&user=Dr+Peter+McCann+Strain&userId=fabf26939557&source=---header_actions--5a3cf8664ce8---------------------repost_header------------------)

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2F5a3cf8664ce8&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40peter.mccann.strain%2Ftools-give-models-hands-5a3cf8664ce8&source=---header_actions--5a3cf8664ce8---------------------bookmark_footer------------------)

[Listen](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2Fplans%3Fdimension%3Dpost_audio_button%26postId%3D5a3cf8664ce8&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40peter.mccann.strain%2Ftools-give-models-hands-5a3cf8664ce8&source=---header_actions--5a3cf8664ce8---------------------post_audio_button------------------)

Share

In late February 2026, Alexey Grigorev set out to tidy up the infrastructure behind DataTalks.Club, the data-engineering community he runs. The cloud setup was defined in Terraform, the tool that lets you describe servers and databases as code and have them built to match. He had Claude Code, an AI coding agent, helping with the migration. By his own first-person account of what followed, the agent could not find the Terraform state file, the record that maps the writ
Read full article → ← Back to Reads