frontpage.
newsnewestaskshowjobs

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.

I Started a Shell Company

https://thijs.net/posts/shell-company
1•skadamat•1m ago•0 comments

Bee: Remember What Matters

https://bee.computer/
1•PaulHoule•2m ago•0 comments

1984 Hosting suspends all services following serious cyberattack

https://dv.is/frettir/2026/11/20/stodva-thjonustu-timabundid-eftir-alvarlega-tolvuaras-a-innvidi-...
1•circularfoyers•2m ago•0 comments

Anti-fragility, adaptation and its limits

https://medium.com/@smoking2man/anti-fragility-adaptation-and-its-limits-3d67fac6f5aa
2•Aldus551•2m ago•0 comments

Nuclear bomb in space would disable 98 per cent of satellites within a week

https://www.newscientist.com/article/2598378-nuclear-bomb-in-space-would-disable-98-per-cent-of-s...
1•Noaidi•2m ago•1 comments

Building the Agent Host Protocol for sessions that continue across devices

https://github.blog/engineering/engineering-principles/building-the-agent-host-protocol-for-sessi...
1•torutofu•3m ago•0 comments

Could All the Rain in California Trigger Earthquakes? (2023)

https://www.newsweek.com/rain-california-earthquakes-floods-extreme-weather-1772913
1•Noaidi•4m ago•0 comments

Show HN: Hobby MQTT 3.1.1 broker written in Zig

https://github.com/threeaccents/zancudo
1•threeaccents•6m ago•0 comments

Be Kind to AI (?)

https://elsevanderberg.substack.com/p/be-kind-to-ai
1•flail•6m ago•0 comments

Nvidia adds possible hack to list of bad things under investigation

https://www.theregister.com/security/2026/11/19/nvidia-adds-possible-hack-to-list-of-very-bad-thi...
1•Bender•7m ago•0 comments

Flaws in VMware and KVM need attention, if you have time while fixing Java, PHP

https://www.theregister.com/security/2026/11/20/flaws-in-vmware-and-kvm-need-attention-if-you-hav...
1•Bender•8m ago•0 comments

ViReC: The Virtual Register Context Architecture for Efficient Multithreading [pdf]

https://slam.ece.utexas.edu/pubs/icpp25.ViReC.pdf
2•rbanffy•8m ago•0 comments

Another company I've never heard of lost my Data

https://idiallo.com/byte-size/another-company-lost-my-data-and-free-credit-monitoring
2•Brajeshwar•10m ago•0 comments

AI Search Analytics Confirm Higher Ed's LLM Winners Are Large Publics/Nonprofits

https://insights.kolariconsulting.com/p/ai-search-analytics-confirm-higher
1•aesokol•11m ago•0 comments

Uber tests rides for kids as young as 10, with extra pay for drivers

https://techcrunch.com/2026/11/19/uber-tests-rides-for-kids-as-young-as-10-with-extra-pay-for-dri...
2•ibn_khaldun•11m ago•0 comments

Show HN: Free red-flag checker for VPAT accessibility reports

https://acrpacket.com/check
1•rpst•12m ago•0 comments

Realistic lunar ISRU processing facilty simulation: Smelting rocks into metal [video]

https://www.youtube.com/shorts/bUqcwLoCO50
2•shroom1•13m ago•0 comments

FastAPI SaaS starter with Stripe subscriptions, EU VAT and HTMX

https://demo.getpylaunch.com
1•patryk_builds•13m ago•0 comments

Bending Spoons' Acquisition History

https://www.kadoa.com/companies/insights/bending-spoons-acquisitions
2•hubraumhugo•14m ago•0 comments

Agentic engineering with GitLab and your local agent: A walkthrough

https://about.gitlab.com/blog/agentic-engineering-walkthrough/
1•jerrygarcia•15m ago•0 comments

It's the End of the Academic World as We Know It

https://gkallis.substack.com/p/its-the-end-of-the-academic-world
2•the-mitr•18m ago•0 comments

Why small IT teams get stuck between free VPNs and Netskope or Proofpoint

https://arxcloud.io/vs/netskope-proofpoint/
2•justmedric•20m ago•0 comments

Why the U.S. air traffic control system still relies on an 'antique' network

https://www.npr.org/2026/11/19/nx-s1-6045773/faa-air-traffic-control-system-modernization-challenges
4•blinding-streak•21m ago•0 comments

Copyright is dead. Thank you Dario

https://larrysalibra.com/copyright-is-dead-thank-you-dario/
1•larrysalibra•21m ago•0 comments

Jon McCormack Retires from Apple

https://daringfireball.net/2026/11/mccormack_retires_from_apple
1•Brajeshwar•21m ago•0 comments

Introduction to Genie

https://docs.vala.dev/genie/introduction
1•giancarlostoro•22m ago•0 comments

SoduWork – AI agents must show evidence before a task passes

https://medium.com/@csdn/two-days-at-the-top-soduwork-hits-no-1-1f32a3f89d85
4•Aki_ii•23m ago•0 comments

Show HN: Drive around my village in 3D

https://cherwellvalleymotorclub.app
3•johnwards•23m ago•3 comments

Jonathan Swift vs. AI

https://www.thedial.world/articles/news/schools-teachers-artificial-intelligence
2•bookofjoe•24m ago•0 comments

Artificial intelligence projects for the Commodore 64 (1985)

https://archive.org/details/Artificial_Intelligence_Projects_for_the_Commodore_64_1985_TAB_Books
2•throw0101c•24m ago•0 comments