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.

€15,000 for Community-Driven Ruby Events

https://roys.blog/15k-for-community-driven-ruby-events
1•mooreds•3s ago•0 comments

Pulling the Lever in a Subway Problem

https://www.jefftk.com/p/pulling-the-lever-in-a-subway-problem
1•NaOH•1m ago•0 comments

Show HN: Websites for local businesses built fom reviews, keeping upto date

https://locan.ai/
1•vaitko•4m ago•0 comments

Tennis

https://tennis.sixfingerpunch.com/
1•luispa•4m ago•0 comments

United Airlines Restricts Access for Third-Party AI Agents

https://www.united.com/en/us/newsroom/announcements/cision-125496
1•ilamont•4m ago•0 comments

Open Source Alternatives

https://www.opensourcealternatives.to
1•saikatsg•4m ago•0 comments

Percival – change Celery beat schedules without restarts

https://github.com/RijinRaju/percival
1•rijinraju856•5m ago•0 comments

DIMWIT: Directly Invoking Models Without Intensive Tuning

https://arxiv.org/abs/2611.01463
1•matt_d•5m ago•0 comments

Show HN: My contribution to the tiny world of P2P web search

https://github.com/nikitakarpei/my-yacy-node
1•nikitakarpei•7m ago•0 comments

Show HN: Thread Police eliminates stray replies in Slack channels with Jev

https://github.com/seanparkross/slack-thread-police
4•wateralien•8m ago•0 comments

Show HN: I recreated Papers Please but you're deciding which YC startups to fund

https://termsheetplease.com/
7•bolau•11m ago•0 comments

Jensen Huang Must Resign

https://www.economist.com/leaders/2026/11/11/jensen-huang-must-resign
4•Anon84•13m ago•1 comments

A fast, POSIX/GNU-compatible Awk written in Rust

https://github.com/hakuxyz/awk
2•xyzhaku•13m ago•0 comments

Membrane

https://spite.github.io/codevember-2026/9/
2•memalign•15m ago•1 comments

Scribe v3 and v3 Live

https://elevenlabs.io/blog/scribe-v3
2•cantaloupe•16m ago•0 comments

Retirement Savings Are Fueling the AI Bubble

https://lpeproject.org/blog/your-retirement-savings-are-fueling-the-ai-bubble/
1•speckx•16m ago•0 comments

Claude Reverse Engineered my 32-year-old Jeep and Started Controlling it

https://www.youtube.com/watch?v=WPj3aQ-xxpI
2•looofooo0•19m ago•0 comments

ContextCall – cross-platform alternative to OpenOats

https://github.com/romeroej2/ContextCall
1•rahimnathwani•19m ago•0 comments

Self-Specialising Neuromorphic Compute: An Architecture Beyond the NPU

https://zenodo.org/records/24143702
1•dshadowwolf•20m ago•0 comments

SocGen looks to offload Stargate data center debt at discount

https://www.9fin.com/insights/socgen-stargate-data-center-debt
1•petethomas•22m ago•0 comments

Team unlocks large-scale Fourier transforms for analog in-memory computing

https://techxplore.com/news/2026-11-team-large-scale-fourier-analog.html
1•cbennett•23m ago•1 comments

The Worst Thing About AI Writing

https://www.theatlantic.com/books/2026/11/french-ai-literary-scandal-and-black-writers/689375/
1•saikatsg•23m ago•0 comments

Everybody can make their own weight-space models

https://huggingface.co/spaces/chrisvoncsefalvay/vespasian
3•mkglees•24m ago•1 comments

Art

https://artnap.com/
2•artnap•25m ago•0 comments

Cancer vaccine for Yash, he's diagnosed with stage IV pancreatic cancer

https://github.com/popvax/yash
5•AsDivyansh•26m ago•1 comments

Tests as Data

https://martinfowler.com/articles/tests-as-data.html
2•saikatsg•26m ago•0 comments

Access models for security and safety work that mainstream AI often refuses

https://abliteration.ai/platform
1•oriettaxx•26m ago•0 comments

Former id Software developers establish worker-owned, independent studio Hidden

https://www.verticalslice.news/former-id-software-developers-establish-worker-owned-independent-s...
2•riffraff•29m ago•2 comments

Show HN: Daily Atlas, my geography quiz game where rarer answers score more

https://dailyatlas.io/
1•ClozeLine•30m ago•0 comments

Show HN: Collection of Beauty–a walkable 3D museum of public-domain art

https://collectionofbeauty.com/gallery-3d
1•trebeljahr•30m ago•0 comments