3 ms·
A TypeScript first AI framework is something that has been missing. How do you work with AI SDK?
by bobremeika 2y ago
A TypeScript first AI framework is something that has been missing. How do you work with AI SDK?
- calcsam 2y agoWe originally were wrapping AI SDK, but that confused people who wanted to use both, so we decided to make the API more explicit, eg: import { Agent } from "@mastra/core/agent"; import { openai } from "@ai-sdk/openai"; export const myAgent = new Agent({ name: "My Agent", instructions: "You are a helpful assistant.", model: openai("gpt-4o-mini"), });
- soulofmischief 2y agoMine is written in TypeScript and I still think it's more ergonomic than anything else I'm seeing in the wild. Maybe there's finally an appetite for this stuff and I should release it. The Mastra dashboard looks pretty nice, might take some notes from it.
- swyx 2y agoidk man https://js.langchain.com/docs/introduction/ https://js.langchain.com/docs/introduction/ https://www.vellum.ai/products/workflows-sdk https://www.vellum.ai/products/workflows-sdk https://github.com/transitive-bullshit/agentic https://github.com/transitive-bullshit/agentic which is not to say any of them got it right or wrong, but it is by no means "missing". the big question w all of them is do they deliver enough value to last. kudos to those who at least try, of course
- campers 2y agohttps://typedai.dev https://typedai.dev is another full-featured one I've built, with a web UI, multi-user support, code editing agents, CodeAct autonomous agent