
tencentcloudagentruntime/ags-cookbook
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
エージェントのランタイムサンプルとスクリプトのクイックスタート
概要
テンセントクラウドエージェントサンドボックス/ AGS 上に構築するための例、チュートリアル、ユーティリティ。 - : AGS のリファレンス・エージェント・スキルの例; スキル/README.md を参照してください - : SDK とノートブックベースのオンボーディング - : 実行可能なブラウザ、コード、モバイル、Go、および OSWorld のデモ - : k6 ストレススクリプトとエージェント・クラスター Pod スタートアップテスト - : デバッグヘルパーと envd などのランタイム・ソース・コンポーネントを検証 - Python の例の uv - ローカルスクリプトの python3 - Go の例 - git - Docker はワークフローに便利ですが、すべての例では必須ではありません - ほとんどの Python の例では、例/例/osworld-ags が使われています - uv は、それぞれの例に必要な通訳者を管理します。 ags リファレンススキル例では agr CLI を使用します。 初めてのクレデンシャルセットアップでは、公式のAGR CLI設定ガイドに従って、アグリステータスとアグリドクターを実行して、例を挙げます。 一部のGoの例では、Tencent Cloud APIの認証情報を使用します。 ほとんどの例では、ローカルの make run ターゲットを提供します
概要(AI 翻訳)
テンセントクラウドエージェントサンドボックス/ AGS 上に構築するための例、チュートリアル、ユーティリティ。
このリポジトリが含まれているもの
-Skills: AGS のリファレンスエージェントのスキル例; [[T0] を参照してください。
- チュートリアル:SDKおよびノートブックベースのオンボーディング -例:実行可能なブラウザ、コード、モバイル、Go、およびOSWorldのデモ
- Benchmarks:k6ストレススクリプトとエージェントクラスターPod起動テスト -Utils: ヘルパーをデバッグし、envdなどのランタイムソースコンポーネントを検証
リポジトリの要件
ローカルツール
- Python の例の [
uv - ローカルスクリプトの[
python3 - [
goは、Go の例 - [
git - Docker はワークフローに便利ですが、すべての例では必須ではありません。
##Pythonのバージョン
- [[[T5] のほとんどの Python の例では、Python >= 3.12 が必要です。
- [[
examples/osworld-agsは、Python 3.12.12** を使用します。 - [
uvは、各例に必要な通訳者を管理します。
####agr クリップ
[ags 参照スキルの例は agr CLI を使用します。
初めてのクレデンシャル設定については、
公式 AGR CLI 設定ガイド,
[agr status と agr doctor を実行します。
共通の環境変数
AGS/E2B対応ランタイム
テンセントクラウドコントロールプレーン例
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Agent Sandbox Cookbook
Examples, tutorials, and utilities for building on Tencent Cloud Agent Sandbox / AGS.
What this repo contains
- Skills: reference Agent Skill example for AGS; see
skills/README.md - Tutorials: SDK and notebook-based onboarding
- Examples: runnable browser, code, mobile, Go, and OSWorld demos
- Benchmarks: k6 stress scripts and Agent Cluster Pod startup tests
- Utils: debugging helpers and validated runtime source components such as envd
Repository requirements
Local tools
uvfor Python examplespython3for local scriptsgofor Go examplesgit- Docker is useful for some workflows, but not required for every example
Python versions
- Most Python examples in
examples/require Python >= 3.12 examples/osworld-agsuses Python 3.12.12uvmanages the required interpreter for each example.
agr CLI
The ags reference Skill example uses the agr CLI:
# One-line install (macOS / Linux)
curl -fsSL https://github.com/TencentCloudAgentRuntime/ags-cli/releases/latest/download/install.sh | sh
# Or via go install
go install github.com/TencentCloudAgentRuntime/ags-cli/cmd/agr@latest
agr version -o json
For first-time credential setup, follow the
official AGR CLI configuration guide,
then run agr status and agr doctor before starting an example.
Common environment variables
AGS / E2B-compatible runtime
export E2B_API_KEY="your_ags_api_key"
export E2B_DOMAIN="ap-guangzhou.tencentags.com"
Tencent Cloud control-plane examples
Some Go examples use Tencent Cloud API credentials:
export TENCENTCLOUD_SECRET_ID="your_secret_id"
export TENCENTCLOUD_SECRET_KEY="your_secret_key"
export TENCENTCLOUD_REGION="ap-guangzhou"
Quick start
1. Browse available examples
make examples-list
2. Run a specific example
Most examples provide a local make run target:
make example-setup EXAMPLE=mini-rl
make example-run EXAMPLE=mini-rl
You can also enter an example directory directly and run its local make setup / make run targets.
Example overview
| Example | Stack | Notes |
|---|---|---|
agent-registry-multi-agent |
Node.js + A2A + MCP + DSH | Discover five governed agents through Agent Registry and run an observable multi-agent delivery loop |
agentcbs-volume |
Python + code interpreter image + AgentCBS VolumeTemplate | Start a sandbox with an AgentCBS disk mounted through a VolumeTemplate |
agentway-cookbook |
Kubernetes + Helm + Markdown | Deploy, operate, and observe AgentWay on Tencent AGS and TKE |
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add tencentcloudagentruntime/ags-cookbook