You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AgentScope Runtime also supports serverless deployment, which is suitable forrunning sandboxesin a serverless environment,
427
+
[Alibaba Cloud Function Compute (FC)](https://help.aliyun.com/zh/functioncompute/fc/) or [Alibaba Cloud AgentRun](https://docs.agent.run/).
428
+
429
+
First, please refer to the [documentation](https://runtime.agentscope.io/en/sandbox/advanced.html#optional-function-compute-fc-settings) to configure the serverless environment variables.
430
+
Make `CONTAINER_DEPLOYMENT` to `fc` or `agentrun` to enable serverless deployment.
431
+
432
+
Then, start a sandbox server, use the `--config` option to specify a serverless environment setup:
433
+
434
+
```bash
435
+
# This command will load the settings defined in the `custom.env` file
436
+
runtime-sandbox-server --config fc.env
437
+
```
438
+
After the server starts, you can access the sandbox server at baseurl `http://localhost:8000` and invoke sandbox tools described above.
For more advanced serverless deployment guides, please refer to the [documentation](https://runtime.agentscope.io/en/advanced_deployment.html#method-4-modelstudio-deployment).
Copy file name to clipboardExpand all lines: examples/deployments/agentrun_deploy/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -521,3 +521,4 @@ After successful deployment:
521
521
522
522
This example provides a complete workflow for deploying AgentScope Runtime agents to Alibaba Cloud AgentRun with serverless, production-ready configurations.
0 commit comments