Copilot Pro、Pro+、Max ユーザー向けに Agent タスク REST API が公開
GitHub は Copilot Pro、Pro+、Max のユーザーに対し、クラウドエージェントのタスクをプログラムで開始・追跡できる「Agent tasks REST API」をパブリックプレビューとして提供を開始した。これにより、カスタム自動化への統合が容易になる。
Copilot Pro、Pro+、Max のユーザーは、パブリックプレビュー版として提供されている Agent tasks REST API を使用して、Copilot クラウドエージェントのタスクをプログラムで開始および追跡できるようになりました。
Copilot クラウドエージェントは独自の開発環境でバックグラウンドで動作し、コードの変更を加えて検証した後、プルリクエストを開くことができます。
この API により、Copilot クラウドエージェントをカスタム自動化ワークフローに容易に組み込むことが可能になります。例えば、以下のようなことが実現できます:
シンプルなスクリプトから多数のリポジトリに対してリファクタリングやマイグレーションを一括実行する。
社内の開発者ポータルからワンクリックで新しいリポジトリを設定する。
リリースノートを含めて毎週自動的に新バージョンの準備を行う。
タスクを開始した後、API を通じて進行状況を追跡することもできます。この API は、パーソナルアクセストークン(クラシックおよびファイングラインド)および OAuth トークンによる認証をサポートしています。
詳細については、Agent tasks REST API のドキュメントをご覧ください。
本記事「Copilot Pro、Pro+、Max 向けに Agent tasks REST API が利用可能に」は、最初に The GitHub Blog で公開されました。
原文を表示
Copilot Pro, Pro+, and Max users can now programmatically start and track Copilot cloud agent tasks with the Agent tasks REST API, available in public preview.
Copilot cloud agent works in the background in its own development environment, where it can make and validate code changes, then open a pull request.
The API makes it easy to weave Copilot cloud agent into custom automations. For example, you could:
Fan out refactors or migrations across many repositories from a simple script.
Set up new repositories in one click from your company’s internal developer portal.
Automatically prepare a new release each week, including release notes.
Once you’ve started a task, you can also track progress through the API. The API supports authentication with personal access tokens (classic and fine-grained) and OAuth tokens.
To learn more, head to the agent tasks REST API documentation.
The post Agent tasks REST API now available for Copilot Pro, Pro+, and Max appeared first on The GitHub Blog.
関連記事
GitHub Actions の失敗時に Copilot で修正する機能が Pro、Pro+、Max プランに追加
GitHub は、Copilot Pro、Pro+、Max ユーザー向けに、Actions ジョブの失敗時にワンクリックで Cloud Agent が原因調査と修正を自動実行し、ブランチへプッシュしてレビュー依頼する機能を新設した。
予算および使用量管理 API が一般提供開始
GitHub は、プログラムによる予算の作成・更新・削除や使用量の追跡、コストセンターデータの取得を可能にする拡張された請求 API の一般提供を開始した。
請求使用状況レポートへの API アクセスが一般提供開始
GitHub が企業管理者向けに、REST API を通じて請求使用状況レポートを CSV 形式で要求・ダウンロードできる機能を一般提供した。これにより、UI で利用可能な同様のレポートをプログラムから作成可能になった。