agent-substrate / agent-substrate/substrate

E2B Protocol Compatibility: Metadata, TTL, and Snapshot/Fork APIs

未关闭
#1,331 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area/api kind/feature
主要语言
Go
星标
1.8k
派生
316
平均合并
2 天 43 分钟
30 天内合并 PR
287

描述

**I'm using OpenKruise Agent with Substrate as the backend to implement sandbox management following the E2B protocol. The core APIs are already functional, but there are a few issues I'd like to raise. I understand the Substrate project's current priority is to get the end-to-end path working first, then iterate on more advanced capabilities. That said, I'd like to surface some questions early on and hear how the team is thinking about these.**

**1. Actor-level metadata and lifecycle fields:**
Support `Metadata.Annotations` and `Metadata.Labels` on Actors to enable user identity association. Additionally, support fields like `timeout` (TTL duration), `timeout_action` (expiry action: Pause / Delete), and `expires_at` (absolute expiry timestamp) to enable automatic suspension and termination based on TTL.

**2. Snapshot and fork interfaces:**
Support snapshot and fork APIs, with behavior aligned to the E2B protocol specification.

Related Issue in Substrate
#553 Support sandbox platforms running on Substrate

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。