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.

Open-Source, Off-Grid LoRa Pet Tracker (No Subscription, No Cloud)

https://www.instructables.com/LIA-an-Open-Source-Off-Grid-LoRa-Pet-Asset-Tracker/
1•sudo_cowsay•6m ago•1 comments

Composer 2 Technical Report

https://arxiv.org/abs/2603.24477
1•ronfriedhaber•6m ago•0 comments

'Every millimetre counts': Inside the beast tunnelling under Sydney Harbour

https://www.smh.com.au/national/nsw/every-millimetre-counts-inside-the-beast-tunnelling-under-syd...
1•hiharryhere•7m ago•0 comments

We Build an Autonomous SRE Agent for Kubernetes Deployments

https://www.langchain.com/blog/how-we-build-an-autonomous-sre-agent-for-kubernetes-deployments
1•markgavalda•8m ago•0 comments

Port the Enlightenment desktop environment to NetBSD

https://blog.netbsd.org/tnf/entry/gsoc2026_enlightenment
1•birdculture•9m ago•0 comments

Contra DSPy and GEPA

https://benanderson.work/blog/contra-dspy-gepa/
1•rzk•10m ago•0 comments

Are AI agents our industry's industrial robots?

https://www.marcusoft.net/2026/08/ai-robots.html
2•nialse•17m ago•1 comments

Royal Navy drone cameras sent signals to China

https://www.independent.co.uk/news/uk/home-news/royal-navy-drone-cameras-china-mod-b3030094.html
2•wolfi1•18m ago•0 comments

Show HN: Yaply – translate and learn English from your X feed

https://yaply.app
2•matthiasMRC•18m ago•0 comments

Towers of Silence

https://99percentinvisible.org/episode/579-towers-of-silence/
1•NoRagrets•21m ago•0 comments

Diffusion LLMs as Targets and Adversaries: Mechanistic Safety Exploits

https://arxiv.org/abs/2608.07430
1•sbulaev•24m ago•0 comments

Who Should Pay for Source Code Availability?

https://kristoff.it/blog/source-code-availability/
1•h1watt•27m ago•0 comments

The making of an advert before CGI – Chevy Impala 1966 [video]

https://www.youtube.com/shorts/VLBRvCaWIiY
1•lifeisstillgood•27m ago•0 comments

How to be an AI safety research engineer

https://www.lesswrong.com/posts/Wty5mcDBEmypap8o2/how-to-be-an-ai-safety-research-engineer
1•joozio•29m ago•0 comments

Is Europe safer than America?

https://www.economist.com/graphic-detail/2026/08/09/is-europe-safer-than-america
3•vinni2•33m ago•2 comments

Kimi K3 Sandbox Escape Exposes Weak Links in Agent Testing

https://ai-updates.net/kimi-k3-sandbox-escape-agent-testing/
1•ashurandi•37m ago•1 comments

MIT researchers tackle the economic realities of fusion power

https://news.mit.edu/2026/mit-researchers-tackle-economic-realities-fusion-power-0810
2•mdp2021•40m ago•0 comments

Israeli settlers are sneaking into Syria to claim land for a Jewish outpost

https://apnews.com/article/israel-syria-netanyahu-jewish-settlers-bashan-461c4c4f686d5cf74f0617a7...
4•hebelehubele•40m ago•1 comments

The Renaissance Was Edited Before Anyone Asked for It Back

https://thetraces.substack.com/p/the-renaissance-was-edited-before
1•feldrim•40m ago•0 comments

Passkey Town

https://fenko.nz/passkey-town/
2•mosajjal•43m ago•2 comments

Scaling Logical Reasoning on Modern HPC Hardware

https://surface.syr.edu/etd/2351/
1•matt_d•44m ago•0 comments

AI assistant hacks gym website in first known Australian autonomous cyber attack

https://www.rnz.co.nz/news/world/952663/ai-assistant-hacks-gym-website-in-first-known-australian-...
3•billybuckwheat•44m ago•0 comments

OpenHaystack: Reverse-engineered Apple's Find My network

https://github.com/seemoo-lab/openhaystack
2•BrandiATMuhkuh•45m ago•0 comments

Dark mode toggles: two states are enough

https://lea.verou.me/blog/2026/dark-mode-toggles/
3•JeremyTheo•52m ago•1 comments

Why does Apple have an office in a small town close to Hamburg?

https://alsterrunde.com/why-does-apple-have-an-office-in-a-small-town-close-to-hamburg/
3•mertbio•54m ago•0 comments

Show HN: NexusMem – Local context memory engine for AI coding agents

https://github.com/yaminbakoh4-dot/NexusMem
2•yamin_bakoh•56m ago•0 comments

AI companies destroy physical books – let's scan rare books before it's too late

https://annas-archive.gl/blog/physical-destruction.html
5•rzk•58m ago•0 comments

Show HN: Lector, a FOSS self-hosted language reader (with a cloud option)

https://lector.dev/
2•3stacks•58m ago•0 comments

AI Is Rewiring South Korea's Careers, Dating and Culture

https://www.bloomberg.com/news/features/2026-08-06/ai-sk-hynix-samsung-rewire-south-korea-s-caree...
2•theanonymousone•1h ago•0 comments

Endlessdoors Is Phoning Home. Pick Up

https://www.vulncheck.com/blog/zbt-endlessdoors
2•D4Ha•1h ago•0 comments