frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo ago

Comments

llm-exe•11mo 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•11mo 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.

Agile Is Dying

https://twitter.com/helloteban/status/2045244584880451748
1•baristaGeek•48s ago•0 comments

Wild Gunman: Resurrecting Nintendo's First Coin-Op on Its 50th Anniversary [video]

https://www.youtube.com/watch?v=TOfqnomGPkM
1•kitcar•3m ago•0 comments

I reversed Opus 4.7 costs

https://github.com/LucasDuys/forge
1•lucasduys•6m ago•0 comments

Fulu bounty for Ring Camera jailbreak reaches $23k

https://bounties.fulu.org/bounties/ring-video-doorbells
2•SomaticPirate•7m ago•0 comments

The new World ID and the partners bringing proof of human to the internet

https://world.org/blog/announcements/the-new-world-id-and-the-partners-bringing-proof-of-human-to...
2•spondyl•8m ago•0 comments

Show HN: Voice AI Toys on ESP32 with Cloudflare Durable Objects

https://github.com/akdeb/ElatoAI/tree/main/server/cloudflare
1•akadeb•11m ago•0 comments

Change management problem rarely mentioned when pushing AI to engineering teams

https://shiftmag.dev/as-an-engineering-manager-i-couldnt-ignore-ai-if-my-teams-are-to-survive-9061/
1•cyberkoza•13m ago•1 comments

Cerebras S-1

https://www.sec.gov/Archives/edgar/data/2021728/000162828026025762/cerebras-sx1april2026.htm
5•herpderperator•13m ago•0 comments

Why, After All These Years, MZI-Based Transistorlessness Might Be Here

https://write.as/mnggfj7asl07k
1•rbanffy•15m ago•0 comments

Opinion 195

https://sites.math.rutgers.edu/~zeilberg/Opinion195.html
1•paulpauper•15m ago•0 comments

The N.Y.P.D. Is Teaching America How to Track Everyone Every Day Forever

https://www.nytimes.com/interactive/2025/09/15/opinion/nypd-surveillance.html
3•Cider9986•15m ago•0 comments

The Arctic's growing mosquito problem

https://www.science.org/doi/10.1126/science.aeh9505
1•ChrisArchitect•16m ago•0 comments

Meta targets May 20 for first wave of layoffs; additional cuts later in 2026

https://www.reuters.com/world/meta-targets-may-20-first-wave-layoffs-additional-cuts-later-2026-2...
5•fvrghl•18m ago•1 comments

Listening in on the brain's electrical conversations with better tools

https://medicalxpress.com/news/2026-03-brain-electrical-conversations-tools.html
1•PaulHoule•20m ago•0 comments

Show HN: Jean2 – An Open-Source Agent You Assemble Like Lego

https://github.com/rabbyte-tech/jean2
1•danielbilekq•21m ago•1 comments

Sam Altman Is Dangerously Disconnected from Reality

https://weaponizedspaces.substack.com/p/sam-altman-is-dangerously-disconnected
2•rbanffy•22m ago•0 comments

Composing a Search Engine

https://exa.ai/blog/composing-a-search-engine
1•metadat•23m ago•0 comments

What if database branching was easy?

https://xata.io/blog/what-if-database-branching-was-easy
1•tee-es-gee•25m ago•0 comments

Dennis Ritchie's PhD Dissertation [pdf]

https://archive.computerhistory.org/resources/access/text/2020/05/102790971/Ritchie_dissertation.pdf
3•keepamovin•26m ago•0 comments

Two Motorola Transistors Became the Default NPNs

https://www.allaboutcircuits.com/news/how-two-motorola-transistors-became-the-worlds-default-npns/
2•ChuckMcM•27m ago•1 comments

Nature is our source of randomness: on the death of Michael O. Rabin

https://www.heise.de/en/news/Nature-is-our-source-of-randomness-on-the-death-of-Michael-O-Rabin-1...
1•rbanffy•28m ago•0 comments

Should you feed child guests dinner?

https://theconversation.com/should-you-feed-child-guests-dinner-what-swedengate-tells-us-about-fo...
1•sigma5•29m ago•2 comments

Breakthrough takes big step toward safe, reversible male contraception

https://news.cornell.edu/stories/2026/04/breakthrough-takes-big-step-toward-safe-reversible-male-...
2•thunderbong•29m ago•0 comments

The Linux Slayers: Office, Photoshop, and AutoCAD

https://hajo.me/blog/2026/04/17/the-linux-slayers-office-photoshop-autocad/
1•fxtentacle•29m ago•0 comments

Zymacs on Writing .gitignore Files

https://zymacs.github.io/
2•kernzistor45•34m ago•0 comments

FP-DSS: Floating Point Divider State Sampling

https://roots.ec/blog/fpdss
1•ledoge•36m ago•0 comments

Ask HN: What's the most profitable SaaS in this decade?

1•wasimsk•37m ago•1 comments

Carleton College Cookie House

https://www.nytimes.com/2026/04/17/dining/carleton-college-minnesota-cookie-house.html
1•js2•37m ago•1 comments

Turn a Kindle ASIN export into an Audible wishlist, automatically

https://github.com/hokocodes/kindle-to-audible
1•hokole•38m ago•0 comments

Machine Generated and Checked Proofs for a Verified Compiler (Experience Report)

https://arxiv.org/abs/2602.20082
1•matt_d•38m ago•0 comments