Vercel Sandbox Drives: workspace ถาวรกำลังกลายเป็นโครงสร้างพื้นฐานของ AI agent

Tech

ปัญหาของ agent ไม่ใช่แค่เขียนโค้ด แต่คือการรักษา state ของงานระยะยาวโดยไม่ทำให้ sandbox สูญเสีย isolation.

Vercel Sandbox Drives ทำให้ workspace ของ agent อยู่ข้าม sandbox ได้ architecture diagram
Vercel Sandbox Drives ทำให้ workspace ของ agent อยู่ข้าม sandbox ได้

เกิดอะไรขึ้น

Vercel เปิดตัว Drives เป็น storage แบบ persistent ที่ attach ได้ และมี lifecycle แยกจาก Sandbox สามารถ mount เข้า path เช่น /workspace เมื่อสร้าง Sandbox ใหม่.

ทำไมสำคัญ

Agent ต้อง clone repo, install dependency, run test และสร้าง artifact ถ้าทุกอย่างหายทุกครั้ง ต้นทุน setup และ review จะสูงขึ้น.

Checklist

  • กำหนดขอบเขต drive เป็น user, repository หรือ task
  • อย่าเก็บ secret
  • บันทึก git status และผล test
  • ออกแบบให้มี writer เดียวในช่วง beta
  • ตั้ง TTL cleanup

ความเสี่ยง

Persistence อาจเก็บ cache เก่าและไฟล์อ่อนไหวไว้ Vercel ระบุว่า private beta ไม่ควรใช้กับ production data.

แหล่งที่มา

다른 글