Scripts2026年5月12日·1 分钟阅读

Strands Tools — Built-in Tools for Strands Agents

Strands Agents Tools is a pip-installable tool pack (files, shell, HTTP, memory backends, web search, Slack, browser tooling) with optional extras.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Stage only · 29/100Stage only
Agent 入口
任意 MCP/CLI Agent
类型
Script
安装
Manual
信任
信任等级:Established
入口
pip install strands-agents-tools
通用 CLI 安装命令
npx tokrepo install 24854e7f-79b8-593b-8cb7-f7094660c093

简介

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_memoryuse_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.

GitHub commit activity GitHub open issues GitHub open pull requests License PyPI version Python versions

DocumentationSamplesPython SDKToolsAgent BuilderMCP 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,动态加载工具要严格控制。

🙏

来源与感谢

Source: https://github.com/strands-agents/tools > License: Apache-2.0 > GitHub stars: 1,048 · forks: 295

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产