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•8mo ago

Comments

llm-exe•8mo 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•8mo 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.

AI–AI bias: LLMs favor communications generated by large language models

https://www.pnas.org/doi/10.1073/pnas.2415697122
1•dandelionv1bes•1m ago•0 comments

Show HN: Claude Skill for App Store Compliance

https://github.com/safaiyeh/app-store-review-skill
1•jsafaiyeh•1m ago•0 comments

Going Founder Mode on Cancer

https://centuryofbio.com/p/sid
1•amrrs•3m ago•0 comments

An archery game that uses charging cable as the controller

https://twitter.com/rebane2001/status/2014007573037355357
1•kartikarti•3m ago•0 comments

Ant smuggling case highlights legal inconsistencies

https://phys.org/news/2025-12-ant-smuggling-case-highlights-legal.html
2•PaulHoule•4m ago•0 comments

Exploring Crystal macros: Building file-based routing for Kemal

https://krthr.co/exploring-crystal-macros-building-file-based-routing-for-kemal/
1•krthr•6m ago•0 comments

Ask HN: How locked down are your work machines?

1•donatj•7m ago•0 comments

KTree – Kubernetes Browser

https://github.com/amartiniuc/ktree/blob/main/README.md
2•amartiniuc•8m ago•1 comments

Using the BusyBox trick to turn AI prompts into "native" executables

https://tgalal.com/blog/genai-prompts-as-native-programs
1•tgalal•9m ago•0 comments

A 23-year-old's $1.5B AI hedge fund shows how prophecy turns profits

https://fortune.com/2025/10/09/as-ai-bubble-warnings-mount-a-23-year-olds-1-5-billion-hedge-fund-...
1•paulpauper•10m ago•0 comments

Quadratic Bezier – Distance 2D

https://www.shadertoy.com/view/MlKcDD
1•coffeeaddict1•10m ago•0 comments

funding.json

https://fundingjson.org/
1•jruohonen•10m ago•0 comments

Diplomacy by WhatsApp

https://www.newcartographies.com/p/diplomacy-by-whatsapp
1•treadump•12m ago•0 comments

Tesla cuts 1,700 jobs at Gigafactory Berlin despite denying it

https://electrek.co/2026/01/21/tesla-quietly-cuts-1700-jobs-at-gigafactory-berlin-despite-denying...
4•toomuchtodo•12m ago•0 comments

What AI Accountability Looks Like (I Built It)

https://forgeforward.substack.com/p/what-ai-accountability-actually-looks
2•forgeforward•12m ago•1 comments

Gayvn

https://www.facebook.com/events/virgin-hotels-las-vegas/live-2026-gayvn-awards-livestream-full-sh...
1•notgoodme•14m ago•0 comments

Show HN: CausaNova – Deterministic runtime for LLM constraints via Ontology

https://petzi2311.github.io/
1•CausaNova•14m ago•1 comments

Howard Lutnick: Why the Trump administration is going to Davos

https://www.ft.com/content/a675b8af-46b7-4f93-a616-41f0a002c22e
1•macleginn•15m ago•0 comments

Drug Laws Have Prevented Scientists from Studying Mushrooms

https://thesporereport.com/?p=606
2•speckx•16m ago•0 comments

Bitwarden launches enhanced premium plan

https://bitwarden.com/blog/bitwarden-launches-enhanced-premium-plan/
1•brycewray•17m ago•0 comments

Devin Review: AI to Stop Slop

https://cognition.ai/blog/devin-review#the-birth-and-stagnation-of-code-review
1•swyx•17m ago•0 comments

Microsoft CEO warns AI must 'do something useful' or lose 'social permission'

https://www.pcgamer.com/software/ai/microsoft-ceo-warns-that-we-must-do-something-useful-with-ai-...
2•akyuu•18m ago•0 comments

DOGE Employees Shared Social Security Data, Court Filing Shows

https://www.nytimes.com/2026/01/20/us/politics/doge-employees-social-security-data.html
4•pseudolus•18m ago•1 comments

Verizon carriers start switching to 365day device unlock policy, up from 60 days

https://9to5google.com/2026/01/20/verizon-device-unlock-policy-365-day/
1•thunderbong•19m ago•0 comments

More diversity means better science, says Nature journal chief

https://www.thetimes.com/uk/science/article/dei-diversity-better-science-nature-journal-boss-tgb7...
1•binning•20m ago•0 comments

How the NHS became the battleground in the trans debate facing workplaces

https://www.bbc.co.uk/news/articles/c7v0l25mr2ro
2•binning•23m ago•0 comments

Power, Consumption and Gender: An analysis of Barbara Kruger's political art

https://feminisminindia.com/2026/01/14/power-consumption-and-gender-an-analysis-of-barbara-kruger...
1•binning•24m ago•0 comments

Every big lab is putting resources in building world models

https://ankitmaloo.com/world-models/
1•ankit219•25m ago•0 comments

Show HN: Remember Me – O(1) Client-Side Memory (40x cheaper than Vector DBs)

https://github.com/merchantmoh-debug/Remember-Me-AI
1•MohskiBroskiAI•25m ago•0 comments

Manipulating blood CO₂ levels may help clear toxic proteins from the brain

https://medicalxpress.com/news/2026-01-blood-co8322-toxic-proteins-brain.html
1•bikenaga•25m ago•1 comments