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.

US Space Force gives Rocket Lab $397M to build threat-tracking 'Flatellites'

https://www.space.com/space-exploration/satellites/us-space-force-gives-rocket-lab-usd397-million...
1•walrus01•1m ago•0 comments

A Workaphile's Apology

https://moalquraishi.wordpress.com/2026/08/10/a-workaphiles-apology/
1•superfx•2m ago•0 comments

Dario Amodei on Regulation and Concentration of Power

https://xcancel.com/DarioAmodei/status/2088758816376807762
1•yurivish•6m ago•0 comments

Snail OS – Custom Firmware for the Xteink X4

https://snailos.org
2•alibosworth•15m ago•0 comments

Omarchy Quattro by DHH Released [video]

https://www.youtube.com/watch?v=F7fe9pa8OeE
2•ayatollah•21m ago•0 comments

Why Your Summer Wardrobe Should Include UV Protection, Linen Clothing

https://www.bloomberg.com/news/features/2026-08-14/why-your-summer-wardrobe-should-include-uv-pro...
2•petethomas•31m ago•0 comments

California Energy Storage System Survey

https://www.energy.ca.gov/data-reports/energy-almanac/california-electricity-data/california-ener...
2•toomuchtodo•35m ago•1 comments

Theory of Constraints

https://en.wikipedia.org/wiki/Theory_of_constraints
2•diatone•37m ago•1 comments

Destroying My Homelab with Kubernetes – Linux Society UNSW 2026 [video]

https://www.youtube.com/watch?v=U-xqxMQD2QE
3•l-mdev•37m ago•0 comments

Guiding Ships with Moire Patterns

https://tinkerings.org/2018/03/28/guiding-ships-with-moire-patterns/
2•Eridanus2•40m ago•0 comments

TrueStar – AI moderated expert interviews and multi-agent deep research

https://truestar.tech
2•vineetkia•43m ago•1 comments

CosmicOS: An open source Contact message

https://cosmicos.github.io/
3•paulfitz•45m ago•0 comments

We Can't Control the Bots

https://12gramsofcarbon.com/p/tech-things-we-cant-control-the-bots
3•theahura•51m ago•1 comments

Privacy is an underrated advantage in Slack apps

2•alance•55m ago•1 comments

Dots3-Note Preview

https://huggingface.co/dots-studio/dots3-note-prev
2•handfuloflight•57m ago•0 comments

One Moment – A temporary clipboard that lives only in the browser

https://onemoment.me/
2•diosnelayalag•1h ago•0 comments

Attention Through Arithmetic Intensity

https://changyi.fun/posts/attention-arithmetic-intensity/
3•jxmorris12•1h ago•0 comments

Snap Chart AI

https://www.snap-chart.ai/
3•trendyking•1h ago•0 comments

Privibe - LLM Cli Local first+privacy focus+llama.cpp cache branch + Qwen3.x

https://github.com/alainnothere/privibe/tree/main
2•xlayn•1h ago•1 comments

Parts Pairing Kills Independent Repair (2023)

https://www.ifixit.com/News/69320/how-parts-pairing-kills-independent-repair
3•evolve2k•1h ago•0 comments

Show HN: Mic Drop, a real-time multiplayer karaoke game

https://www.micdrop.gg/
4•johnsillings•1h ago•2 comments

Why Buy It When You Can Print It? A DIY Nation Has a Fix for Broken Doodads

https://www.wsj.com/tech/why-buy-it-when-you-can-print-it-a-diy-nation-has-a-fix-for-broken-dooda...
2•mikhael•1h ago•0 comments

Show HN: I built a native app for coding agents with Rust and GPUI

https://waku.sh
3•0x142857•1h ago•1 comments

Jevons Paradox

https://en.wikipedia.org/wiki/Jevons_paradox
4•elsewhen•1h ago•1 comments

Just shared my experience building a full marketplace with Claude

https://initacademy.oyakoo.store/products/build-it-with-ai
2•zooboole•1h ago•0 comments

The AI Bubble Is on Its Last Legs

https://www.youtube.com/watch?v=szK9LIGvW1o
3•cable2600•1h ago•0 comments

MIT Webscraper :)

https://liamis.dev/blogs/MitWebscraper/MitWebscraper.html
3•ForgottenMail•1h ago•4 comments

An Idiot's Guide to Winning Elections

https://outlookzen.com/2026/08/15/an-idiots-guide-to-winning-elections/
3•whack•1h ago•0 comments

ChatGPT lost 22 points of web share in a year

https://aicharts.grok.me/c/market-share
17•echohive42•1h ago•34 comments

The complete AI SEO playbook: from zero to 4.6M impressions in 3 months

https://github.com/TraceCohenTech/ai-seo-playbook
5•t_cohen•1h ago•4 comments