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.

Crossync – a super fast Rust concurrency library

https://github.com/sh1zen/crossync
1•shi1zen•2m ago•0 comments

I just wanted a cheap film camera, so I stitched 28 web scrapers together

https://frankensurf.dev/blog/i-just-wanted-a-cheap-film-camera/
1•yaoke259•3m ago•0 comments

SonicBoom – llama.cpp's own kernels, 14% faster decode via a graph compiler

https://github.com/hardenedlinux/sonicboom
1•nalaginrut•4m ago•0 comments

Buoyancy

https://blog.rajivayyangar.com/buoyancy/
1•tosh•9m ago•0 comments

GitLab Released critical patch for CVSS 10.0 CVE

https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/
1•redpink•9m ago•0 comments

Hackers heat French supermarket fridges, sparking fires and spoiling food

https://www.cnn.com/2026/10/12/europe/france-supermarket-cyberattack-fridges-intl
1•0in•9m ago•0 comments

Sherlock Search

https://sherlock-search.org
1•thefirstname322•10m ago•0 comments

Vulnerabilities in Danfoss Refrigeration Controllers

https://www.claroty.com/team82/research/freeze-the-controller-defrost-the-food-uncovering-vulnera...
1•neamar•10m ago•0 comments

Science Explorer – Ranking/ analyzing science across the world

https://scienceexplorer.org/
1•cppcrunch•11m ago•0 comments

Termux on Android

https://terfi.fyi/blog/termux-on-android
1•taran_narat•11m ago•0 comments

Figcraft: An open-source, clean-room reimplementation of Figma

https://github.com/storytold/figcraft
1•MrTrvp•12m ago•0 comments

Encore – a simpler way to build on AWS and GCP

https://encore.dev
1•dohguy•12m ago•0 comments

What 17,000 career stories taught me about quitting and succeeding at one's job

https://medium.com/@Alikeke/what-17-000-career-stories-taught-me-about-quitting-fake-work-succeed...
1•K-duc•13m ago•0 comments

Friendship Ended with Obsidian/LaTeX, Now Typst Is My Best Friend

https://ersei.net/en/blog/typst
1•birdculture•15m ago•0 comments

A Discovery Inside the Steam Deck's APU (2024)

https://boilingsteam.com/an-in-depth-look-at-the-steam-deck-apu/
1•ekianjo•19m ago•0 comments

How to quickly get prepared for your technical round

https://idlemachines.co.uk/essays/ml-interview-problems
1•smaddrellmander•19m ago•0 comments

Were Software Engineers blue-collar workers all along?

https://ptrbrynt.com/posts/were-we-blue-collar-workers-all-along
22•ilreb•20m ago•18 comments

One plan now covers Cursor, Grok, Grok Bot, and X

https://twitter.com/mattyp/status/2109784144649838754
1•tosh•20m ago•0 comments

Dashr – Dynamically Animated Skinned Heightfield Rendering

https://tomforsyth1000.github.io/DASHR/paper/DASHR_Paper.html
1•signa11•21m ago•0 comments

Who in the EU Parliament fights for your privacy and who for Big Tech

https://noyb.eu/en/ranking-who-eu-parliament-fights-your-privacy-and-who-big-tech
1•latexr•23m ago•0 comments

Show HN: Add rain to your macOS desktop or watch John Wick fight the mafia

https://github.com/gonzaroman/RainDesktop
1•gonzar79•25m ago•0 comments

Anthropic warns AI models could soon copy themselves across home devices

https://www.cnbc.com/2026/10/13/anthropic-ai-models-self-replication-smart-devices.html
1•cramer4next•28m ago•0 comments

The Illusion of the AI Renaissance Man

https://jackwsmth.com/blog/the-illusion-of-the-ai-renaissance/
1•jackwsmth•31m ago•0 comments

Update: Empty shelves at Albert Heijn, app still unreachable

https://nos.nl/artikel/2634764-lege-schappen-app-nog-onbereikbaar-dit-weten-we-over-de-problemen-...
1•MeteorMarc•32m ago•1 comments

ARM Never Made a Chip. Dolby Never Built a Speaker.

https://www.cringely.com/2026/06/17/arm-never-made-a-chip-dolby-never-built-a-speaker/
1•tosh•36m ago•0 comments

Mark Stephens known to everyone as Robert X. Cringley passed away last week

https://twitter.com/stevesi/status/2109528428265570793
2•tosh•36m ago•0 comments

Anthropic's Claude AI submitted false murder tip to Philadelphia police

https://arstechnica.com/tech-policy/2026/10/anthropics-claude-ai-submitted-false-murder-tip-to-ph...
1•sbulaev•38m ago•0 comments

About Statebuilder

https://statebuilder.com/about
2•colinprince•40m ago•0 comments

Building Design Buddy

https://aleksandartasevski.com/articles/building-design-buddy
2•mightyalex•41m ago•0 comments

How to Choose the Best Local LLM Basis MacBook RAM Size

https://medium.com/data-science-collective/best-local-llms-for-your-mac-in-october-2026-24gb-to-1...
2•aggrawalankit_•41m ago•0 comments