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•1y ago

Comments

llm-exe•1y 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•1y 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.

Local Root Privilege Escalation and Credential Disclosure in the Linux Kernel

https://blog.qualys.com/vulnerabilities-threat-research/2026/05/20/cve-2026-46333-local-root-priv...
1•signa11•27s ago•0 comments

China behind in LLM race but it can still win in AI, ex-Tencent AI lead says

https://www.scmp.com/tech/big-tech/article/3354394/china-losing-llm-race-it-can-still-win-ai-ex-t...
1•01-_-•50s ago•0 comments

Newsom signs order aimed at tackling AI job displacement

https://thehill.com/policy/technology/5889582-california-ai-job-losses/
1•01-_-•3m ago•0 comments

Ruby Arrays on Steroids (2014) [video]

https://www.youtube.com/watch?v=UX7xmhpUoi4
1•tosh•3m ago•0 comments

How AI is redefining Software Engineering

https://adlrocha.substack.com/p/adlrocha-how-ai-is-redefining-software
1•adlrocha•10m ago•0 comments

The Internet is rotting away (German)

https://netzpolitik.org/2026/breakpoint-das-internet-verrottet/
1•doener•10m ago•0 comments

Show HN:An LED display app that lights up concerts, events, and fan moments

https://play.google.com/store/apps/details?id=com.koko.board.glow&hl=en_US
1•k-Whale•15m ago•1 comments

uP

https://www.micropublication.org/
1•jruohonen•16m ago•1 comments

Hiro, AI job matching with real visa sponsorship data (550K jobs)

https://hirocareers.com
1•sharvenrane7•18m ago•0 comments

Wild Linker Update – 0.9.0

https://davidlattimore.github.io/posts/2026/05/24/wild-update-0.9.0.html
2•dabinat•20m ago•0 comments

WarpSpeed Just Beat Cursor

https://www.doubleai.com/research/warpspeed-approaches-speed-of-light-on-blackwell
1•ben_mussay•20m ago•0 comments

For developers without design skills, how do you leverage AI for front end dev?

1•boundless88•24m ago•0 comments

The anatomy of AI power in 2026

https://wayneresearch.com/research/anatomy-of-ai-power/
1•7moritz7•25m ago•0 comments

Solving the Technical Interview

https://functional.computer/blog/solving-the-technical-interview
1•adhi01•29m ago•0 comments

Climate tech companies are pivoting to critical minerals

https://www.technologyreview.com/2026/05/21/1137622/climate-tech-pivot-critical-minerals/
2•joozio•34m ago•0 comments

Expanding the human proteome with microproteins and peptideins – Nature

https://www.nature.com/articles/s41586-026-10459-x
1•janandonly•36m ago•0 comments

Big fears in Big Tech sector over Artificial Intelligence job losses

https://www.rte.ie/news/analysis-and-comment/2026/0524/1574792-tech-job-ai-analysis/
1•austinallegro•45m ago•0 comments

The Whitney Biennial Should Admit That Emilie Gossiaux Wants to Fuck Their Dog

https://www.jenn.site/the-whitney-biennial-should-admit-that-emilie-gossiaux-wants-to-fuck-their-...
2•gyomu•46m ago•0 comments

The Shape of Things

https://dianagabaldon.com/2022/05/the-shape-of-things-2/
1•jruohonen•46m ago•0 comments

Beyond HTTP: Exposing WebRTC and Local Game Servers via UDP Tunnels

https://claude.ai/public/artifacts/e608fb30-b023-4263-b693-ef04fab85be9
1•insta_tunnel•46m ago•0 comments

How should economists treat morality?

https://economist.com/finance-and-economics/2026/05/21/how-should-economists-treat-morality
2•andsoitis•46m ago•0 comments

USDA Conducts Oral Rabies Vaccination Efforts Targeting Wildlife (2025)

https://www.aphis.usda.gov/news/agency-announcements/usda-conducts-2025-oral-rabies-vaccination-e...
1•thunderbong•55m ago•0 comments

Token Price Index

https://tokenpriceindex.com
2•namenumber•55m ago•1 comments

Local LLMs perform better when you teach them to ask before they answer

https://www.xda-developers.com/local-llm-clarifying-questions-system-prompt/
8•froh•59m ago•3 comments

Catastrophe Is Emerging in the Most Vulnerable Places

https://www.nytimes.com/2026/05/18/business/iran-war-somalia-usaid.html
2•johntfella•59m ago•0 comments

Soaring Energy Prices Are Driving a Home Solar Boom

https://oilprice.com/Alternative-Energy/Solar-Energy/Soaring-Energy-Prices-Are-Driving-a-Home-Sol...
2•rustoo•1h ago•0 comments

Watching for File Changes on macOS

https://alexwlchan.net/2026/watch-files-on-macos/
1•subset•1h ago•0 comments

Turned ArXiv into an AI-Agent-Friendly Interface (No Browser Vision Needed)

https://mediause.dev/skills/arxiv
1•yooibox•1h ago•0 comments

Temporal Primer – Building Long-Running Systems

https://arpitbhayani.me/blogs/temporal-primer/
1•BugsBunnyCodes•1h ago•0 comments

The Database Zoo: Exotic Data Storage Engines

https://blog.gaborkoos.com/posts/2025-09-19-The-Database-Zoo-Exotic-Data-Storage-Engines/
1•theanonymousone•1h ago•0 comments