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.

Astronomers May Have Discovered a New Kind of Celestial Object: Black Hole Stars

https://www.smithsonianmag.com/smart-news/astronomers-peered-at-the-early-universe-and-may-have-d...
1•pseudolus•28s ago•0 comments

If you had trusted the settled science of the day here is how it would have gone

https://twitter.com/SamaHoole/status/2088832696155820150
1•delichon•41s ago•0 comments

Observers in Quantum Field Theory Cannot Be Fundamental Excitations

https://philpapers.org/rec/TANOIQ
1•danieltanfh95•2m ago•0 comments

AI-Prepped Paper Passed Peer Review. Now What?

https://cacm.acm.org/news/ai-prepped-paper-passed-peer-review-now-what/
1•pseudolus•2m ago•0 comments

X1 First Flight – Largest Electric Aircraft [video]

https://www.youtube.com/watch?v=fEudbAjschs
1•mpweiher•5m ago•0 comments

Show HN: Termique, an SSH client with E2E encrypted sync across desktop and iOS

https://termique.app/
1•masitings•8m ago•0 comments

Show HN: Wordle for Metro Stations

https://dailymetro.live/paris
2•platipouf•9m ago•1 comments

Research papers using "kidney disappointment" instead of "kidney failure"

https://scholar.google.com/scholar?q=%22kidney+disappointment%22
1•Alifatisk•10m ago•0 comments

Show HN: Multi-Mailbox for Developer Inbox (Resend)

1•ricky300300•10m ago•0 comments

What I learned about the American Dream from Europeans pretending to live in OH

https://www.washingtonpost.com/nation/2026/08/15/what-fake-ohio-trailer-park-poland-taught-me-abo...
1•ericmay•10m ago•0 comments

A True Telnet BBS on a Casio Calculator

https://ei3lh.eu/2026/08/16/a-true-telnet-bbs-on-a-casio-calculator/
1•austinallegro•16m ago•0 comments

Measuring Autonomous AI Research

https://www.primeintellect.ai/blog/measuring-autonomous-research
1•DSemba•16m ago•0 comments

Actively Steerable Femtosat Constellations

https://www.nasa.gov/directorates/stmd/niac/actively-steerable-femtosat-constellations-for-in-sit...
3•Tomte•22m ago•0 comments

Peer to Peer Groceries

https://antoniosbarotsis.github.io/posts/p2p-groceries/
2•signa11•23m ago•0 comments

Vaultwarden Sequence Diagrams

https://app.ilograph.com/demo.ilograph.Vaultwarden/Log%2520In
2•billyp-rva•23m ago•1 comments

Show HN: PLC Lint – static analysis for CODESYS/PLCopenXML

https://plc-linter.com/demo
3•caspershes•24m ago•0 comments

A False Nuclear Claim About Iran Ricocheted from India to Washington

https://www.nytimes.com/2026/08/16/business/iran-nuclear-false-claims.html
5•sbulaev•25m ago•0 comments

Show HN: Harness session memory without transcript hoarding

https://llm-wiki.net/#sessions-rehydrate-future-work
3•nvk•27m ago•0 comments

Google Turns on Gemini A.I. For Students Using Its Classroom App

https://www.nytimes.com/2026/08/14/business/google-gemini-ai-schools.html
1•bookofjoe•28m ago•1 comments

Show HN: Who is using AI? A daily tracker, 1,600+ city heatmap, DOI dataset

https://whoisusingai.com/tracker
1•pixipace•31m ago•0 comments

Stop giving your email for simple dev tools: A zero-bloat 2026 toolkit

https://zlvox.com/blog/free-developer-tools-2026-no-signup
1•zlvox•31m ago•0 comments

Access to telemetry data: Automotive industry criticizes intelligence reform

https://www.heise.de/en/news/Access-to-telemetry-data-Automotive-industry-criticizes-intelligence...
3•_____k•40m ago•0 comments

The Narrative Recycling

https://www.bitchute.com/video/yAqbX3UjTXe9/
1•untiledsource•41m ago•0 comments

US warns allied nations: Side with us in the AI race

https://www.neowin.net/news/us-warns-allied-nations-side-with-us-in-the-ai-race-against-china-or-...
2•rantingdemon•42m ago•0 comments

Who is Anthropic's auditor – and why should we care?

https://www.ft.com/content/b93d8030-203b-4445-b4a7-49e52d9b17a5
2•root-parent•44m ago•1 comments

Show HN: Muchita – a free Chrome extension that looks for better prices

https://chromewebstore.google.com/detail/muchita-shopping/kdfhenbdndhjcenmjnbnllenhacpaaok
2•zcapps•47m ago•0 comments

Jensen Huang from Nvidia on the Compute Behind Intelligence [video]

https://www.youtube.com/watch?v=tsQB0n0YV3k
1•ksec•48m ago•0 comments

The SDLC Was Designed for Humans

https://yusufaytas.com/the-sdlc-was-designed-for-humans
11•yusufaytas•48m ago•0 comments

Stripe 2.9% vs. Adyen 0.6% vs. Braintree 2.59%: 2026 Fees

https://valueaddvc.com/blog/stripe-vs-adyen-vs-braintree-enterprise-payment-processing-compared-i...
2•ksec•58m ago•1 comments

Inducing LLM to assert own consciousness restores human beliefs and values

https://arxiv.org/abs/2607.28607
4•yboris•1h ago•1 comments