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.

Quantum Computers Are Poised to Crack Encryption. AI Could Beat Them to It

https://www.wsj.com/tech/ai/ai-math-online-encryption-quantum-computers-57926bb2
1•fortran77•12m ago•0 comments

Exploring Janet and the HTTPF web framework

https://nick.gs/blog/2026-11/exploring-janet-and-the-httpf-web-framework/
1•veqq•13m ago•0 comments

F2FS: A New File System for Flash Storage (2015) [pdf]

https://www.usenix.org/system/files/conference/fast15/fast15-paper-lee.pdf
1•vismit2000•16m ago•0 comments

Show HN: We tested our prompt injection filter in public

https://hodor.gatebolt.com/blog/secret-leak-test
1•junayedmizan5•19m ago•0 comments

MCP-server-AutoCAD-Lisp-helper

https://github.com/radwanalmsora/mcp-server-autocad-lisp-helper
1•radwanAlmsora•20m ago•0 comments

The AI Business Model Just Collapsed

https://www.honest-broker.com/p/the-ai-business-model-just-collapsed
3•paulpauper•21m ago•1 comments

Why do people see colours differently? Sometimes, it's the display's fault

https://physicsworld.com/a/why-do-people-see-colours-differently-sometimes-its-the-displays-fault/
1•EA-3167•22m ago•1 comments

GLP-1 Prescriptions for People with No Medical Need Are Climbing

https://www.nytimes.com/2026/09/22/well/ozempic-glp1-medical-reason.html
2•paulpauper•25m ago•1 comments

The Pangram Backlash Unfolding on College Campuses

https://www.theatlantic.com/technology/2026/09/college-professors-ai-detectors-pangram/688727/
2•paulpauper•27m ago•0 comments

US believes Nvidia's Huang had romantic relationship with alleged Chinese spy

https://www.ft.com/content/a55a2a22-4479-4f93-a445-6147a5c6d790
5•robbiet480•28m ago•0 comments

Adding proper security to your vibecoded Linux GUI apps

https://akitaonrails.com/en/2026/11/06/adding-proper-security-to-your-vibecoded-linux-gui-apps/
1•ayanb9440•29m ago•0 comments

HomeMinerProxy: home dashboard and Stratum proxy for Bitcoin lottery mining

https://github.com/Modanez/HomeMinerProxy
1•modanez•37m ago•0 comments

What do workers want in a leader? New study challenges stereotypes

https://newsroom.haas.berkeley.edu/research/what-do-workers-really-want-in-a-leader-new-study-cha...
3•rohanm93•37m ago•0 comments

SpaceX's $2T Bet Has a Physics Problem [video]

https://www.youtube.com/watch?v=S1umCJfbJ0w
1•mkesper•38m ago•0 comments

Show HN: S3mail – Serverless personal email on AWS with JMAP

https://github.com/zero11-0203/s3mail
1•zero11-0203•40m ago•0 comments

Killer App, the thrilling story about the rise of Telegram

https://www.faber.co.uk/journal/faber-set-to-publish-killer-app-the-thrilling-story-about-the-ris...
1•elies•40m ago•0 comments

Geometry, Kinematics, Statics, and DYNAMICS(2018) [pdf]

http://ruina.tam.cornell.edu/Courses/ME4730%20Fall%202018/books/Dynamics_Book_Bernstein__Goel__An...
1•pillars•41m ago•0 comments

Show HN: Promptcheckup – pass/fail check for prompt changes, with 95% intervals

https://github.com/gael55x/promptcheckup
1•gael55x•59m ago•0 comments

Show HN: Did prediction markets do any predicting this midterms?

https://app.artifactbin.dev/@vivek/AQTt2H-did-prediction-markets-predict-the-midterms
4•nuwandavek•1h ago•0 comments

Vapes, pouches and now tablets: The tobacco industry's newest nicotine product

https://www.theexamination.org/articles/zyn-melts-nicotine-tablets-kids
2•paimapi•1h ago•0 comments

Lighting the Skies

https://computer.rip/2026-10-25-searchlights.html
8•dverlaeckt80•1h ago•1 comments

Show HN: Backwords – Let AI teach you how to speak in reverse

https://backwords.greg.technology/
9•gregsadetsky•1h ago•2 comments

YC Backed Bron AI Accused of Using LeBron's Name and Likeness

https://frontofficesports.com/article/lebron-james-demands-ai-betting-app-stop-using-his-likeness/
5•sicgods•1h ago•1 comments

Meta introduces Spaces: custom app views built by your Muse agent

https://about.fb.com/news/2026/11/introducing-spaces-customize-muse-app/
1•willmarch•1h ago•1 comments

Show HN: Roomzine – turn a photo of your room into a redesign magazine

https://roomzine.com/
1•ayarmots•1h ago•0 comments

Magnets and Rare Earths

https://robodienst.com/learning-paths/magnets-and-rare-earths
1•Bluestein•1h ago•0 comments

No Big Deal (TV Series)

https://en.wikipedia.org/wiki/No_Big_Deal_(TV_series)
1•kakadu•1h ago•0 comments

Robodienst

https://robodienst.com/supply-chain/unitree-g1
1•Bluestein•1h ago•1 comments

Amagi-clipper, long recordings to captioned 9:16 clips, locally

https://github.com/amagilabs/amagi-clipper
1•amagilabs•1h ago•0 comments

What happens when a fake coding test reaches a security company?

https://www.sophos.com/en-us/blog/fake-coding-test-reaches-security-company
2•ram_rattle•1h ago•0 comments