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.

mmap

https://wizardzines.com/comics/mmap/
1•vismit2000•1m ago•0 comments

Type-challenges: Collection of TypeScript type challenges

https://github.com/type-challenges/type-challenges/tree/main
1•denysonique•1m ago•0 comments

Update on American Bar Association website outage

https://www.americanbar.org/
1•droidjj•2m ago•0 comments

The Riemann Hypothesis: Everything You Need to Know [video]

https://www.youtube.com/watch?v=aKGqxkxaKFM
1•amichail•2m ago•0 comments

Do cryptographers trust they can prevent "Harvest Now, Decrypt Later"?

1•steinwinde•4m ago•0 comments

Ask HN: Have you ever been accused by bots to be a bot?

2•gioscarab•9m ago•0 comments

Post-quantum cryptography in practice: SSH, TLS, Go, PostgreSQL

https://almaforge.com/learn/post-quantum-cryptography-ssh-tls-go-postgresql/
2•sibman•10m ago•1 comments

How Silicon Valley uses 'effective altruism' for moral laundering

https://fortune.com/2026/12/05/silicon-valley-effective-altruism-moral-laundering/
2•gwu78•11m ago•0 comments

JDM Gentleman's Agreement: Why Iconic Japanese Cars Are Limited to 276 HP

https://carbuzz.com/features/jdm-gentlemans-agreement-japanese-cars-276-hp/
1•tosh•12m ago•0 comments

Optimizing beyond the compiler with kernel-checked equivalence proofs

https://tacitresearch.com/blog/proved-faster-machine-code/
1•miguel_dz•12m ago•0 comments

Curveslop – explore how costly it is to break weak ECC

https://curveslop.com/
1•ccamrobertson•14m ago•0 comments

Gen Zs and millennials are redefining career progression on their own terms

https://www.deloitte.com/global/en/insights/topics/talent/gen-z-and-millennial-workforce-trends.html
3•andsoitis•14m ago•0 comments

Jensen Huang left many questions unanswered when lawmakers queried Nvidia CEO

https://www.reuters.com/world/us/us-lawmakers-release-transcript-nvidia-ceo-huangs-tuesday-testim...
3•nephihaha•17m ago•0 comments

Microsoft Patents AI That Can Rewrite Your Words Live – and Make Your Lips Match

https://www.computerworld.com/article/4244752/microsoft-files-patent-for-ai-that-can-alter-what-p...
1•mrkn1•17m ago•0 comments

Show HN: Gojent – A small typed agent runtime for Go

https://gojent.com/
1•ijaidev•17m ago•0 comments

Show HN: HimitsuShell – Making shell scripts invisible even to kernel tracing

https://github.com/HimitsuShell/HimitsuShell
1•mushstory•19m ago•0 comments

Please Turn Off Your GraphQL Introspection Before the Movie Begins

https://nullpt.rs/amc-graphql-introspection
2•lr0•20m ago•0 comments

No new Bitcoin puzzle cracked since July 2026

https://btcpuzzle.info/puzzles
1•jwpapi•21m ago•1 comments

What do we do with keys?

https://codon.org.uk/~mjg59/blog/p/what-do-we-do-with-keys/
2•edward•22m ago•0 comments

AI notetakers are spreading at work. The legal risks are growing

https://www.cnbc.com/2026/12/05/ai-notetaker-workplace-legal-risks.html
3•gwu78•25m ago•0 comments

Voiceless – Mouth words silently and your iPhone or Mac types them

https://apps.apple.com/us/app/voiceless-silent-dictation/id6841209482
2•ben_williams•26m ago•0 comments

Why American Schools Always Look Like Something Else

https://daily.jstor.org/why-american-schools-always-look-like-something-else/
1•lr0•27m ago•0 comments

The HN front page is (mostly) not gamed

https://micjm.com/blog/the-hn-front-page-is-mostly-not-gamed/
2•seizethecheese•27m ago•1 comments

Concerns of Scientists Regarding the Proposed Detection Measures Under the CSAR

https://csa-scientist-open-letter.org/Dec2026
1•renehsz•32m ago•0 comments

Only Risk Takers Grow

https://lastfitstanding.substack.com/p/only-risk-takers-grow
2•lastFitStanding•32m ago•0 comments

Swiss wood to fly through space for six months

https://ethz.ch/en/news-and-events/eth-news/news/2026/11/swiss-wood-to-fly-through-space-for-six-...
2•amelius•32m ago•0 comments

Show HN: Howsure – how many robot tests are enough to trust the result?

https://github.com/elanklatif-boop/howsure
1•elan_l•32m ago•0 comments

Digital Euro Regulation: Four Proposals for the Trilogue

https://www.taler.net/en/news/2026-16.html
1•renehsz•35m ago•0 comments

Modern war demands a data-centric, cloud-based command and control architecture

https://www.fdd.org/analysis/modern-war-demands-a-data-centric-cloud-based-command-and-control-ar...
1•teleforce•36m ago•1 comments

2048 Bit RSA and the Year 2030

https://articles.59.ca/doku.php?id=em:20482030
1•upofadown•38m ago•0 comments