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.

Open Benchmark of AI Impact on Humans

https://impactbench.media.mit.edu/
1•edtechdev•5m ago•0 comments

Show HN: OldRoll, a free vintage photo editor for the browser

https://www.oldroll.io/
1•awa11•10m ago•0 comments

Ditherto: Less color, more vibes. Image dithering for the browser, node, and CLI

https://vexlin.github.io/ditherto/
2•jcinis•14m ago•1 comments

EU drops sponsorship of disinformation conference at Trump officials' request

https://www.theguardian.com/us-news/2026/oct/07/trump-eu-disinformation-conference
2•vincvinc•14m ago•0 comments

anny acquires HiDesk: Welcome, Agentic Booking Management

https://anny.co/en/blog/anny-uebernimmt-hidesk-agentic-booking-management
2•rustoo•15m ago•0 comments

Refueling an EV Be Like

https://blog.tomayac.com/2026/10/08/refueling-an-ev-be-like/
2•tomayac•16m ago•0 comments

OpenAI Rolls Out Ultrafast Mode for GPT-6.1 Sol at Up to 8x Speed

https://community.openai.com/t/ultrafast-is-rolling-out-today-for-gpt-6-1-sol-in-the-api-codex-an...
2•willmarch•17m ago•0 comments

Shai-Hulud worm makes jump to AI infrastructure with Tensorlake compromise

https://www.theregister.com/security/2026/10/08/shai-hulud-worm-makes-jump-to-ai-infrastructure-w...
2•fork-bomber•21m ago•0 comments

Person finds planet using Claude and Codex

https://www.reddit.com/r/ClaudeAI/comments/1wzw8zd/i_think_i_found_a_planet_nobody_knew_existed_i/
2•metahost•22m ago•0 comments

Agency offers staff two years pay if they can replace themselves with AI

https://mumbrella.com.au/agency-offers-staff-two-years-pay-if-they-can-replace-themselves-with-ai...
2•jyhrow•24m ago•0 comments

Twin study sheds new light on screen time and mental health

https://news.ki.se/twin-study-sheds-new-light-on-screen-time-and-mental-health
3•XzetaU8•24m ago•0 comments

Logo.66576a96.png (256×71)

https://labs.google/flow/tv/_next/static/media/logo.66576a96.png
2•treasure2seek•27m ago•0 comments

Giving and taking credit in big tech companies

https://www.seangoedecke.com/giving-and-taking-credit/
2•gfysfm•28m ago•0 comments

Whooping Cranes Learned to Migrate by Following Costumed Pilots

https://theverifiedpost.com/article/whooping-cranes-ultralight-costumed-pilots-operation-migration
2•kgolubic•29m ago•0 comments

Trump honors Microsoft's CEO after Vance drops H-1B visa hammer on the company

https://www.washingtonpost.com/politics/2026/10/08/trump-microsoft-nadella-musk-ai/2a7fcefa-c33f-...
3•snikolaev•31m ago•0 comments

NDI 1.0

https://www.nace.ai/blog/document-intelligence-launch
1•ilreb•32m ago•0 comments

RosCept: Discover Smart Solutions for a Better Future

https://www.facebook.com/RosCeptTry/
1•lillianlindseyy•33m ago•0 comments

The era of speedball capitalism has dawned

https://www.economist.com/business/2026/09/30/the-era-of-speedball-capitalism-has-dawned
2•fragmede•34m ago•0 comments

Ask HN: Are you a subscribed LLM or a locally deployed open-source model?

2•hanstyle•35m ago•0 comments

JSP: A Practical Method of Program Design (1979)

https://archive.org/details/jsppracticalmeth0000inge
1•turtleyacht•36m ago•0 comments

Frisco Was a Welcoming Place for Indian Immigrants. Then Came the Influencers

https://www.texasmonthly.com/news-politics/frisco-indian-immigrants-influencers/
2•littlexsparkee•38m ago•0 comments

Show HN: HCSM – An Open Framework for the Hodge Complex Standard Model

https://github.com/007STAN/HODGE-COMPLEX-STANDARD-MODEL-HCSM-
3•007STAN•43m ago•1 comments

Temporal Continuity API

https://api.rscapex.com
2•TomKrysos•45m ago•1 comments

Anthropic pulls Startup program revoking pending offers

https://twitter.com/claudeai/status/2108404561413349695
5•imdsm•46m ago•1 comments

Keys and Values Don't Always Belong Together

https://tidesdb.com/articles/keys-and-values-dont-always-belong-together/
3•alexpadula•51m ago•0 comments

Ask HN: Matter: Doesn't Matter?

3•macro-b•54m ago•1 comments

Show HN: Hallowed Concepts – Risk of Rain 2 guides and browser-local run tools

https://hallowedconcepts.com/
1•richardharmer•57m ago•0 comments

MXC - a sandboxed code execution system

https://github.com/microsoft/mxc
2•nreece•59m ago•0 comments

Anthropic Says Users Can't Be Needlessly Cruel to Claude

https://www.macrumors.com/2026/10/08/anthropic-user-guideline-update/
4•tosh•1h ago•0 comments

Show HN: Vane – An open-source native Mac browser

https://github.com/notnaki/vane
2•notnaki•1h ago•1 comments