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.

More emulation goodness, an Intel Itanium (IA-64) emulator that boots Windows

https://raymii.org/s/blog/Intel_Itanium_IA-64-Emulator_that_boots_Windows.html
1•jandeboevrie•5m ago•0 comments

Victora proposes new laws to target big tech and online trolls

https://www.abc.net.au/news/2026-07-19/victoria-social-media-big-tech-laws/106932668
1•aragilar•9m ago•0 comments

Anthropic runs large-scale code migrations with Claude Code

https://claude.com/blog/ai-code-migration
1•vinhnx•12m ago•0 comments

Ask HN: Is anyone else facing login issues on Facebook?

1•wasi0013•13m ago•1 comments

Protester calls out Amazon CTO for allowing Israel to use their AI towards Gaza

https://www.reddit.com/r/chaoticgood/s/4Pla2e38AV
2•trymas•14m ago•0 comments

Where I erred in my original post about Kimi and my views on open-weight AI

https://twitter.com/deanwball/status/2078619513575137330
2•tosh•14m ago•1 comments

When China's open-source AI is a trap

https://www.economist.com/international/2026/07/14/when-chinas-open-source-ai-is-a-trap
2•chvid•16m ago•1 comments

LG Monitors Caught Installing Adware and App with Access to All System Resources

https://www.privacyguides.org/news/2026/07/17/lg-monitors-caught-installing-adware-and-app-with-a...
2•taubek•17m ago•0 comments

DeepSeek routes your request to Fable5

https://twitter.com/synthwavedd/status/2078514339552628880
2•lijialjun•18m ago•1 comments

Refs: Mutable Arrays in jax

https://docs.jax.dev/en/latest/array_refs.html
1•cl3misch•18m ago•0 comments

We Merged with Machines a Long Time Ago – Futurology and Berggruen Institute [video]

https://www.youtube.com/watch?v=tDccIoz-SFI
1•lioeters•18m ago•0 comments

All the Cool Kids Are Birding

https://www.theatlantic.com/health/2026/07/birding-millennials-genz/687910/
1•ep_jhu•22m ago•0 comments

Show HN: OfflineTTS — Free browser-based TTS & STT that runs locally

https://offlinetts.com/
1•twainyoung•22m ago•0 comments

How to Start a Successful Freelance Business as a Software Developer (2017)

https://nickjanetakis.com/blog/how-to-start-a-successful-freelance-business-as-a-software-developer
1•downbad_•24m ago•1 comments

Sue (Dinosaur)

https://en.wikipedia.org/wiki/Sue_(dinosaur)
1•thunderbong•32m ago•0 comments

Mirror your GitHub repos to tangled.org automatically

https://synchub.to/
1•wertyk•36m ago•0 comments

The Mighty Big Array of Finn Jensen LA8YB

https://la0by.darc.de/LA8YB_EME_MBA.htm
1•kalehmann•38m ago•0 comments

Facebook Down

https://downdetector.co.uk/status/facebook/
6•RupertWiser•39m ago•1 comments

Perforce charges $500 for training training videos.. and it's AI narrated

https://training.perforce.com/learn/courses/535/p4-helix-core-user-basic
2•TZubiri•43m ago•1 comments

Ask HN: Are you building agents? What do they need access to?

1•asim•43m ago•1 comments

Ollama: All Aboard Open Models

https://ollama.com/blog/all-aboard-open-models
2•inferhaven•44m ago•0 comments

Wolfram LLM Benchmarking Project

https://www.wolfram.com/llm-benchmarking-project/
1•rzk•45m ago•0 comments

Breeze – A High-Performance Go Web Framework with a Built-In Developer Dashboard

https://github.com/nelthaarion/breeze
1•ethanwinters•46m ago•1 comments

The Model Race Hangover

https://adlrocha.substack.com/p/adlrocha-the-model-race-hangover
1•adlrocha•47m ago•0 comments

2026 EuroLLVM – Rust or CHERI?

https://www.youtube.com/watch?v=3YJn2VULv8E
1•pjmlp•47m ago•0 comments

OpenAI reduces Codex Model Context Size from 372k to 272k

https://github.com/openai/codex/pull/33972/files
1•AmazingTurtle•49m ago•0 comments

Some Observations on Kimi (OpenAI "Head of Strategic Futures")

https://xcancel.com/deanwball/status/2078133895766114412#m
1•vrganj•50m ago•1 comments

Show HN: Use the document. Not the personal data

https://www.dokmine.com/
1•not_wowinter13•51m ago•0 comments

FckSignups: Open-source tools. No accounts, emails, tracking–just tools

https://github.com/BraveOPotato/FckSignups
1•wertyk•52m ago•0 comments

Analogies in Nature (1856) [pdf]

https://mimno.infosci.cornell.edu/papers/maxwell-analogies.pdf
2•rzk•54m ago•0 comments