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.

Physicists can't agree on how the Universe works

https://www.sciencedaily.com/releases/2026/09/260912220041.htm
1•gradus_ad•4m ago•0 comments

Meta$^N$: Recursive Self-Improvement Through Emergent Depth

https://arxiv.org/abs/2608.24735
3•Anon84•7m ago•0 comments

Navier-Stokes Visualized as 1kB i386 demos

https://juandecos.github.io/TurboZip/vortex.html
2•chaostaco•9m ago•1 comments

Looking for Some Beta Testers

https://nevarroapp.com/
1•Linden207•13m ago•0 comments

DeepSeek Peak Hours

https://deepseek-peak-hours.sivaram.dev/
2•denysvitali•14m ago•0 comments

AI extinction is only one way the future is frightening

https://www.rnz.co.nz/news/world/1362349/ai-extinction-is-only-one-way-the-future-is-frightening
5•billybuckwheat•17m ago•1 comments

Memos.page

https://memos.page/
1•montyanderson•17m ago•0 comments

Unified Plan to Align Priorities and Investments for Strategic Petroleum Reserve

https://files.gao.gov/reports/GAO-26-106918/index.html
2•Bluestein•17m ago•0 comments

Show HN: Swobu – local LLM Switchboard You Can Share over HTTPS

https://github.com/swobuforge/swobu
1•metrofun•19m ago•0 comments

The Last AI Built by Humans: Toward Genuine Recursive Self-Improvement

https://arxiv.org/abs/2609.11873
1•pella•25m ago•0 comments

Show HN: What Just Pinged Me?

https://whatjustpingedme.com
2•furyofantares•26m ago•0 comments

China Cleantech Exports Data Explorer

https://ember-energy.org/data/china-cleantech-exports-data-explorer/
2•Bluestein•27m ago•0 comments

Byte: A Visual Archive

https://byte.tsundoku.io/#198410-011
2•doener•29m ago•0 comments

Mees AI Journal and Chat

https://play.google.com/store/apps/details?id=chat.meesai.net&hl=en_US
3•saidevac•38m ago•0 comments

Slime moulds and the bitter debate over the nature of intelligence

https://www.theguardian.com/news/ng-interactive/2026/sep/08/this-is-dangerous-slime-moulds-and-th...
1•bookofjoe•39m ago•0 comments

Portable Cooling Mister and Bonus Stationary Pet Version

https://www.instructables.com/Portable-Cooling-Mister-Bonus-Stationary-Pet-Versi/
1•sudo_cowsay•39m ago•0 comments

Douglas Adams and the exterminated Doctor Who adventure

https://www.bbc.co.uk/news/articles/c8jdp38z4jgo
2•6LLvveMx2koXfwn•42m ago•0 comments

Show HN: I made an automated day-by-day itinerary organizer for my trip to Spain

https://petrelvoyage.com/app
3•desktopentree•44m ago•2 comments

Registration without a phone number on Signal will use zero-knowledge proofs

https://community.signalusers.org/t/registration-without-a-phone-number/2222?page=10
6•Cider9986•44m ago•0 comments

There's No Such Thing as an AI 'Lab'

https://www.theatlantic.com/technology/2026/09/stop-calling-ai-companies-labs/688528/
3•Bluestein•48m ago•0 comments

Destockd

https://www.destockd.com/#/about
2•DeepLogin•50m ago•0 comments

The Hidden Software Variable in UAS Performance

https://foxandlion.pub/analysis/the-hidden-software-variable-in-uas-performance
8•agrantic•53m ago•0 comments

A malleable IDE for typed knowledge

https://github.com/arsumbris/arsumbris
3•arscontexta•57m ago•1 comments

What are the five pros and cons of artificial intelligence?

https://www.aljazeera.com/news/2026/9/13/what-are-the-five-pros-and-cons-of-artificial-intelligence
4•jethronethro•1h ago•0 comments

The Human Use of Human Beings - Norbert Wiener (1989) [pdf]

https://monoskop.org/images/6/60/Wiener_Norbert_The_Human_Use_of_Human_Beings_1989.pdf
4•andsoitis•1h ago•0 comments

I think of time as an arrow, so I made a linear calendar

https://theawesomecalendar.com/en
1•maksonam•1h ago•3 comments

Expanding model choice in Copilot with Grok

https://techcommunity.microsoft.com/blog/microsoft-copilot-blog/expanding-model-choice-in-copilot...
3•andsoitis•1h ago•0 comments

Ask HN: Is there an emerging pattern for NEGATIVESKILLS.md files?

2•mehmetoguzderin•1h ago•2 comments

BluBeam Pro

https://blubeam.pro/
2•alexawilder•1h ago•1 comments

DuckDB 2.0 Pushes Whole Queries Through ADBC–10–11× Faster on PostgreSQL

https://query.farm/blog/one-query-one-arrow-stream-adbc-duckdb-2/
3•rustyconover•1h ago•0 comments