by 5101good · v1.0.2
Integrate WuYing AgentBay's graphical cloud sandbox cloud computing capabilities into Dify applications to support command execution, file operations, code execution, GUI automation, and browser automation in cloud environments.
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
AgentBay is a cloud sandbox service from Alibaba Cloud WuYing, providing isolated computing environments (Linux, Windows, Browser, etc.) that enable AI Agents to safely execute code, manipulate files, automate browsers, and perform complex tasks. For detailed information and usage instructions about AgentBay, please refer to the official website: https://www.aliyun.com/product/agentbay
Why This Plugin:
Traditional AI Agents are limited to text-based interactions and cannot execute actual computational tasks. This plugin integrates AgentBay to give your Dify applications "real action capabilities":
Typical Use Cases:
Visit AgentBay Console to get your API key.
After installing the plugin in Dify, configure the API Key parameter.
1. Create Session
Tool: session_create
Parameters:
- image_id: linux_latest (optional, default is linux_latest)
Options: browser_latest, code_latest, windows_latest, mobile_latest
2. Perform Operations
Execute commands:
Tool: command_execute
Parameters:
- session_id: <session ID>
- command: "ls -la"
- timeout_ms: 30000 (optional)
File operations:
Tool: file_operations
Parameters:
- session_id: <session ID>
- action: read (or write, list)
- file_path: /path/to/file (required for read/write)
Browser automation:
Tool: browser_automation
Parameters:
- session_id: <session ID>
- action: navigate (or click, type, screenshot, etc.)
- url: https://example.com (required for navigate)
3. Clean Up Resources
Tool: session_delete
Parameters:
- session_id: <session ID>
- sync_context: false (optional)
We provide ready-to-use demo examples that showcase the plugin's capabilities. These examples are available in the demo directory.
You can quickly get started by importing these examples into Dify:
Create a new cloud environment session. Supports 5 environment types: linux_latest (default), browser_latest (browser), code_latest (development), windows_latest (Windows), mobile_latest (mobile). Returns session_id for subsequent operations.
List all active sessions created by this plugin under the current account, including session ID, environment type, etc.
Delete specified session and release cloud resources. Recommended to clean up promptly after operations.
Execute Shell commands in a session with support for custom working directory and timeout. Suitable for command-line operations in Linux/Windows environments.
Run code in a session, supporting Python and other programming languages. Can specify working directory, suitable for data processing, automation scripts, etc.
Unified file operation tool, specify operation type via action parameter:
Full-featured browser automation tool, requires browser_latest environment. Supports multiple operations via action parameter:
Desktop UI automation tool, suitable for Windows, browser and other graphical environments. Supports via action parameter:
Web Automation Testing
Data Processing
System Operations
This plugin is provided as a technical tool. Please note the following when using:
Using this plugin indicates agreement to the above terms.