简介
Strands Tools 是 Strands Agents 的“电池包”:不需要每个能力都手写 wrapper,只要安装一个包就能获得一组可复用的 agent 工具(文件、Shell、HTTP、记忆、Web、集成等)。
最适合: 想一次性获得较完整工具面(文件/Shell/HTTP/记忆/Web)的 Agent 构建者
适配: Python、Strands Agents SDK、可选后端(如 Mem0)及浏览器/搜索组件
配置时间: 5–15 分钟
关键事实(已验证)
- README 列出多类工具:文件、Shell、HTTP、记忆、搜索、Slack、浏览器自动化等。
- 可通过 pip extras 按需安装依赖(例如
mem0_memory、use_browser)。 - GitHub:1,048 stars · 295 forks;最近更新 2026-05-12(GitHub API 验证)。
正文
工具包很全也意味着“能力蔓延”的风险。建议按环境做工具面控制:
- 本地开发:文件 + Shell 可能可接受;
- CI:限制写文件与外网;
- 生产:只允许明确的 HTTP 端点与 MCP server allowlist。
如果启用动态 MCP 客户端,务必遵循 README 的安全警告并保持严格 allowlist。
README 原文节选(verbatim)
Strands Agents Tools
A model-driven approach to building AI agents in just a few lines of code.
Documentation ◆ Samples ◆ Python SDK ◆ Tools ◆ Agent Builder ◆ MCP Server
Strands Agents Tools is a community-driven project that provides a powerful set of tools for your agents to use. It bridges the gap between large language models and practical applications by offering ready-to-use tools for file operations, system execution, API interactions, mathematical operations, and more.
✨ Features
- 📁 File Operations - Read, write, and edit files with syntax highlighting and intelligent modifications
- 🖥️ Shell Integration - Execute and interact with shell commands securely
- 🧠 Memory - Store user and agent memories across agent runs to provide personalized experiences with both Mem0, Amazon Bedrock Knowledge Bases, Elasticsearch, and MongoDB Atlas
FAQ
只能用于 Strands Agents 吗? 答:主要面向 Strands Agents 生态,但其工具模块思路也能借鉴到其它框架。
可选集成怎么装?
答:按 README 用 pip extras 安装(如 strands-agents-tools[mem0_memory,...])。
安全最佳实践? 答:按环境做 allowlist,动态加载工具要严格控制。