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.

Superlogical Server Memory Optimizations Overview [video]

https://www.youtube.com/watch?v=T5gV6anSt-4
1•bbg2401•2m ago•0 comments

Distributed PyTorch Profiling

https://zhenyu.github.io/2026/09/02/why-a-gpu-profiling-capture-turned-into-a-distributed-systems...
1•asaiacai•3m ago•0 comments

Performance Characterization of SPEC CPU 2026 on AMD EPYC 9755 "Zen 5" Processor

https://arxiv.org/abs/2609.01527
1•matt_d•4m ago•0 comments

Google DeepMind Just Rolled Out Its Most Accurate AI Global Weather Model

https://gizmodo.com/google-deepmind-just-rolled-out-its-most-accurate-ai-global-weather-model-200...
1•Aboutplants•5m ago•0 comments

Who is using FPGA for ML inference?

2•softwarewright•5m ago•0 comments

Ask HN: iPhone Camera on indicator.

1•zahirbmirza•8m ago•0 comments

These websites Have Been Seized

https://seized.fyi/
1•Cider9986•9m ago•0 comments

NVIDIA's Acquisition of HuggingFace was for $HuggingFace

1•MontagFTB•11m ago•0 comments

Ukrainian Sea Drones Strike Russian Black Sea Resort Town of Sochi

https://www.twz.com/news-features/ukrainian-sea-drones-strike-russian-black-sea-resort-town-of-so...
1•cisc•11m ago•0 comments

Dependent if expressions without dependent types

https://haskellforall.com/2026/09/dependent-if-expressions
1•birdculture•12m ago•0 comments

Rusty state of USS Abraham Lincoln after marathon deployment shocks observers

https://www.cnn.com/2026/09/03/asia/aircraft-carrier-abraham-lincoln-rust-intl-hnk-ml
2•cisc•13m ago•0 comments

Flock Is Cancelled–and Their Competitors Are Profiting

https://www.motherjones.com/politics/2026/09/flock-contracts-cancelled-cameras-alpr-rekor-axon-fl...
2•cdrnsf•13m ago•0 comments

Hosting Valkey: one MicroVM per store, durable by default

https://mojave.sh/blog/valkey-in-a-microvm
2•stwrt•13m ago•0 comments

GPT 6 is way behind Anthropic on Artificial Analysis

https://artificialanalysis.ai/models/gpt-6-astra
2•pranshuchittora•14m ago•0 comments

The Selfish AI Model

https://ateliti99.substack.com/p/the-selfish-ai-model
1•olirex99•15m ago•0 comments

Jsonquery_GUI – A native Rust/egui desktop tool for streaming jq queries

https://github.com/nujufas/jsonquery_gui
1•nujufas•15m ago•0 comments

AWS STS

1•fotta•18m ago•0 comments

Four major AI models suffer rare overlapping downtime

https://arstechnica.com/ai/2026/09/four-major-ai-models-suffer-rare-overlapping-downtime/
2•SockThief•20m ago•0 comments

New weight loss and diabetes treatment helps burn fat while keeping muscle

https://news.berkeley.edu/2026/08/21/a-promising-new-weight-loss-and-diabetes-treatment-helps-bur...
5•gmays•21m ago•0 comments

Parity Problem

https://en.wikipedia.org/wiki/Parity_problem
1•binyu•22m ago•0 comments

Show HN: We replaced the pelican benchmark with a hippo

https://hippo.ryansailab.com
2•codemax98•22m ago•2 comments

Have we finally found dark matter?

https://www.scientificamerican.com/article/have-we-finally-found-dark-matter/
3•bookofjoe•22m ago•1 comments

Show HN: DrawDB Pro – design database schemas for your team and agents

https://www.drawdb.app/
3•1ilit•23m ago•0 comments

Ask HN: Is there a test for measuring cognitive affects from LLM usage?

2•niwrad•23m ago•0 comments

CERN moves accelerator control computers to Debian

https://www.theregister.com/os-platforms/2026/09/03/cern-moves-thousands-of-accelerator-control-c...
1•joebuckwilliams•24m ago•0 comments

Mullvad migrating to Q9 for encrypted DNS

https://mullvad.net/en/blog/shutting-down-our-public-encrypted-dns-servers-and-sponsoring-quad9-i...
4•matrix8967•25m ago•1 comments

Court Rules Against Citizen Journalists in DMCA Takedown Case–EFF Will Appeal

https://www.eff.org/deeplinks/2026/09/court-rules-against-citizen-journalists-dmca-takedown-case-...
2•hn_acker•26m ago•0 comments

I built an AI development environment that runs and builds software on Android

https://github.com/sedds89/StitchLabtools
1•sedds89•28m ago•0 comments

I used AI to connect with 30 people at a conference

https://galvered.com/blog/ai4-conference/
1•Bootstrapper909•29m ago•0 comments

Both recent GCP outages caused by fiber optic maintenance

2•fastest963•33m ago•0 comments