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.

Sea Turtle Sex Crisis: Why 99% Are Now Female

https://mazingamazingly.blogspot.com/2026/08/sea-turtle-sex-crisis-why-99-are-now.html
1•karakoram•1m ago•0 comments

The Optimization Theory of Everything

https://12gramsofcarbon.com/p/the-optimization-theory-of-everything
1•mltimdia•4m ago•0 comments

Gen-1.5 – The robot that one-shot learns with humans

https://generalistai.com/blog/gen-1.5
1•tuesdaynight•5m ago•0 comments

What the Newest Research on Wildfire Smoke Tells Us

https://www.nytimes.com/article/wildfire-smoke-health-effect.html
1•karakoram•6m ago•1 comments

Citadel Offloads 80% of Portfolio Scooped Up from Situational Awareness

https://www.ft.com/content/1603577e-89d8-4cfa-884b-b83fbb8dd20e
1•karakoram•8m ago•1 comments

Device Goes Past Equilibrium [Steve Mould] [video]

https://www.youtube.com/watch?v=NvkZaWLe0Sk
1•mdp2021•9m ago•0 comments

Show HN: I launched the most generous leaderboard

https://goodbid.lol/
2•xcanchal•12m ago•1 comments

FDA Approves Moderna's mRNA Flu Vaccine

https://www.nytimes.com/2026/08/05/health/mrna-flu-vaccine-moderna.html
1•gmays•14m ago•0 comments

Grasp: Simple protocol for code collaboration that uses interoperable servers

https://gitgrasp.com/
1•Bluestein•19m ago•0 comments

Song (server of Nostr-powered Git) is a simple personal Git server

https://gitworkshop.dev/npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6/song
1•Bluestein•20m ago•0 comments

Does Python still need to be async-first?

https://blog.grandimam.com/posts/does-python-still-need-to-be-async-first/
1•grandimam•22m ago•0 comments

Self-host your own software factory

https://github.com/vercel-labs/eve-software-factory-template/tree/main
1•flashbrew•24m ago•0 comments

Model Genome: Fingerprinting Whether an LLM Was Trained from Scratch or Derived

https://huggingface.co/blog/mayafree/model-dna
1•gmays•25m ago•0 comments

Show HN: ClearVoice TTS, SOTA voice cloning model running offline, in an iOS app

https://apps.apple.com/ie/app/clearvoice-text-to-speech/id6798899505
1•roryclear•26m ago•0 comments

Multi-Agent Harness for Visual Design

https://github.com/EightPotions/Myli
1•yelboudouri•26m ago•0 comments

The Rise of the Sovereign Individual

https://dergigi.com/2019/08/22/the-rise-of-the-sovereign-individual/
1•Bluestein•27m ago•0 comments

New physics: LBL/Davis showing fusion persists at ultra low energies

https://physicsworld.com/a/nuclear-fusion-persists-at-ultralow-energies-inside-metal-foils/
1•redwood•29m ago•0 comments

ssh sshfighter.com

https://sshfighter.com?hn
3•thomasfromcdnjs•30m ago•0 comments

Show HN: Free Vision TUI Library for Go

https://github.com/oldwired/fv-go
1•omnibrain•30m ago•0 comments

Terence Tao: Understanding 6 essential mathematical concepts

https://bigthink.com/series/full-interview/6-essential-mathematical-concepts/
2•ferryth•30m ago•0 comments

Omikron Game Data Explorer

https://github.com/razodactyl/mod-omikron-tools
1•razodactyl•30m ago•0 comments

A correct Android answer can still fail the interview

https://salari.dev/writing/a-correct-android-answer-can-still-fail/
2•salari_dev•32m ago•0 comments

The Remarkable Lives of 5-Year-Old Brain Organoids

https://nautil.us/the-remarkable-lives-of-5-year-old-brain-organoids-1284120
1•Brajeshwar•34m ago•0 comments

Success = (number of attempts) × (probability of success each time)

https://www.thetrueengineer.com/p/success-number-of-attempts-probability
1•adletbalzhanov•34m ago•2 comments

Show HN: VRAM calculator that counts the text encoder, not just the weights

https://nerdylive123.github.io/vram-calculator/clean/
1•Aadi1277•36m ago•0 comments

Show HN: Turn photos into the 'silly crayon drawing' style trending in Korea

https://somodus.com/store/agent/6a86eba3c9ad1102ef19eae7-silly-cute-turn-animals-people-and-objec...
1•eric2025•37m ago•1 comments

Deterministic simulation testing for Python asyncio

https://github.com/klimavojtech2002/seedloop
1•klimavojtech200•39m ago•0 comments

An Explanation

https://ticci.craft.me/explanation
1•tosh•43m ago•0 comments

An Afternoon in Tokyo with the Man Who Designs Casio G-Shock Watches (2017)

https://www.ablogtowatch.com/tokyo-man-designs-casio-g-shock-watches-ryusuke-moriai/
2•bookofjoe•44m ago•0 comments

DARPA Lift challenge – lift 200 lbs with 55 lb drone

https://www.youtube.com/watch?v=zjSditBf-pU
1•lifeisstillgood•45m ago•0 comments