Skip to main content

AgentGrid command line interface

Project description

AgentGrid CLI

AgentGrid CLI 用于本地与京东云 Runtime 的最简部署与管理。

快速开始

  1. 初始化示例项目
agentgrid init demo
  1. 进入项目目录并切换为本地模式
cd demo
agentgrid config --launch-type local
  1. 一键构建并部署
agentgrid launch
  1. 查看运行状态
agentgrid status

核心命令

  • agentgrid version
  • agentgrid init
  • agentgrid config
  • agentgrid build
  • agentgrid deploy
  • agentgrid launch
  • agentgrid status
  • agentgrid invoke
  • agentgrid destroy

Runtime 子命令

  • agentgrid runtime create/get/update/delete/list
  • agentgrid runtime release/version/versions

runtime create / runtime update --artifact-urlDockerImage 场景要求使用 JCR URI(例如 jdcloud-jcr://...)。

Invoke 交互模式

  • agentgrid invoke 为多轮交互模式:首轮使用命令参数,后续在终端持续输入 payload。
  • 输入 exit / quit / q 可退出交互。
  • 云端模式会使用 jdcloud-agentgridruntime_session 复用同一会话进行多轮调用。
  • Runtime API Key 优先级:--api-key > 环境变量 AGENTGRID_RUNTIME_API_KEY > launch_types.cloud.runtime_apikey_name

Tools 子命令

  • agentgrid tools create/show/delete/list
  • agentgrid tools session create/show/delete/list/logs/set-ttl

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jdcloud_agentgrid_cli-0.1.0.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jdcloud_agentgrid_cli-0.1.0-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

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

Hashes for jdcloud_agentgrid_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 65bc30494a11fda6d7e286a89e7381d51a4213bb3045e645516cb3a63aef3580
MD5 a5055dd7a94f4dca8b74b320fd7e862e
BLAKE2b-256 4b90fe32107703f886a65afb5201c67d20b14e4f777dbf8d8f6036a50fc1f9f4

See more details on using hashes here.

File details

Details for the file jdcloud_agentgrid_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jdcloud_agentgrid_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6236800307cd39b4c084cea2e96b1f67025cdc8654442fc6e8d9d31ed314103d
MD5 549dbfb6f71c8da1acd11424a45ce112
BLAKE2b-256 8111d3d848d2ffe4a2cdb218d1b1bfbec6cb49a3b26a1d8d21d2c19bb038347f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page