長時間稼働AIエージェント運用分析

Qwen4-Maxが示す、Long-Running Agent StateをOperating Boundaryにする設計

Alibabaは48時間のQwen4 agent runと100万tokenのcontext windowを報告。本番autonomyには外部checkpoint、限定authority、effect単位のevidence、検証済みrecoveryが必要です。

読了目安 6分

Alibabaが公開したもの

Alibabaは11月16日、QwenCloudのAPIとToken Plan、QwenWork、QwenStudioでQwen4-Maxを公開しました。Alibabaは、総parameter 2.4兆、tokenごとに710億parameterをactivateするsparse mixture-of-experts modelで、native visionと100万tokenのcontext windowを備えると説明しています。またCode Arenaで6位となり、agent、workplace、visual reasoningの評価で高い結果を得たと報告しています。

Alibabaは2件のlong-horizon scientific demonstrationも報告しています。1件はmolecular design、synthesis、testing、active learningのclosed loopを4回反復し、48時間連続で実行しました。もう1件では454回のtool callと3,239回のmetric evaluationを行い、24件のcandidate moleculeを最適化しました。これらはvendorが報告したdemonstrationであり、一般的な本番reliabilityの独立証拠ではありません。以下はIneezaの運用分析です。

Long Context WindowはDurable Stateではない

100万tokenのwindowは、より多くのobservationと中間reasoningをmodelから参照可能にします。しかし、どのfactがauthoritativeか、process restart後にも何が残るか、どのartifact versionが後続actionを生んだかを、それ自体では確立しません。

Ineezaの分析: Objective、approval、tool result、artifact hash、外部system version、pending obligationをprompt外のdurable state machineへ保存します。各checkpointは最後にcommitしたeffectと次に許可されるtransitionを特定すべきです。そのrecordからcontextを再構築できるようにし、recordをmodelの記憶へ依存させません。Run再開前に、retention、compaction、summarizationによるconstraint消失とstale evidenceをtestします。

Continuous ExecutionにはBounded Authorityが必要

報告された48時間workflowはdesign、synthesis、physical testing、active learningを横断しました。稼働が長いほど、古いassumption、侵害されたtool、累積errorが重大なeffectへ変わる機会も増えます。

Ineezaの分析: Run全体ではなくstageごとにcapabilityを付与します。Credentialをagent、task、tool、resource、operation、budget、expiryへbindします。Workflowのphase変更、simulationからphysical・financial effectへの移行、threshold超過、未分類stateの発生時には新しいauthorizationを要求します。Modelにcontextと継続意思があっても、timeout時にはauthorityを失効させる必要があります。

IterationにはCommit Gateと独立したAcceptanceが必要

Closed-loop operationでは、1つのiterationのoutputが次のiterationのinputになります。Candidateを改善できる一方、初期のmeasurementやinterpretation errorを永続的なpremiseへ変える可能性もあります。

Ineezaの分析: Proposal、validation、commitment、executionを分離します。Iterationをacceptする前にschemaとprovenanceを検証し、deterministic checkでdomain constraintを強制し、version付きbaselineと比較して、明示的なacceptance decisionを記録します。重大なphysical、financial、production changeにはcommit gateでhumanまたは独立policy serviceが必要です。同じevidenceを使ってmodelが自己検証し、そのまま次のirreversible stepをauthorizeしてはいけません。

Tool Call数はLoadとEvidenceの要件になる

AlibabaはAlzheimer’s research demonstrationで454回のtool callと3,239回のmetric evaluationを報告しています。この規模ではretry、duplicate delivery、partial failure、rate limit、dependency変更は例外ではなく通常のoperating conditionです。

Ineezaの分析: 各intentとeffectへstable identifierを付与します。Normalized input、policy decision、tool・model version、attempt number、response、cost、resulting stateを記録します。Effectを持つcallはidempotentにするか、retry前にreconcileします。Call、token、wall time、外部resourceを別々にbudget化し、backpressureとlimit到達時のterminal safe stateを設けます。Aggregate success rateでは、二重payment、上書きartifact、観測されないphysical actionを隠す可能性があります。

RecoveryはRun中に実証する

発表はsustained executionを説明していますが、restart semantics、checkpoint frequency、operator intervention、failure injection、recovery objectiveは明らかにしていません。この不記載はdemonstrationを否定するものではありませんが、operatorが推測できる範囲を限定します。

Ineezaの分析: Representative runをtool dispatch後、acknowledgement前、checkpoint保存中、外部effect後に中断します。Restart時にはeffect発生の有無を判定し、durable stateから再開し、workを暗黙にrepeatまたはskipしないことを確認します。Credential expiry、dependency drift、corrupted observation、reviewer不在、emergency stopもtestします。Operatorが停止、inspection、reconciliation、安全な再開を行える場合にのみ、long-running autonomyは本番readyです。

Ineezaの見解

Qwen4-Maxが重要なのは、agent evaluationを短いinteractive sessionから複数日にわたるtool-intensive operationへ進めた点です。Model capabilityとcontext lengthはrunを延長できますが、operating contractにはなりません。本番systemにはdurable checkpoint、phase固有のauthority、独立commit gate、effect単位のevidence、中断下で検証したrecoveryが必要です。Agentの稼働が長くなるほど、安全性はmodel外のinfrastructureへ依存します。

← Ineeza ホーム