3 ms·
Can I replace Vercel’s AI SDK with Pi’s equivalent?
by theturtletalks 9mo ago
Can I replace Vercel’s AI SDK with Pi’s equivalent?
- badlogic 9mo agoIt's not an API drop in replacement, if that's what you mean. But the pi-ai package serves the same purpose as Vercel's AI SDK. https://github.com/badlogic/pi-mono/tree/main/packages/ai https://github.com/badlogic/pi-mono/tree/main/packages/ai
- theturtletalks 9mo agoI'll check it out, thanks for your work on this! Not only did you build a minimal agent, but the framework around it so anyone can build their own. I'm using Pi in the terminal, but I see you have web components. Any tips or creating a "Chat mode" where the messages are like chat bubbles? It would be easier to use on mobile.
- badlogic 9mo agoThe web package has a minimal example. I'm not a frontend developer, so YMM hugely V.