Bedrock AgentCore CLI

Command-line interface for AWS Bedrock AgentCore tools

Diagram

Input

Agent

Output

Bedrock AgentCore CLI

Use AWS Bedrock AgentCore tools from the command line.

Commands

Code Interpreter

bash
# Execute Python code
praisonai-ts tools run bedrock-code-interpreter \
  --code "print(sum(range(1, 11)))"

# With file
praisonai-ts tools run bedrock-code-interpreter \
  --file script.py

Browser Navigate

bash
praisonai-ts tools run bedrock-browser-navigate \
  --url "https://example.com"

Browser Click

bash
praisonai-ts tools run bedrock-browser-click \
  --selector "#submit-button"

Browser Fill

bash
praisonai-ts tools run bedrock-browser-fill \
  --selector "#email" \
  --value "user@example.com"

Options

OptionTypeDescription
--codestringPython code to execute
--filestringPath to Python file
--urlstringURL to navigate to
--selectorstringCSS selector
--valuestringValue to fill
--timeoutnumberTimeout in ms

Environment Variables

VariableRequiredDescription
AWS_ACCESS_KEY_IDYesAWS access key
AWS_SECRET_ACCESS_KEYYesAWS secret key
AWS_REGIONYesAWS region

Related