frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

LLM functions in TypeScript: a composable pattern for prompt/LLM/parse/execute

https://medium.com/llm-exe
5•llm-exe•10mo ago

Comments

llm-exe•10mo ago
A few weeks ago I posted about llm-exe, a TypeScript library for structuring LLM calls with reusable components.

I just put together a Medium series that digs deeper into how it works. It breaks down the idea of an LLM function - an executor that wraps a prompt, a model, and a parser. Each part does one thing well, and together they give you a clean, well-typed, testable, and composable way to work with LLMs.

The posts walk through each layer: prompt, parser, LLM, executor. If you're building LLM features in production with TypeScript, I think you’ll find the structure helpful. I am interested in any feedback.

Medium series: https://medium.com/llm-exe

mrbashtech•10mo ago
Great work! folks at llm-exe; As a TypeScript developer working with LLMs, llm-exe has been a game-changer for me. It abstracts away the boilerplate of prompt formatting, model integration, and response parsing, allowing me to focus on building features.

The modular design—separating prompts, parsers, and executors—makes my codebase cleaner and more maintainable. Plus, the ability to switch between different LLM providers with minimal code changes is incredibly convenient.

Mike's Weather Page

https://spaghettimodels.com/
1•natebc•31s ago•0 comments

Ask HN: Which breakthroughs fixed AI-generated hands and text?

1•kelseyfrog•49s ago•0 comments

Writing Changes Mathematical Thought

https://www.quantamagazine.org/how-writing-changes-mathematical-thought-20260325/
1•ibobev•58s ago•0 comments

Ask HN: Where are legit examples of agentic coded products or software?

1•dirtbag__dad•59s ago•0 comments

Iscooked.com – a CLI tool to check if your local LLM setup is a security problem

https://iscooked.com/
1•dinosoupy•1m ago•0 comments

Nintendo make it official: digital Switch 2 games will now be cheaper

https://hanafuda.report/articles/nintendo-make-it-official-digital-switch-2-games-will-now-be-che...
1•brandrick•1m ago•0 comments

The FCC bans all routers made outside the U.S.

https://mashable.com/article/us-fcc-foreign-router-ban
1•gscott•3m ago•0 comments

I bought the MacBook Neo and it sucks

https://alexandmanu.com/blog/the-macbook-neo-disappointment/
1•leksje•3m ago•0 comments

A single-file C allocator with explicit heaps and tuning knobs

https://github.com/xtellect/spaces
1•enduku•4m ago•1 comments

Fedora Project Leader Suggests Linux Could Adopt Apple's Age Verification API

https://itsfoss.com/news/fedora-leader-suggests-age-verification-api/
2•speckx•5m ago•0 comments

Skeleton of Three Musketeers hero d'Artagnan may have been found

https://www.theguardian.com/world/2026/mar/25/skeleton-three-musketeers-dartagnan-alexandre-dumas
1•Archelaos•5m ago•0 comments

Swarm simulation 140 Agents, Mirofish inspired

https://murlyn.ai
1•dutybird•5m ago•0 comments

Bond between dogs and humans dates back more than 15,000 years, study finds

https://www.theguardian.com/science/2026/mar/25/bond-dogs-humans-dates-back-15000-years-study-finds
1•Archelaos•6m ago•0 comments

Meta cutting several hundred jobs across Reality Labs, Facebook and others

https://www.cnbc.com/2026/03/25/meta-layoffs-reality-labs-facebook.html
1•garbawarb•7m ago•0 comments

We Built a Database for Agents

https://funnelstory.ai/blog/engineering/we-built-a-database-for-agents
1•preetamjinka•7m ago•0 comments

We Rebuilt Zeta from the Training Data Up

https://zed.dev/blog/zeta2
1•meetpateltech•9m ago•0 comments

Sanders and AOC unveil data center moratorium bill

https://www.axios.com/2026/03/25/sanders-aoc-data-center-moratorium-bill
3•blinding-streak•9m ago•1 comments

AI Might Be Our Best Shot at Taking Back the Open Web

https://www.techdirt.com/2026/03/25/ai-might-be-our-best-shot-at-taking-back-the-open-web/
1•speckx•9m ago•0 comments

What Will It Take to Build the Largest Data Center?

https://spectrum.ieee.org/5gw-data-center
1•Brajeshwar•9m ago•0 comments

Meta and Google found liable in social media addiction trial

https://www.bbc.co.uk/news/articles/c747x7gz249o
1•ColinWright•10m ago•1 comments

Musk lawyers try to bar judge over LinkedIn 'like' cheering legal defeat

https://www.ft.com/content/c53cfaa8-8db1-49b1-b877-3ac7b2095966
1•1vuio0pswjnm7•13m ago•0 comments

Show HN: Sift – local, de-noised GitHub notifications

https://github.com/vignesh07/sift
1•eigen-vector•15m ago•0 comments

Show HN: PromptPrivacy – Open-source tool to track how AI models use your data

https://prompt-privacy.vercel.app/
1•Sonofg0tham•15m ago•0 comments

Metasystemic

https://metasystemic.xyz/stuff.html
1•gdss•15m ago•0 comments

Show HN: TexoCAD – Describe a part in words, get actual editable CAD

1•torayeff•15m ago•1 comments

RAG to riches: synthetic data for training RAG agents

https://cgft.io/blog/rag-to-riches/
1•kumama•16m ago•0 comments

Data Is Now the Front Line of Warfare

https://www.csis.org/analysis/data-now-front-line-warfare
1•kdavis•17m ago•1 comments

Newsom calls Musk "one of the great disappointments" of this era

https://www.axios.com/2026/03/25/gavin-newsom-elon-musk-tesla-china
2•1vuio0pswjnm7•17m ago•0 comments

Show HN: Vellyr – small JavaScript non-lazy signals library

https://github.com/Bloomca/vellyr
1•bloomca•18m ago•0 comments

Meta hit with $375M verdict in New Mexico child safety case

https://www.politico.com/news/2026/03/24/meta-hit-with-375m-verdict-in-new-mexico-child-safety-ca...
1•1vuio0pswjnm7•18m ago•1 comments