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: MarketStory – what 1,750 X and YouTube investors say about each stock

https://marketstory.com
1•jhow15•11s ago•0 comments

My LLM sessions were confusing me, so I built with-my-dashboards

https://www.pangglow.com/files/blog/run-my-desktop.html?from=hn
1•murrrrrph•27s ago•0 comments

Tech giants agree to 10 rules for AI development after meeting with the King

https://www.bbc.co.uk/news/articles/cq4gnw481y3mo
1•nothing_is_real•3m ago•0 comments

Making BM25 OR queries fast for agents, inside and across Parquet files

https://infino.ai/blog/or-queries/
1•tatvamasi•3m ago•0 comments

Ukraine's robot missions and Russian war casualties both reach record highs

https://arstechnica.com/gadgets/2026/12/ukraines-robot-missions-and-russian-war-casualties-both-r...
1•shantara•3m ago•1 comments

Far Behind in the Space Race, Europe Just Boosted Its Rocket Production

https://www.wsj.com/tech/far-behind-in-the-space-race-europe-just-boosted-its-rocket-production-2...
1•ishikawa•4m ago•0 comments

Show HN: Poxture App checks 8 desk habits, No image, no account, no subscription

https://poxture.com/
1•ssv445•5m ago•0 comments

Ask HN: What non-AI products are you working on?

8•simonkk•6m ago•4 comments

Reading MAME 0.280's SNES PPU Window and Color-Math Path

https://danielcosenza.com/posts/rg-mame-snes-ppu-window-color-math-path/
1•frostbyte7•7m ago•0 comments

Build vs. Buy in IIoT: How Senior Engineers Evaluate Platforms vs. Custom Code

https://iiotjob.com/blog/build-vs-buy-in-iiot-how-senior-engineers-evaluate-platforms-vs-custom-code
1•ishikawa•7m ago•0 comments

For the First Time, Physicists Have Observed Light Reflecting Backward in Time

https://www.sciencealert.com/for-the-first-time-physicists-have-observed-light-reflecting-backwar...
1•tapper•8m ago•1 comments

Wood becomes strong, flexible and transparent with a new chemical method

https://phys.org/news/2026-12-wood-strong-flexible-transparent-chemical.html
1•bookofjoe•8m ago•1 comments

AWS research: AI systems are the fastest-growing target for threat actors

https://www.aboutamazon.com/news/aws/aws-madpot-ai-threat-intelligence
3•ersinesen•8m ago•0 comments

On Migration to Quantum-Safe Cryptography (PhD Thesis) [pdf]

https://orbilu.uni.lu/bitstream/10993/68937/1/thesis_final.pdf
1•honzaik•8m ago•1 comments

Airband: Keep AirPods in 48 kHz Stereo HFP while the microphone is active

https://tangled.org/kaeden.codes/airband
1•nerdypepper•11m ago•0 comments

Show HN: Venture News – HN for funding rounds

1•FailMore•12m ago•0 comments

Decoding, Prompting, and Agents

https://stochastic.blog/decoding-prompting-and-agents/
1•Anon84•14m ago•0 comments

Raku AI-Agent Skill

https://raku-advent.blog/2026/12/04/day-4-raku-ai-agent-skills/
2•antononcube•15m ago•0 comments

Show HN: Python script to help local agents connect Colab/pod easier with E2EE

https://github.com/chaosprint/podwire
1•chaosprint•16m ago•0 comments

The journey of a fast accessible web app: 25 years of traintimes.org.uk

https://www.youtube.com/watch?v=4S0RLnOtqN4
1•fanf2•16m ago•0 comments

Show HN: Asoapi – App Store intelligence API, remote MCP, and free ASO tools

https://asoapi.dev/
1•ghuuuif•16m ago•0 comments

Self-hosted runner security and the problem with persistent runners

https://bitrise.io/blog/post/github-actions-self-hosted-runner-security
1•toddgergey•17m ago•0 comments

Abundance and equality without teaching AI human values. 12 pages

https://github.com/WhitePhoenixDev/Least-Wrong-AI
1•NiklasHenkel•17m ago•0 comments

A Simple Compiler Tutorial [video]

https://www.youtube.com/watch?v=oeqokW6xVG8
1•surprisetalk•18m ago•0 comments

Two-State OpenTofu Drift Supervision on Proxmox

https://blog.auroraweb.com.au/posts/opentofu-two-state-drift-supervision/
1•jacobyz•20m ago•0 comments

US banks are sharing Social Security numbers with advertising giants Reddit, X

https://www.melurna.com/research/psa-online-forms-can-collect-your-data-even-if-you-never-hit-sub...
4•DeepLogin•21m ago•1 comments

Palmer Luckey's Slab, Explained: A 1k-Year Seastead Built for American Indust

https://iiotjob.com/blog/palmer-luckey-slab-seastead-explained
2•ishikawa•21m ago•0 comments

New Qwen4-35B-A3B model knew it didn't know the book. Then it made up three more

https://huggingface.co/unsloth/Qwen4-35B-A3B-GGUF/discussions/10
1•Halbstein•21m ago•0 comments

Canadian streamer detained by ICE days after ride down L.A. River during storm

https://www.latimes.com/california/story/2026-12-03/canadian-streamer-detained-by-ice-days-after-...
1•PaulHoule•24m ago•0 comments

Show HN: Convert any website to an ePub or a book of sites

https://readplace.com/article-to-epub
1•fagnerbrack•25m ago•0 comments