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.

Negative squaring – pre-tilted 3-bit quantization beat naive 4-bit

https://github.com/elpinyeknom/negative-squaring-/tree/main
1•faDOOM•26s ago•0 comments

Show HN: Airline pilot's interactive guide to aviation radio

https://jameshard.ing/posts/aviation-radio/
1•jamesharding•4m ago•1 comments

Ask your data in plain English

https://tablitsa.app/blog/ask-your-data-in-plain-english
1•valerko•4m ago•0 comments

Nearly half of U.S. retail spending comes from top 10% of earners

https://www.marketplace.org/story/2025/09/17/top-10-of-earners-make-up-half-of-us-retail-spending
1•akyuu•4m ago•0 comments

EasyJet is essential British travel infrastructure

https://revman.substack.com/p/easyjet-is-essential-british-travel
1•edward•5m ago•0 comments

Pgrust – Postgres, Rewritten in Rust

https://pgrust.com/
2•jonbaer•6m ago•0 comments

A Committee of Identical Agents Is Still One Mind

https://bugmedaily.substack.com/p/a-committee-of-identical-agents-is
1•enesunal•7m ago•0 comments

Comparing ML models in small molecule drug discovery

http://fbdd-lit.blogspot.com/2026/04/comparing-ml-models-in-small-molecule.html
1•surprisetalk•9m ago•0 comments

Late Bronze Age Collapse

https://acoup.blog/2026/01/30/collections-the-late-bronze-age-collapse-a-very-brief-introduction/
1•dmonay•10m ago•0 comments

Codex Chronicle

https://learn.chatgpt.com/docs/customization/chronicle
1•dmonay•11m ago•0 comments

Show HN: MCP Gateway – Turn existing APIs and databases into MCP servers

https://swaggertomcp.com
1•mhmt_dmr•11m ago•0 comments

Microcosm Industries: simulation toys and software microcosms

https://microcosm.industries/
1•arbesman•13m ago•0 comments

China's 'Silicon Valley' in Hangzhou: Home of DeepSeek, Alibaba and Ant Group [video]

https://www.youtube.com/watch?v=aEx7DvR5fZE
2•binyu•14m ago•0 comments

Hardening stb libraries using AI agents

https://mrunix.me/posts/stb-hardening/
2•mrunix•14m ago•0 comments

AI Slop by Robobun

https://github.com/oven-sh/bun/pull/33864
1•struanr•15m ago•0 comments

Show HN: Intel Desk, a geopolitical desk that scores sources and tracks Hormuz

https://www.inteldesk.app/
1•wudwerd01•16m ago•0 comments

Google DeepMind workers in UK vote to unionize amid deal with US Military

https://www.theguardian.com/us-news/2026/may/04/google-deepmind-uk-workers-union
1•nervai•16m ago•0 comments

Q1 2026 Innovation: Open-source collaboration is accelerating worldwide

https://github.blog/news-insights/policy-news-and-insights/q1-2026-innovation-graph-update-open-s...
1•AtroGi•18m ago•0 comments

Designing a Distributed Anti-Cheat Architecture

https://medium.com/@www.ahadprogamer/designing-a-distributed-anti-cheat-pipeline-14f13410d3e5
1•Ahadprogamer•20m ago•0 comments

Testing GPT 5.6 [video]

https://www.youtube.com/watch?v=SettwwX2cCI
1•mgh2•27m ago•0 comments

LLMs are bad at novelty, but that is our chance to Singularity

1•alex_brajkovic•27m ago•1 comments

I'm Quitting as Pluto.jl Maintainer

https://discourse.julialang.org/t/im-quitting-as-pluto-jl-maintainer/138028
3•fons-p•29m ago•1 comments

One local man's immunity to ticks could save us all (2015)

https://www.caryinstitute.org/news-insights/media-coverage/how-one-local-mans-immunity-ticks-coul...
1•downbad_•31m ago•0 comments

Production Data and AI Agents

1•Eapz_06•32m ago•0 comments

Accretive Editing

https://justindfuller.com/programming/accretive-editing
1•iamjfu•33m ago•0 comments

Show HN: An interactive double pendulum "fractal"

https://www.doublethe.fun
1•teaearlgraycold•33m ago•0 comments

A staggering class divide now separates how Americans experience AI

https://www.axios.com/2026/07/10/ai-class-divide-fable-sol-mythos
1•giuliomagnifico•35m ago•0 comments

Man nearly sucked out of 'detached' window on Ryanair flight

https://www.france24.com/en/live-news/20260710-man-nearly-sucked-out-of-detached-window-on-ryanai...
2•jacquesm•40m ago•0 comments

AI Surveillance and Social Progress

https://www.schneier.com/blog/archives/2026/07/ai-surveillance-and-social-progress.html
2•cdrnsf•40m ago•0 comments

Gary Kildall's Death Investigation

https://dfarq.homeip.net/gary-kildalls-death-investigation/
1•jnord•42m ago•1 comments