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.

Common Root – The Abrahamic scriptures, side by side

https://common-root.org/
1•christa_claw•36s ago•0 comments

Show HN: Scoring 4,811 job tasks against machine capability, 1970–2041

https://largelabormodel.com/mirror
1•chessucation•51s ago•0 comments

Undocumented Atari Slapstic side-channel in a Marble Madness reimplementation

https://magno73.github.io/marble-love/slapstic/
1•magno•58s ago•0 comments

Unpacking OpenAI's sphere packing result

https://www.empirical.health/blog/ai-math-sphere-packing/
1•brandonb•1m ago•0 comments

DuctTape Collective

https://ducttapecollective.com/
1•jruohonen•1m ago•0 comments

Twenty-One Miles – How far from a road you can get in the lower 48

https://ryansajdak.com/remote/
1•jtsnow•2m ago•0 comments

Show HN: Preview Postgres writes from AI agents with xmin checks (pg-dry-run)

https://github.com/polycore/pg-dry-run
1•anarkafkas•3m ago•0 comments

Order from disorder: do we need a new law of physics?

https://www.nature.com/articles/d41586-026-02685-0
1•Brajeshwar•3m ago•0 comments

Oscar Winner Brings Monsters to Life with His Simulation Software

https://spectrum.ieee.org/oscar-winner-jernej-barbic
1•jruohonen•3m ago•0 comments

Apple Watch Ultra 4 will differentiate itself from prior models

https://9to5mac.com/2026/08/28/heres-how-apple-watch-ultra-4-will-differentiate-itself-from-prior...
1•brandonb•4m ago•0 comments

'The forgotten empire': When Russia colonised California

https://www.bbc.com/travel/article/20260828-when-russia-colonised-california
1•tzury•4m ago•0 comments

Edit and present slides in Markdown with AI

https://kordikp.github.io/slaidy/
1•kordikp•4m ago•0 comments

What Are Platform Businesses?

https://platformchronicles.substack.com/p/what-are-platform-businesses
2•rafaelc•7m ago•0 comments

ChatGPT and Reddit now face EU's toughest online safety rules

https://arstechnica.com/tech-policy/2026/08/chatgtp-and-reddit-now-face-eus-toughest-online-safet...
3•ViktorRay•9m ago•0 comments

He Was a Top Lawn Care Influencer on YouTube. Then Everything Went Haywire

https://www.nytimes.com/2026/08/30/magazine/greg-chism-youtube-bad-baby.html
2•mooreds•10m ago•0 comments

Australia risks missing out on AI economic boom due to 'slow' business uptake

https://www.abc.net.au/news/2026-08-31/ai-could-boost-australias-economy-treasury-flag-slow-uptak...
2•ern•10m ago•0 comments

Twelve questions to ask before you choose your fleet's memory platform

https://medium.com/@majid.fekri/the-agent-memory-checklist-6b3da2df17e2
2•supportm•11m ago•0 comments

Launch HN: Hebbian Robotics (YC S26) – Build scalable robotics data pipelines

https://github.com/Hebbian-Robotics/hflow
3•kstonekuan•12m ago•0 comments

Risk averse Australians not 'having a go' in a culture of compliance (2019)

https://www.smh.com.au/business/the-economy/risk-averse-australians-not-having-a-go-in-a-culture-...
2•ern•12m ago•0 comments

Agentic Trust Controls

https://trustcontrols.ai/
4•mooreds•13m ago•0 comments

Kahn vs. Anthropic, PBC

https://www.vacadaffanlaw.com/post/kahn-v-anthropic-pbc
4•Bluestein•14m ago•1 comments

Show HN: 2x-4x cheaper GLM 5.3 for coding and research

https://www.coralbricks.ai
2•Hiteshjain118•15m ago•0 comments

'Talk to Mom': Burning Man attendees use this phone to call home

https://www.sfgate.com/sf-culture/article/burning-man-pay-phone-19736797.php
3•Bluestein•16m ago•0 comments

Snake embryos often coil in one direction. Now, we may know why

https://www.science.org/content/article/snake-embryos-often-coil-one-direction-now-we-may-know-why
2•Brajeshwar•16m ago•0 comments

AI ruined some of my most precious accessibility tools

https://straye.dgirl.gay/blog/2026/ai-ruined-accessibility/
3•speckx•17m ago•0 comments

Migrating a production cluster off ingress-nginx to Traefik v3

https://hostim.dev/blog/migrating-off-ingress-nginx/
2•pv1337•19m ago•0 comments

Show HN: What Happens When You Give Your AI Agents a Voice and an Attitude

https://fellowgeek.github.io/mcp-speak/
3•pcbmaker20•19m ago•1 comments

Apache Iggy, a message streaming platform in Rust, graduates to an Apache TLP

https://iggy.apache.org/blogs/2026/08/24/apache-iggy-top-level-project-tlp-graduation/
10•spetz•20m ago•3 comments

Doubling of Kobo's U.S. sales in both 2025 and 2026, 70% US female customer base

https://www.reddit.com/r/kobo/comments/1w20azv/the_doubling_of_kobos_us_sales_in_both_2025_and/
3•seam_carver•21m ago•0 comments

Free Online Tools and Apps

https://actuallyfreeonlinetools.com
3•bobby2shorts•21m ago•0 comments