AgentGrid command line interface
Project description
AgentGrid CLI
AgentGrid CLI 用于本地与京东云 Runtime 的最简部署与管理。
快速开始
- 初始化示例项目
agentgrid init demo
- 进入项目目录并切换为本地模式
cd demo
agentgrid config --launch-type local
- 一键构建并部署
agentgrid launch
- 查看运行状态
agentgrid status
核心命令
agentgrid versionagentgrid initagentgrid configagentgrid buildagentgrid deployagentgrid launchagentgrid statusagentgrid invokeagentgrid destroy
Runtime 子命令
agentgrid runtime create/get/update/delete/listagentgrid runtime release/version/versions
runtime create / runtime update --artifact-url 在 DockerImage 场景要求使用 JCR URI(例如 jdcloud-jcr://...)。
Invoke 交互模式
agentgrid invoke为多轮交互模式:首轮使用命令参数,后续在终端持续输入 payload。- 输入
exit/quit/q可退出交互。 - 云端模式会使用
jdcloud-agentgrid的runtime_session复用同一会话进行多轮调用。 - Runtime API Key 优先级:
--api-key> 环境变量AGENTGRID_RUNTIME_API_KEY>launch_types.cloud.runtime_apikey_name。
Tools 子命令
agentgrid tools create/show/delete/listagentgrid tools session create/show/delete/list/logs/set-ttl
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jdcloud_agentgrid_cli-0.1.0.tar.gz.
File metadata
- Download URL: jdcloud_agentgrid_cli-0.1.0.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65bc30494a11fda6d7e286a89e7381d51a4213bb3045e645516cb3a63aef3580
|
|
| MD5 |
a5055dd7a94f4dca8b74b320fd7e862e
|
|
| BLAKE2b-256 |
4b90fe32107703f886a65afb5201c67d20b14e4f777dbf8d8f6036a50fc1f9f4
|
File details
Details for the file jdcloud_agentgrid_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jdcloud_agentgrid_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 41.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6236800307cd39b4c084cea2e96b1f67025cdc8654442fc6e8d9d31ed314103d
|
|
| MD5 |
549dbfb6f71c8da1acd11424a45ce112
|
|
| BLAKE2b-256 |
8111d3d848d2ffe4a2cdb218d1b1bfbec6cb49a3b26a1d8d21d2c19bb038347f
|