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.

Ammonium perchlorate composite propellant

https://rocketry.fandom.com/wiki/Ammonium_perchlorate_composite_propellant
1•Bluestein•1m ago•0 comments

Embedded Evaluators Can't Fix Companies That Choose to Be Bad

https://stellabiderman.ai/blog/embedded-evaluators-cant-fix-companies-that-choose-to-be-bad/
1•erlend_sh•2m ago•0 comments

Qwen3.8-Flash-Next 177B running at 11–15 tok/s on 1 RTX 5070 12GB and 32GB RAM

https://github.com/MohammadHaishemKhawaja/hashyy
1•maziianobeatz58•3m ago•0 comments

Accountability mechanisms can be joyful

https://liquidbrain.net/blog/accountability-and-joy/
1•luu•10m ago•0 comments

UK Government Body Kept Files on People Criticizing Prevent Program

https://reclaimthenet.org/uk-prevent-unit-tracked-online-critics
1•latein•15m ago•0 comments

An LLM Beat NetHack

https://kenforthewin.github.io/blog/posts/llm-nethack-ascension/
1•bigmadshoe•15m ago•0 comments

Taco Moses Fold

https://twitter.com/rystrave/status/2106446623736004682
1•sergiotapia•15m ago•0 comments

Physicists identify 'octupolar' magnetism, with implications for quantum tech

https://phys.org/news/2026-09-physicists-octupolar-magnetism-implications-quantum.html
1•smurda•17m ago•0 comments

Let AI agents use your site with 3 HTML attributes

https://markodenic.tech/let-ai-agents-use-your-site-with-3-html-attributes/
1•nreece•18m ago•0 comments

Someone got Doom running in an SQL database

https://arstechnica.com/gaming/2026/10/can-it-run-doom-sql-database-edition/
1•sbulaev•19m ago•0 comments

Show HN: Random Word Generator

https://arandomword.com/
1•artiomartiom•21m ago•0 comments

Nvidia Introduces 64GB DGX Spark

https://www.tomshardware.com/pc-components/gpus/nvidia-introduces-64gb-dgx-spark-to-throw-local-a...
1•kristianp•24m ago•0 comments

I stopped reviewing my agents' code. Here's what I do instead

https://alexeyindeev.substack.com/p/i-stopped-reviewing-my-agents-code
6•alexeyindeev•29m ago•0 comments

Thewired.link – a lain-inspired, text-focused social network

https://thewired.link/
1•alvesandreiolvr•31m ago•0 comments

Military Reusable Rocketry

https://surtr.substack.com/p/military-reusable-rocketry
1•MrBuddyCasino•32m ago•0 comments

MBTI for AI coding agents, complete with a self-awareness score

https://github.com/joonfjp/16agents
2•trndgtr•34m ago•0 comments

Games Hospitals Play – Decoding Your Private Healthcare Experience

https://www.bloomsbury.com/in/games-hospitals-play-9789361313394
1•vismit2000•34m ago•0 comments

AI Just Changed Mathematics Forever – Brian Greene & Tristan Buckmaster

https://www.youtube.com/watch?v=PQYFRuZ5phs
1•o4c•45m ago•0 comments

Matternet wants to rain hot chicken from the sky

https://www.fastcompany.com/91613416/matternet-wants-to-rain-hot-chicken-from-the-sky
1•vismit2000•48m ago•1 comments

Decision Models vs. ML Classification

1•jeena•50m ago•2 comments

Forward-Deployed Engineers

https://www.theregister.com/channel/2026/10/03/palantirs-fondness-for-french-food-cooked-up-techs...
1•saikatsg•54m ago•0 comments

Language Model "Shape" – Alex L. Zhang

https://alexzhang13.github.io/blog/2026/shape/
1•sks_15•55m ago•0 comments

Our Solar System Is Terminally Unstable

https://www.404media.co/our-solar-system-is-terminally-unstable-and-will-be-completely-destroyed-...
5•saikatsg•55m ago•0 comments

Ciliate Is About to Die (2020) [video]

https://www.youtube.com/watch?v=ibpdNqrtar0
1•polygot•1h ago•0 comments

The Dot and the Swarm

https://www.oneusefulthing.org/p/the-dot-and-the-swarm
2•saikatsg•1h ago•0 comments

The cost of lies: A Mineserver story

https://www.jeremyreimer.com/rockets-item.lsp?f=true&p=272
1•luu•1h ago•1 comments

Dyson CameraJet

https://geohot.github.io//blog/jekyll/update/2026/10/03/dyson-camerajet.html
1•smilelamp•1h ago•0 comments

wizard-engine: Research WebAssembly Engine

https://github.com/titzer/wizard-engine/
1•luu•1h ago•0 comments

Amazon responds to data center backlash, says it no longer uses NDAs

https://techcrunch.com/2026/10/03/amazon-responds-to-data-center-backlash-says-it-no-longer-uses-...
2•noisysoc•1h ago•0 comments

Archiving the Oldest Webcam Feed

https://hackaday.com/2026/10/01/archiving-the-worlds-oldest-webcam-feed/
2•rdmuser•1h ago•0 comments