diff --git a/knowledge/ai/practice/scheduled-tasks.md b/knowledge/ai/practice/scheduled-tasks.md index 1d16a2c..c47b741 100644 --- a/knowledge/ai/practice/scheduled-tasks.md +++ b/knowledge/ai/practice/scheduled-tasks.md @@ -111,18 +111,27 @@ on: エージェント CLI を Action 内で起動する場合、Anthropic の利用ポリシーにより **API key 認証推奨**(後述)。サブスクの OAuth トークンは技術的には使えるが、CI 自動化は "ordinary individual use" の範囲外と明文化されている。 -## 5. OpenAI Codex Cloud / Workspace Agents +## 5. 他の CLI エコシステムの Routines 相当 -ChatGPT 系の同等機能は 2 つに分かれている。 +主要 4 コーディングエージェント CLI それぞれに、クラウドで自律/定期実行する「Routines 相当」がある(多くは CLI 本体とは別プロダクト)。Routines の定義特性(**クラウド非同期 × スケジュール/API/GitHub トリガー × 自律 PR**)で並べると、3 トリガーすべてを 1 プロダクトに束ねているのは **Claude Code Routines と Google Jules**。**Codex cloud と Copilot coding agent は native schedule を欠き**(定期実行は別プロダクト / GitHub Actions で代替)、Codex cloud は API トリガーも公式 docs に明記がない。 -| プロダクト | 何ができるか | 対応プラン | -|---|---|---| -| [Codex cloud](https://developers.openai.com/codex/cloud) | Codex CLI が cloud 環境で非同期タスクを実行(ノート閉じても継続、並列可) | ChatGPT Plus / Pro / Business / Edu / Enterprise(Free 除く) | -| [Workspace agents](https://openai.com/index/introducing-workspace-agents-in-chatgpt/) | チーム共有エージェント、スケジュール実行、Slack 連携 | Business / Enterprise / Edu / Teachers のみ(research preview) | +| CLI エコシステム | クラウド自律プロダクト | スケジュール | API/webhook 起動 | GitHub イベント | 自律 PR | 成熟度 | +|---|---|---|---|---|---|---| +| **Claude Code** | **Routines** | ✓(最小 1h) | ✓(`/fire`) | ✓(PR/Release) | ✓ | research preview | +| **Codex CLI**(OpenAI) | **Codex cloud** + Workspace agents + ChatGPT Scheduled Tasks | △(Workspace agents / ChatGPT tasks 側) | 不明(Codex cloud の docs に明記なし) | ✓(`@codex` を issue/PR にタグ) | ✓ | Codex cloud: 提供中(GA/preview 明記なし)/ Workspace agents: research preview | +| **Gemini CLI**(Google) | **Jules**(非同期コーディングエージェント)+ Gemini CLI GitHub Action | ✓(Daily/Weekly 等の recurring) | ✓(REST API `v1alpha/sessions`) | ✓(issue に `jules` ラベル → PR) | ✓ | alpha(experimental) | +| **GitHub Copilot CLI** | **Copilot coding agent** | ✗(単体は無し。Actions の cron+API で代替) | ✓ | ✓(issue assign 等) | ✓(指定で即 PR) | GA | + +凡例: ✓=対応 / ✗=非対応 / △=条件付き・別プロダクト経由 / 不明=公式 docs で未確認(2026-05 時点)。 + +> **ソース確認状況**: Routines / Codex cloud / Jules(scheduled-tasks・API reference 含む)/ Copilot coding agent は各社公式 docs を直接 fetch して確認済み。**Workspace agents のみ** OpenAI の blog / help center が automated fetch を `403` で拒否するため、KB 既検証値(2026-05-24)に依拠している。 -> **注意**: Workspace Agents は **ChatGPT Plus / Pro では利用不可**。チーム/エンタープライズプラン限定。**2026-05-06 に無料期間が終了**し、現在は Business / Enterprise / Edu / Teachers の月次クレジットプールから token 単位(credits/million input/cached/output tokens)で消費されるクレジットベース課金。詳細は OpenAI Help Center [Flexible pricing for the Enterprise, Edu, and Business plans](https://help.openai.com/en/articles/11487671-flexible-pricing-for-the-enterprise-edu-and-business-plans) を参照。 +### 各エコシステムの要点 -Anthropic Routines に最も近いのは Workspace Agents(スケジュール実行 + ノート閉じても継続)だが、個人プランでは選択肢から外れる。Plus / Pro ユーザーが OpenAI 側で背景実行を使いたい場合は Codex cloud が候補。 +- **Codex CLI(OpenAI)**: クラウド非同期は [Codex cloud](https://developers.openai.com/codex/cloud)(バックグラウンド/並列実行、Plus / Pro / Business / Edu / Enterprise に込み、Free 除く。docs は GA/preview を明記せず)。トリガーは web / IDE 拡張 / GitHub の `@codex` タグで、PR を作成できる。**API・スケジュールでの起動は Codex cloud の docs に明記なし**。定期実行が必要なら [Workspace agents](https://openai.com/index/introducing-workspace-agents-in-chatgpt/)(スケジュール + Slack 連携、Business / Enterprise / Edu / Teachers 限定の research preview)か、ChatGPT の Scheduled Tasks(汎用パーソナルアシスタント。コーディング/PR 自動化エージェントではない)。Routines に最も近いのは Workspace agents だが個人プランでは選べない。 + > **注意**: Workspace Agents は **ChatGPT Plus / Pro では利用不可**。チーム/エンタープライズプラン限定。**2026-05-06 に無料期間が終了**し、現在は Business / Enterprise / Edu / Teachers の月次クレジットプールから token 単位(credits/million input/cached/output tokens)で消費されるクレジットベース課金。詳細は OpenAI Help Center [Flexible pricing for the Enterprise, Edu, and Business plans](https://help.openai.com/en/articles/11487671-flexible-pricing-for-the-enterprise-edu-and-business-plans) を参照。 +- **Gemini CLI(Google)**: Google の非同期コーディングエージェントは [Jules](https://jules.google)。**トリガー 3 種がそろう**(Routines に最も近い): ① GitHub issue の `jules` ラベル → PR、② [REST API](https://jules.google/docs/api/reference/)(`POST https://jules.googleapis.com/v1alpha/sessions` で session 起動、`X-Goog-Api-Key` 認証、**alpha**)、③ [Scheduled tasks](https://jules.google/docs/scheduled-tasks/)(Daily / Weekly 等の recurring で routine 的な保守を自動実行)。タスク数ベースの無料 / Pro / Ultra(15 / 100 / 300 tasks/day)で "experimental" 表記。Gemini CLI 本体を CI で回すなら `run-gemini-cli` の GitHub Action。 +- **GitHub Copilot CLI**: クラウド自律は [Copilot coding agent](https://docs.github.com/en/copilot/concepts/agents/coding-agent)(GitHub Actions 基盤、GA)。issue アサイン / Copilot Chat / Slack・Teams・Jira・Linear 等から起動し PR を作る(プロンプトで「すぐ PR」を指定可)。Pro / Pro+ / Business / Enterprise、課金は Actions 分 + Copilot premium request。**エージェント単体に cron は無く**、定期実行は GitHub Actions の schedule + API 呼び出しで代替する。 ## 認証と課金(重要) @@ -184,5 +193,7 @@ Anthropic Routines に最も近いのは Workspace Agents(スケジュール - [Claude Code on the web](https://code.claude.com/docs/en/claude-code-on-the-web) - [Legal and compliance(OAuth と API key の使い分け)](https://code.claude.com/docs/en/legal-and-compliance) - [OpenAI Codex Cloud](https://developers.openai.com/codex/cloud) +- [Google Jules](https://jules.google) +- [GitHub Copilot coding agent](https://docs.github.com/en/copilot/concepts/agents/coding-agent) - [OpenAI Workspace Agents](https://openai.com/index/introducing-workspace-agents-in-chatgpt/) - 関連: `platforms/github-actions.md` / `ai/agents/claude-code.md` / `ai/practice/multi-agent-repo.md` diff --git a/scripts/staleness/sources.yaml b/scripts/staleness/sources.yaml index 023796d..2c69c22 100644 --- a/scripts/staleness/sources.yaml +++ b/scripts/staleness/sources.yaml @@ -375,6 +375,9 @@ ai/practice/scheduled-tasks: - https://code.claude.com/docs/en/web-scheduled-tasks - https://code.claude.com/docs/en/desktop-scheduled-tasks - https://developers.openai.com/codex/cloud + - https://jules.google + - https://jules.google/docs/scheduled-tasks/ + - https://docs.github.com/en/copilot/concepts/agents/coding-agent - https://code.claude.com/docs/en/legal-and-compliance related_internal: - ai/agents/claude-code-routines