[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[AI SDK](/c/ai-sdk/62)

# Open-source coding agent for Vercel AI SDK with Webcontainers and Vercel Sandboxes support

81 views · 0 likes · 1 post


Marcus (@marcusschiesser) · 2026-03-03

I rewrote Pi, the coding agent used by OpenClaw, using the `Vercel AI SDK` and added a runtime abstraction. In addition to `Node.js`, you can now use `Webcontainers` or `Vercel Sandboxes`.

The class implements the `Vercel AI Agent` interface, so you can drop it into your existing code.

It’s similar to the Claude Agent SDK, but allows you to use any model.

### Example
![image](https://global.discourse-cdn.com/vercel/original/3X/5/c/5c34e25b986ce10a3a72e63a60770442f3b9bbd1.jpeg)

### Resources
- **GitHub**: [https://github.com/marcusschiesser/edge-pi](https://github.com/marcusschiesser/edge-pi)
- **Docs**: [https://edge-pi-beta.vercel.app/](https://edge-pi-beta.vercel.app/)
- **X**: [https://x.com/MarcusSchiesser/status/2021083617368342984](https://x.com/MarcusSchiesser/status/2021083617368342984)