Claude Code和Instinct是两款主流移动AI Agent产品,在虚拟机基础设施层面采用了截然不同的技术方案1。Claude Code运行在Anthropic自建的Firecracker微虚拟机上,启动时间从约430毫秒到init进程,再到约6.4秒到达harness进程1。其虚拟磁盘采用分层分配策略:256GB可写磁盘用于存储用户数据,341MB只读磁盘承载324MB的Bun harness,45.6MB只读磁盘启动任务,另有只读磁盘存储技能集1。在安全隔离方面,Claude Code的推理通过HTTPS/2的Server-Sent Events连接到推理端点,采用仅限出口网关443端口的限制性网络架构1,并将所有操作封闭在客户端。
相比之下,Instinct采用租赁E2B沙盒服务的方案,运行Ubuntu 22.04.5系统,配置为2个vCPU、1.9GB内存和29GB磁盘,冷启动时间约1.26秒1。Instinct的核心特色在于其持久化策略——agent内存存储在/memory目录的git仓库中(采用Markdown和wiki-links格式),整个git bundle被推送到S3进行持久化1。认证方面采用短期STS凭证验证S3访问权限,包含ASIA前缀和会话令牌,而非传统的长期密钥1。在功能执行层面,Instinct通过tools命令行工具支持约50个命名空间的操作,覆盖Gmail、Notion、Slack和Stripe支付等服务1。其cloud_browser工具允许最多5个并发运行租约,其中限制一个写入租约用于保存新登录1。
Claude Code and Instinct represent two distinct architectural approaches to powering mobile AI agents, each employing different virtualization strategies and persistence mechanisms.1
Claude Code operates on Anthropic's custom-built Firecracker microVM infrastructure, with boot times reaching approximately 430 milliseconds to initialization and 6.4 seconds to the harness process.1 The system allocates virtual storage across multiple disk partitions: a 256GB writable volume for user data, a 341-megabyte read-only disk containing a 324MB Bun harness, a 45.6-megabyte read-only task launcher, and additional read-only skill set volumes.1 Inference communication flows through HTTPS/2 Server-Sent Events connections to the /v1/messages endpoint, with outbound traffic restricted to port 443 through a dedicated gateway.1
Instinct takes a different approach by leveraging E2B's managed sandbox service running Ubuntu 22.04.5, configured with 2 vCPUs, 1.9 gigabytes of RAM, and 29 gigabytes of disk space, achieving cold start times around 1.26 seconds.1 Rather than storing state in writable system volumes, Instinct persists agent memory as a git repository stored in the /memory directory using Markdown and wiki-link formatting, which is then pushed to S3 as a complete git bundle.1 The system authenticates to S3 using temporary STS credentials prefixed with ASIA and session tokens rather than long-term access keys.1 Task execution occurs through a tools CLI that supports approximately 50 namespaced operations spanning services including Gmail, Notion, Slack, and Stripe, while the cloud_browser tool permits up to five concurrent execution leases with a single write lease designated for saving new login credentials.1
评论
还没有评论,欢迎留下第一条。