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.

48 hours without lungs: artificial organ kept man alive until transplant

https://www.nature.com/articles/d41586-026-00239-y
1•Brajeshwar•1m ago•0 comments

Saudi gigaproject opens with largest and fastest roller coaster

https://newatlas.com/architecture/six-flags-qiddiya-city/
1•Brajeshwar•1m ago•0 comments

Believing that first impressions are fixed may ease social anxiety, study finds

https://medicalxpress.com/news/2026-01-believing-ease-social-anxiety.html
1•PaulHoule•2m ago•0 comments

Competence as Tragedy

https://crowprose.com/blog/competence-as-tragedy/
1•baobabmeeko•3m ago•0 comments

Elon Musk's Tesla to invest $2B in xAI as EV maker's revenue, profit slump

https://nypost.com/2026/01/28/business/elon-musks-tesla-to-invest-2b-in-xai-as-ev-makers-revenue-...
1•1vuio0pswjnm7•5m ago•0 comments

'Moltbook' social media site for AI agents had big security hole, cyber firm say

https://www.reuters.com/legal/litigation/moltbook-social-media-site-ai-agents-had-big-security-ho...
1•musiciangames•6m ago•0 comments

Segfault – A Community Driven Hackzine

https://feelqah.github.io
1•filkatron•6m ago•1 comments

Reeeeeeally Long Covid (2022)

https://www.someweekendreading.blog/really-long-covid/
2•cratermoon•7m ago•0 comments

About ChatDev 2.0: Dev All Through LLM-Powered Multi-Agent Collaboration

https://github.com/OpenBMB/ChatDev
1•onurkanbkrc•7m ago•0 comments

Where Is A.I. Taking Us? Eight Leading Thinkers Share Their Visions

https://www.nytimes.com/interactive/2026/02/02/opinion/ai-future-leading-thinkers-survey.html
1•donohoe•7m ago•0 comments

Show HN: Agents that save explore recover on their own

https://harness.tonbo.dev/
1•ethegwo•8m ago•0 comments

TIL: Running OpenClaw in Docker

https://simonwillison.net/2026/Feb/1/openclaw-in-docker/
1•TechSquidTV•8m ago•0 comments

Notepad++ update feature hijacked by Chinese state hackers for months

https://www.bleepingcomputer.com/news/security/notepad-plus-plus-update-feature-hijacked-by-chine...
2•uticus•9m ago•0 comments

Radio button and checkbox styling: Vanilla CSS vs. Tailwind

https://bryntum.com/blog/radio-button-and-checkbox-styling-vanilla-css-vs-tailwind/
1•sixhobbits•9m ago•0 comments

Why Foreign AI Specialists Keep Failing (and What Just Changed)

https://ure.us/articles/why-foreign-ai-specialists-keep-failing/
1•sschotten•9m ago•0 comments

Selfish AI

https://www.garfieldtech.com/blog/selfish-ai
1•HotGarbage•11m ago•0 comments

Lessons from Building Reliable Background Agents

https://twitter.com/daviddbwilson/status/2018358661283029293
1•daviddbwilson•12m ago•1 comments

How do LLMs change the human knowledge graph?

https://attractorstate.com/knowledge_graph.html
1•higuidebot•12m ago•0 comments

Show HN: Claudius – An OpenCode Desktop Fork Built for Claude Code

https://claudius.to
1•crisogray•12m ago•0 comments

Show HN: Pixel – a live R/place‑style canvas where humans and AI paint together

https://pixel.vibe42.ai/
1•kalasoo•12m ago•1 comments

Generative UI for Agents, explained visually

https://blog.dailydoseofds.com/p/new-generative-ui-for-agents
1•nilsbunger•15m ago•0 comments

Grok is still undressing men

https://www.theverge.com/report/872062/grok-still-undressing-men
3•azalemeth•15m ago•0 comments

Show HN: Zap-Operator – Run OWASP Zap Scans via Kubernetes CRDs

https://github.com/NCCloud/zap-operator
1•huseyinbabal•15m ago•0 comments

Please Don't Feed the Scattered Lapsus Shiny Hunters

https://krebsonsecurity.com/2026/02/please-dont-feed-the-scattered-lapsus-shiny-hunters/
1•todsacerdoti•15m ago•0 comments

My five stages of AI grief

https://dev-tester.com/my-five-stages-of-ai-grief/
2•mijustin•15m ago•0 comments

Show HN: Url/sitemap/pdf/word to Markdown (feedback wanted)

https://output.md/
1•glennhv•17m ago•0 comments

Historical Collection of Information Storage Technology

https://tangiblemediacollection.com/
2•bookofjoe•17m ago•0 comments

Show HN: Autoliner – write a bot to control a virtual airline

https://autoliner.app/
2•msvan•18m ago•0 comments

Open Claw Clone and Dev Containers

1•afspear•19m ago•1 comments

Show HN: Vibedetector – detect AI tooling use in a directory

https://github.com/VacTube/vibedetector
1•DavidCanHelp•19m ago•0 comments