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.

Cheap Drones Are Rewriting Warfare

https://www.barrons.com/articles/best-military-drone-stocks-4f90e7c6
2•Anon84•2m ago•0 comments

Great Stargazing Trains

https://www.nytimes.com/2026/05/13/travel/stargazing-train-rides.html
2•reaperducer•5m ago•0 comments

Volkswagen reportedly planning to axe 100k jobs

https://www.cnn.com/2026/06/26/economy/volkswagen-job-cuts
1•shadeslayer_•9m ago•0 comments

Exploring offline detection of sudden loudness changes

https://sites.google.com/view/adbuster-winapp/downloads
1•Bo_Amigo_910•13m ago•0 comments

The Reinvention of the Guitar in 13 Albums, by Simon Reynolds

https://thequietus.com/interviews/bakers-dozen/simon-reynolds-bakers-dozen-still-in-a-dream-reinv...
2•evo_9•17m ago•0 comments

It's Our Language Now

https://blog.plover.com/2026/06/27/
2•frizlab•20m ago•0 comments

Symmetry Breaking

https://en.wikipedia.org/wiki/Symmetry_breaking
3•tristenharr•20m ago•0 comments

Riskratchet: Stop AI-generated code from rotting your codebase

https://github.com/KayhanB21/riskratchet
2•keynha•22m ago•0 comments

Ask HN: Smallest amount of working ML weights that can be tattooed on a body?

1•thoughtpeddler•22m ago•0 comments

Show HN: OpenOrb – I built a transparent multi-agent AI tool

https://openorb.onrender.com
1•achlyssecurity•26m ago•0 comments

Show HN: Real Life Talent Tree – turn your CV skills into an RPG talent tree

https://reallifetalenttree.com/
1•vagkaratzas•28m ago•0 comments

Exe.dev Fan Site

https://exe-muttha-fukken-dev.exe.xyz
2•indigodaddy•33m ago•0 comments

Scientists find cannabis terpenes (geraniol) relieve chronic pain without a high

https://www.sciencedaily.com/releases/2026/06/260619033343.htm
1•ck2•34m ago•1 comments

Would you leave your car and hop into a flying taxi?

1•kyokoL•41m ago•2 comments

APL Keyboard on iOS

https://github.com/ebanner/apl-keyboard/tree/main
2•meken•42m ago•0 comments

Show HN: Wind particles on Mapbox from a single EXIF JPEG

https://www.us-wind-particle-map-demo.mapbox-exif-layer.com
1•zifanw9•42m ago•0 comments

PostgreSQL Zero-Downtime Migration: On-Prem to AWS Cloud

https://github.com/JoeyAlpha5/postgres-on-prem-aws-cloud-migration
1•sunbirdLabs•42m ago•0 comments

Show HN: Core Rankings for DBLP Profiles

https://pubtier.com/
1•otrack•46m ago•0 comments

PRs and LLMs

https://gerdzellweger.com/engineering/2026/06/27/prs-and-llms.html
3•gz09•49m ago•0 comments

The feature in OxCaml that more languages should steal

https://theconsensus.dev/p/2026/06/27/the-feature-in-oxcaml-more-languages-should-steal.html
2•g0xA52A2A•52m ago•0 comments

NASA: Explore El Niño

https://science.nasa.gov/earth/explore/el-nino/
2•karakoram•55m ago•0 comments

Apple wants permission to buy memory from a blacklisted Chinese supplier

https://www.theverge.com/tech/958707/apple-ram-buy-memory-blacklisted-china-cxmt
2•ilreb•56m ago•1 comments

Koreeda's 'Sheep in the Box': The ethics of AI resurrection in film

https://www.nippon.com/en/japan-topics/c030329/
1•whiteblossom•57m ago•0 comments

Engineers Cram 100B Transistors onto a Microchip

https://www.science.org/content/article/engineers-cram-100-billion-transistors-microchip
1•karakoram•58m ago•0 comments

The Card That Made the Apple II Serious

https://www.wiseowl.com/articles/a2fpga-videx-01-the-card-that-made-the-apple-ii-serious/
2•js2•58m ago•0 comments

NestJS and Angular SaaS Starter Kit (MIT)

https://github.com/sayahweb2-png/saas-starter-lite
1•firas_sayah•1h ago•0 comments

The abundant but expensive energy source that's under your feet

https://www.bbc.com/news/articles/cj3gj1n8yz8o
1•ksec•1h ago•0 comments

Department of Machine Verification

https://departmentofmachineverification.com/
2•nembal•1h ago•0 comments

Heat Wave in Europe Shatters Records in Denmark, Switzerland and Czech Republic

https://www.cbc.ca/news/world/europe-heatwave-2026-temperature-records-broken-9.7251458
4•runeks•1h ago•0 comments

Chinese Hedge Funds Warn the AI 'Super Bubble' Is Ready to Burst

https://www.bloomberg.com/news/articles/2026-06-26/chinese-hedge-funds-warn-the-ai-super-bubble-i...
4•aggrrrh•1h ago•1 comments