frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Anyone Using a Mac Studio for Local AI/LLM?

44•UmYeahNo•1d ago•28 comments

Ask HN: Ideas for small ways to make the world a better place

12•jlmcgraw•12h ago•18 comments

Ask HN: Non AI-obsessed tech forums

20•nanocat•9h ago•16 comments

Ask HN: Non-profit, volunteers run org needs CRM. Is Odoo Community a good sol.?

2•netfortius•7h ago•1 comments

Ask HN: 10 months since the Llama-4 release: what happened to Meta AI?

43•Invictus0•1d ago•11 comments

AI Regex Scientist: A self-improving regex solver

6•PranoyP•13h ago•1 comments

Ask HN: Who wants to be hired? (February 2026)

139•whoishiring•4d ago•514 comments

Ask HN: Who is hiring? (February 2026)

312•whoishiring•4d ago•511 comments

Tell HN: Another round of Zendesk email spam

104•Philpax•2d ago•54 comments

Ask HN: Is Connecting via SSH Risky?

19•atrevbot•2d ago•37 comments

Ask HN: Has your whole engineering team gone big into AI coding? How's it going?

17•jchung•2d ago•12 comments

Ask HN: Why LLM providers sell access instead of consulting services?

4•pera•20h ago•13 comments

Ask HN: What is the most complicated Algorithm you came up with yourself?

3•meffmadd•21h ago•7 comments

Ask HN: Any International Job Boards for International Workers?

2•15charslong•9h ago•2 comments

Ask HN: How does ChatGPT decide which websites to recommend?

5•nworley•1d ago•11 comments

Ask HN: Is it just me or are most businesses insane?

7•justenough•1d ago•6 comments

Ask HN: Mem0 stores memories, but doesn't learn user patterns

9•fliellerjulian•2d ago•6 comments

Ask HN: Is there anyone here who still uses slide rules?

123•blenderob•3d ago•122 comments

Kernighan on Programming

170•chrisjj•4d ago•61 comments

Ask HN: Anyone Seeing YT ads related to chats on ChatGPT?

2•guhsnamih•1d ago•4 comments

Ask HN: Does global decoupling from the USA signal comeback of the desktop app?

5•wewewedxfgdf•1d ago•2 comments

We built a serverless GPU inference platform with predictable latency

5•QubridAI•2d ago•1 comments

Ask HN: How Did You Validate?

4•haute_cuisine•1d ago•4 comments

Ask HN: Does a good "read it later" app exist?

8•buchanae•3d ago•18 comments

Ask HN: Have you been fired because of AI?

17•s-stude•4d ago•15 comments

Ask HN: Cheap laptop for Linux without GUI (for writing)

15•locusofself•3d ago•16 comments

Ask HN: Anyone have a "sovereign" solution for phone calls?

12•kldg•3d ago•1 comments

Test management tools for automation heavy teams

2•Divyakurian•1d ago•2 comments

Ask HN: OpenClaw users, what is your token spend?

14•8cvor6j844qw_d6•4d ago•6 comments

Ask HN: Has anybody moved their local community off of Facebook groups?

23•madsohm•4d ago•18 comments
Open in hackernews

60–70% of YC X25 Agent Startups Are Using TypeScript

7•Arindam1729•8mo ago
I recently saw a tweet from Sam Bhagwat (Mastra AI's Founder) which mentions that around 60–70% of YC X25 agent companies are building their AI agents in TypeScript.

This stat surprised me because early frameworks like LangChain were originally Python-first. So, why the shift toward TypeScript for building AI agents?

Here are a few possible reasons I’ve understood:

- Many early projects focused on stitching together tools and APIs. That pulled in a lot of frontend/full-stack devs who were already in the TypeScript ecosystem.

- TypeScript’s static types and IDE integration are a huge productivity boost when rapidly iterating on complex logic, chaining tools, or calling LLMs.

- Also, as Sam points out, full-stack devs can ship quickly using TS for both backend and frontend.

- Vercel's AI SDK also played a big role here.

I would love to know your take on this!

Comments

tomasen9987•8mo ago
This is interesting, TBH the Ease of using FE & BE in Typescript is the reason I think. I'm also using TS for that.
shams93•8mo ago
The agent layer is a kind of client and since typescript thanks to node and the browser has become a universal language for client sides, whether the client is used by a human or used agent to agent.
Arindam1729•8mo ago
Yes, For Client Facing Agents, TS is go-to option
iMax00•8mo ago
much more easier to built UI
Arindam1729•8mo ago
Ig this is one of the reasons!
rvz•8mo ago
> - Also, as Sam points out, full-stack devs can ship quickly using TS for both backend and frontend.

Typescript (which is still "Javascript") is extremely immature for a "backend" language.

I can't take anyone seriously if they believe or use such a pseudo-typed language like typescript and especially a weakly typed language with dynamic types on a costly runtime such as Javascript on the backend.

Both of them should stay far away from anything backend.

cianuro_•8mo ago
There is value in fast iteration and delivery. These are early stage startups, the clock is ticking. I wouldn’t do it with JS but I understand why it would be used.

Now we can argue how good or bad the nodejs (or any alternative JS implementation) is. At the end of the day the objective is most likely to rock the boat enough to be acquired and have a payday. With enough discipline you can get far before the footguns show up.

revskill•8mo ago
It depends. There is no right or wrong.
bravesoul2•8mo ago
Yeah I'd use something different for sure. If bang per buck is needed. Since an API call to AI can cost like 1c or more maybe it doesn't matter if you waste 100ms of cpu time.
smoody07•8mo ago
This is why TS is winning. Agent frameworks largely replace backend logic, and they have their own quirks with runtime costs. Most agent use cases look like chron job scripting or chatbots right now, and I expect we'll see far more use cases with proactive scripts. All of these avoid traditional bottleneck of runtime because the AI is the bottleneck.
ActorNightly•8mo ago
Most of the time on the backend is spent waiting for network requests to complete. With LLMs, the inference cost is even longer. You don't need much compute.

With dynamic languages like Python or TS/JS, you lose money in hardware cost, but you gain 10 fold in not having to pay your developers as much because everything gets done faster.

Strong typing is also not a guarantee of correctness. In fact, anything but fully strict dependently typed language is a waste of time honestly. Because with the former, you only write code, and if your program compiles, its guaranteed to be 100% correct, so you don't need to write unit tests.

If you don't have that, you have to write unit tests, at which point you may as well spend time writing the unit tests to prove correctness independent of the language being used.

ecesena•8mo ago
I'm not surprised, I don't think it has anything to do with AI, it's the same in blockchain and prob in all other fields.

I think ppl underestimate the cost of context switch between languages, even if you're really proficient in more than one.

If you're a team with 1-2 eng and have to build a frontend, you are forced to use js/ts. Now, if you can keep everything in a monorepo in the same language, you're simply moving faster. And I'm sure people will criticize and bring counter examples... but statistically 60-70% of the teams will just be faster working this way.

My first startup was frontend php, backend python, 2 eng; soon we specialized one working on frontend, the other on backend, it's tedious to context switch. My last startup was typescript for everything, again 2 eng, same code base, same coding style, both iterating on all code. (And daily I work in rust & C, I'm definitely not a frontend eng nor a js/ts enthusiast, I'm just reflecting on efficiency.)

amazingamazing•8mo ago
Makes sense - for front-end there's really no alternative. For back-end node.js is more than fast enough for pretty much any startup.
pianopatrick•8mo ago
Is there a recommended typescript library for building AI agents?
Arindam1729•8mo ago
Some are growing, Like Mastra. I see a lot of folks using it
pianopatrick•8mo ago
Thanks
foobarbaz33•8mo ago
Web based UI's (javascript baked in) are the only cross platform GUI all the major tech players endorse. Companies like Apple are hostile to alternative GUI frameworks, except web browser. Flash? that threatens the walled gardens so the big tech cartel came together to squash it out. Java graphics? we will not ship a JVM becuase "security". The web was already ubiquitous so the big tech couldn't squash it without squashing their own foot.

Typescript let's you start with a cross platform GUI right out of the gate. Text based HTML GUI is screen reader friendly, battle hardened for many years to get accessibility right.

Type system is advanced and allows for that sweet IDE experience.

And.... the Javascript ecosystem is the only game in town that gets close to the Lisp immediate feedback experience. (no Javascript is not as good as a lisp image, but it's better than nothing). Change a function, see the result instantly in the browser while you're app is still running. I'm not 100% sure this is true for Typescript as it must compile to javascript first, but compiling the TypeScript for 1 modified file with an on-save-hook could still be a pretty quick feedback loop.

Do these reasons have anything to do with AI agents? no but it would explain why people are already using Typescirpt, and thus use it for AI agents.