logoalt Hacker News

bobremeikalast Wednesday at 5:40 PM4 repliesview on HN

A TypeScript first AI framework is something that has been missing. How do you work with AI SDK?


Replies

swyxlast Wednesday at 6:32 PM

idk man

https://js.langchain.com/docs/introduction/

https://www.vellum.ai/products/workflows-sdk

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

calcsamlast Wednesday at 5:54 PM

We 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"), });

camperslast Thursday at 1:02 PM

https://typedai.dev is another full-featured one I've built, with a web UI, multi-user support, code editing agents, CodeAct autonomous agent

soulofmischieflast Wednesday at 6:04 PM

Mine 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.