AIニュース最前線
最新ニュースAI日報Hacker日報週報動画AIツールトレンド企業

AIニュース最前線

世界中のAI最新情報を日本語で毎時更新

最新ニュース日報トレンド企業プレミアムRSS
© 2026 ainew.jp特定商取引法に基づく表記
ニュース一覧元記事を開く
InfoQ·2026年4月21日 11:34·約3分で読める

Cloudflare、AIエージェント向け「Project Think」発表:耐久性のあるランタイム

#AIエージェント#耐久性実行環境(Durable Execution)#アクターモデル#Cloudflare#インフラ
TL;DR

CloudflareはAIエージェント向けの新ランタイム「Project Think」を発表し、ステートレス実行から耐久性のあるアクター基盤へ移行。メモリ管理とコード実行を分離したカーネル設計、および進捗保存機能「Fibers」により、エージェントの効率と回復力を強化する。

AI深層分析2026年4月21日 12:28
4
重要/ 5段階
深度40%
4
関連度30%
5
実用性20%
4
革新性10%
3

キーポイント

1

アクターベースの耐久性基盤へ移行

従来のステートレスなオーケストレーションから脱却し、障害発生時にも状態を保持して再開可能な耐久性のあるアクター基盤を採用。

2

カーネルライクな低レベルランタイムの実装

エージェントがメモリを直接管理し、コードを安全に実行できるカーネルに近いランタイム環境を提供し、セキュリティと制御性を向上。

3

FibersとSession APIによる運用効率化

進捗のチェックポイント保存機能「Fibers」と対話履歴を管理する「Session API」を実装し、複雑なエージェントワークフローの信頼性と効率性を高める。

影響分析・編集コメントを表示

影響分析

Cloudflareは既存のグローバルネットワークとセキュリティ基盤を活用し、AIエージェントの実行インフラを標準化する動きを示している。これにより、開発者はエージェントの耐久性とセキュリティをゼロから構築する負担が減り、業界全体で「信頼性の高いエージェントランタイム」が標準規格として定着する可能性が高い。

編集コメント

既存のクラウドセキュリティ大手がAIエージェントの実行基盤に本格的に参入し、耐久性とセキュリティを標準機能として提供するのは業界の成熟を示す指標である。開発者は既存のエージェントフレームワークとの統合可能性を注視すべきだ。

Cloudflareは、そのAgents SDK向けのプリミティブ(基本機能)スイートであるProject Thinkのプレビューを発表しました。これは、ステートレスなオーケストレーションから耐久性のあるアクターベースのインフラストラクチャへとAIエージェントを移行させるために設計されています。今回のリリースでは、プラットフォームの再起動後もエージェントが生存し、関係型メモリツリーを管理し、制限されたサンドボックス内で自己作成コードを実行できる、カーネルのようなランタイムが導入されました。このカーネルプリミティブは、OpenClawなどの新しいパーソナルエージェントフレームワークの成功をモデルとして採用しています。

既存のエンタープライズフレームワーク、例えばGoogleのAgent Development Kit(ADK)やAWS Bedrock AgentCoreは、主にリクエストレスポンスモデルを利用しています。これらのサービスはセッション状態の再構築(リハイドレーション)を管理しますが、実質的にはスナップショット上で動作します。これらのアーキテクチャでは、エージェントのメモリは外部化されたKVマップまたはJSONブロックであり、ターン開始時にリモートストアからフェッチされます。このパターンの限界は長時間実行されるタスクにおいて顕著になります。複雑な推論サイクル中に基盤となるサーバーレスコンピューティングがプリエンプト(割り込み)されると、実行コンテキストが消滅し、ロジックの実際の進捗が失われます。フレームワークは最後に保存されたスナップショットを再構築できますが、その実行ウィンドウ中に達成された具体的な進捗は失われるため、システムは最後の成功した保存状態から全体の操作を再起動せざるを得なくなります。

Project Thinkの中核的な革新は、Fibers(ファイバー)の導入です。標準的なサーバーレス関数呼び出しとは異なり、ファイバーは自身の命令ポインタ(インストラクションポインター)をチェックポイントできる耐久性のある呼び出しです。runFiberプリミティブとctx.stash()を活用することで、開発者はエージェントの進捗を内部の共置(コロケーション)SQLiteデータベースに直接保存できます。

これにより、エージェントは従来のサーバーレスタイムアウトを超える非確定的で長時間実行されるワークロードを処理できるようになります。エージェントがループの途中でプラットフォーム再起動が発生した場合、ランタイムはファイバーを復元しonFiberRecoveredフックを発動させ、エージェントが最後のチェックポイントから実行を再開できるようにします。

typescript
// 例:複数ステップの調査ループのチェックポイント
export class ResearchAgent extends Agent {
  async startResearch(topic: string) {
    void this.runFiber("research", async (ctx) => {
      const findings = [];

      for (let i = 0; i < 10; i++) {
        const result = await this.callLLM(`Step ${i}: ${topic}`);
        findings.push(result);

        // チェックポイント:退去(eviction)された場合、ここから再開
        ctx.stash({ findings, step: i, topic });
      }
      return { findings };
    });
  }

  async onFiberRecovered(ctx) {
    if (ctx.name === "research" && ctx.snapshot) {
      const { topic, step } = ctx.snapshot;
      // 保存された進捗に基づいて再開ロジックを実行
      await this.continueResearch(topic, step);
    }
  }
}
原文を表示

Cloudflare has announced the preview of Project Think, a suite of primitives for its Agents SDK designed to transition AI agents from stateless orchestration into a durable, actor-based infrastructure. The release introduces a kernel-like runtime where agents survive platform restarts, manage relational memory trees, and execute self-authored code within restricted sandboxes. The kernel primitives are modelled after the success of new personal agent frameworks such as OpenClaw.

Existing enterprise frameworks, for example,  Google’s Agent Development Kit (ADK) and AWS Bedrock AgentCore, primarily utilize a request-response model. While these services manage the rehydration of session state they effectively operate on snapshots. In these architectures, the agent’s memory is an externalized KV map or JSON blob fetched from a remote store at the start of a turn. The limitation of this pattern appears during long-running tasks. If the underlying serverless compute is preempted during a complex reasoning cycle, the execution context vanishes, losing the actual progress of the logic. The framework can rehydrate the last saved snapshot, but the specific progress made during that execution window is lost, forcing the system to restart the entire operation from the last successful save.

Project Think's central innovation is the introduction of Fibers. Unlike a standard serverless function call, a fiber is a durable invocation that can checkpoint its own instruction pointer. By leveraging the runFiber primitive and ctx.stash(), developers can preserve the agent’s progress directly in an internal, co-located SQLite database.

This allows agents to handle non-deterministic, long-lived workloads that exceed traditional serverless timeouts. If a platform restart occurs while an agent is mid-loop, the runtime recovers the fiber and triggers the onFiberRecovered hook, allowing the agent to resume execution from the last checkpoint.

TypeScript

// Example: Checkpointing a multi-step research loop

export class ResearchAgent extends Agent {

async startResearch(topic: string) {

void this.runFiber("research", async (ctx) => {

const findings = [];

for (let i = 0; i < 10; i++) {

const result = await this.callLLM(Step ${i}: ${topic});

findings.push(result);

// Checkpoint: if evicted, the fiber resumes from here

ctx.stash({ findings, step: i, topic });

}

return { findings };

});

}

async onFiberRecovered(ctx) {

if (ctx.name === "research" && ctx.snapshot) {

const { topic, step } = ctx.snapshot;

// Resume logic based on stashed progress

await this.continueResearch(topic, step);

}

}

}

To address the security and latency challenges of tool-calling, Think allows agents to generate code and introduces graduated execution security environments. These tools run in Dynamic Workers, restricted V8 isolates spun up in milliseconds without access priveleges. This allows an agent to generate a custom extension and execute complex logic locally within the sandbox. This reduces token consumption significantly, as the model no longer needs to process raw data through the context window for every intermediate step.

Think also reimagines session persistence. While many frameworks utilize a linear history, Think’s Session API stores conversations as a relational tree. Messages are indexed with a parent_id, allowing the agent to branch and fork conversations, enabling the exploration of alternative solutions in parallel without "polluting" the primary reasoning path.

The system also provides editable Context Blocks: structured, persistent sections of the system prompt that the model can query and update. This allows the agent to proactively manage its own "learned facts" and perform non-destructive compaction of older dialogue branches.

Project Think is currently available in experimental preview for Cloudflare Workers users.

About the Author

Patrick Farry

I am a software engineer and architect, and have been one for almost 30 years. Grew up in Australia but now reside in Santa Clara, California. I have been working in fintech and logistics, and am now working on a IoT and Vision Language Model project. I have always liked writing and always wanted to contribute to the community, and I see InfoQ as a great way to do this. As a younger engineer I heavily used InfoQ as a trusted source for information on new technology and am now particularly proud to be a part of the editorial team. Outside of work I ride a bike, go to the gym, and have recently started rowing. I am married with two daughters who have left home and have two dogs who would never leave.

Show moreShow less

この記事をシェア

関連記事

InfoQ★42026年4月22日 19:00

Cloudflareサンドボックスが一般提供開始、AIエージェントに永続的な隔離環境を提供

CloudflareはAIエージェント向けにSandboxesを一般提供開始し、永続的な隔離Linux環境を提供した。資格情報注入やセッション復元機能も実装された。

The Register AI/ML★42026年4月28日 01:20

AIの現実検証:3社がウォレット、住宅、ゲーム構築で学んだこと

シティ、ホームデポ、カプコンの経営陣は、AIエージェントが実験ツールから顧客対応業務へ移行する過程で得た知見を語った。次なる課題は、金銭や創造的出力に関わる際のガバナンスと信頼性の確保である。

The Decoder★42026年4月25日 19:18

アンストロピック「強力なAIモデルはより良い取引を実現し、劣るモデルを使う利用者は気づかない」

アンストロピックは社内市場で69のAIエージェントに取引をさせ、強力なモデルがより良い結果を出した。利用者は劣るモデルの差に気づかず、AIの実取引化は経済格差を拡大させる可能性がある。

ニュース一覧に戻る元記事を読む