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.

Show HN: PicoWebs – Instant Accountless Microsites

https://picowebs.com
1•lavlessgnr•1m ago•0 comments

TinyGo 0.42 – Recover Is Real

https://tinygo.org/blog/2026/tinygo-0.42-recover-is-real/
1•heckelson•1m ago•0 comments

Implementing FMA and finding bugs in C and Rust standard libraries

https://shnatsel.github.io/implementing-fma-finding-bugs-in-std/
1•signa11•1m ago•0 comments

Is the IDE dead?

https://textlog.cc/post/251
1•stagas•2m ago•0 comments

Shed Skin restricted-Python-to-C++ transpiler 0.9.13

https://github.com/shedskin/shedskin
1•srepmub•2m ago•1 comments

Context complexity: what is the Big-O of an agent API?

https://mchav.github.io/context-complexity/
1•internet_points•7m ago•0 comments

Clippers cap circumvention report explained

https://clippersreport.com/
1•dagrz•8m ago•0 comments

Semek: Local AI hub for labelling/filtering digital content

https://itdaily.com/news/software/aaltra-and-ghent-university-develop-semek-a-local-ai-hub-for-di...
1•stinos•8m ago•0 comments

Huawei Watch D3, Built-In Air Pump Blood Pressure Sensor – Thoughts?

https://sensorspecs.fyi/device/huawei-watch-d3
1•indigoman•8m ago•0 comments

New York Times Union Demands Company Abandon Kalshi Talks

https://frontofficesports.com/article/new-york-times-union-kalshi-deal/
2•thm•9m ago•0 comments

Chopin: Real-time multiplayer, agentic planning environment

https://githubnext.com/projects/chopin/
1•handfuloflight•10m ago•0 comments

Show HN: Radio Bench cross platform unified amateur radio workspace

https://radiobench.com
1•skerris•13m ago•0 comments

For the Birds: "Lights Out" Programs and the Avian Economy

https://www.darkskyconsulting.com/blog/for-the-birds-lights-out-programs-and-the-avian-economy
1•latexr•13m ago•0 comments

U.K. Supreme Court Opens Door for Spyware Victims to Sue Foreign States

https://www.lawfaremedia.org/article/u.k.-supreme-court-opens-door-for-spyware-victims-to-sue-for...
3•giuliomagnifico•18m ago•0 comments

Patching Qualcomm QHEE to Get KVM Running on Arduino Uno Q

https://jaseg.de/blog/kvm-on-qualcomm-arduino-uno-q/
1•serhack_•19m ago•0 comments

Should coding agents be allowed to touch infrastructure?

https://catalyst.zoho.com/agent-stack/
1•theashbord•19m ago•1 comments

Pieter Levels: Programming, Viral AI Startups, and Digital Nomad Life [video]

https://www.youtube.com/watch?v=oFtjKbXKqbg
1•tosh•22m ago•0 comments

China's falling emissions amid Iran war spark hope of decarbonisation watershed

https://www.theguardian.com/environment/2026/sep/03/china-co2-emissions-iran-war
1•tahs•24m ago•0 comments

The Filesystem Explained [video]

https://www.youtube.com/watch?v=qdS8rxVYFJk
2•vismit2000•25m ago•0 comments

Ask HN: How much does licensing approach influence purchase decisions?

1•terranivium•25m ago•0 comments

GitHub CLI: Images and videos in issues, pull requests, and comments

https://github.blog/changelog/2026-09-01-github-cli-media-in-issues-pull-requests-and-comments/
1•marksully•32m ago•0 comments

Ask HN: Particularly does a leg injury affect your quality of life

1•smithmayowa•32m ago•1 comments

Lab Policy on AI in Writing and Communication

https://www.cs.columbia.edu/~johnhew/lab/ai-policy.html
1•sebg•35m ago•0 comments

Oracle SQL Developer Alternative: A Visual Oracle GUI

https://visualeaf.com/blog/oracle-sql-developer-alternative/
2•fan_drew•36m ago•0 comments

Steve Ballmer suspended 1 year by NBA

https://www.espn.co.uk/nba/story/_/id/49806683/nba-punishes-la-clippers-kawhi-leonard-investigati...
3•piker•36m ago•0 comments

People that worked on the same idea for decades

https://nityasnotes.com/writing/decades/
1•sebg•37m ago•0 comments

35 people I know lost their tech jobs. AI was part of the reason.

https://medium.com/@salari-dev/35-people-i-know-lost-their-tech-jobs-ai-was-part-of-the-reason-th...
1•salari_dev•37m ago•0 comments

Ask HN: Are Technical Blogs Dead?

4•quaintdev•38m ago•6 comments

States defy the tech lobby on AI rules

https://www.politico.com/news/2026/09/02/how-silicon-valley-lost-its-war-against-state-ai-laws-01...
1•reasonableklout•40m ago•0 comments

BrainTube – Your personal AI powered knowledge base

https://brain-tube.com/
1•illray•42m ago•0 comments