Skip to content

Example Built-in Tools

Strands offers an optional example tools package strands-agents-tools which includes pre-built tools to get started quickly experimenting with agents and tools during development. The package is also open source and available on GitHub.

Install the strands-agents-tools package by running:

pip install strands-agents-tools

If using mem0_memory, install the the additional required dependencies by running:

pip install strands-agents-tools[mem0_memory]

Available Tools

RAG & Memory

  • retrieve: Semantically retrieve data from Amazon Bedrock Knowledge Bases for RAG, memory, and other purposes
  • memory: Agent memory persistence in Amazon Bedrock Knowledge Bases
  • mem0_memory: Agent memory and personalization built on top of Mem0

File Operations

  • editor: File editing operations like line edits, search, and undo
  • file_read: Read and parse files
  • file_write: Create and modify files

Shell & System

  • environment: Manage environment variables
  • shell: Execute shell commands
  • cron: Task scheduling with cron jobs

Code Interpretation

Web & Network

  • http_request: Make API calls, fetch web data, and call local HTTP servers
  • slack: Slack integration with real-time events, API access, and message sending

Multi-modal

  • image_reader: Process and analyze images
  • generate_image: Create AI generated images with Amazon Bedrock
  • nova_reels: Create AI generated videos with Nova Reels on Amazon Bedrock
  • speak: Generate speech from text using macOS say command or Amazon Polly

AWS Services

  • use_aws: Interact with AWS services

Utilities

Agents & Workflows

  • agent_graph: Create and manage graphs of agents
  • journal: Create structured tasks and logs for agents to manage and work from
  • swarm: Coordinate multiple AI agents in a swarm / network of agents
  • stop: Force stop the agent event loop
  • think: Perform deep thinking by creating parallel branches of agentic reasoning
  • use_llm: Run a new AI event loop with custom prompts
  • workflow: Orchestrate sequenced workflows

By default, certain tools that perform potentially sensitive operations (like file modifications, shell commands, or code execution) will prompt for user confirmation before executing. This safety feature ensures users maintain control over actions that could modify their system.

To bypass these confirmation prompts, you can set the BYPASS_TOOL_CONSENT environment variable:

# Set this environment variable to bypass tool confirmation prompts
export BYPASS_TOOL_CONSENT=true

Setting the environment variable within Python:

import os

os.environ["BYPASS_TOOL_CONSENT"] = "true"

When this variable is set to true, tools will execute without asking for confirmation. This is particularly useful for:

  • Automated workflows where user interaction isn't possible
  • Development and testing environments
  • CI/CD pipelines
  • Situations where you've already validated the safety of operations

Note: Use this feature with caution in production environments, as it removes an important safety check.