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.

Trump's brazen crypto bank scheme may be his sleaziest yet

https://www.msn.com/en-us/money/general/trump-s-brazen-crypto-bank-scheme-may-be-his-sleaziest-ye...
1•petethomas•27s ago•0 comments

59 Days left "Nobody is Clean"

1•gladiator291288•31s ago•0 comments

Claude driving an autonomous RC car [video]

https://www.youtube.com/watch?v=jBpQiv-ZlVM
1•nreece•3m ago•0 comments

Fair Witness

https://gtraviswhite.substack.com/p/fair-witness
1•jmward01•7m ago•0 comments

HTTP Server API: A Draft Specification

http://www.jasnell.me/posts/http-server-api-draft
1•jcbhmr•8m ago•0 comments

.NET Foundation Statement on Open Source Maintenance Fees

https://pro.dnf.cloud.sitefinity.com/news-events/detail/.net-foundation-statement-on-open-source-...
1•nreece•8m ago•0 comments

Gisting: Compressing LLM Agent context to ↑ throughput and ↓ cost

https://shopify.engineering/gisting
1•mellosouls•9m ago•0 comments

AbracadaNames: A names explorer website

https://abracadanames.com/
1•PopFlamingo•10m ago•0 comments

Making React Testing Library Tests 43% Faster

https://sigh.dev/posts/making-react-testing-library-faster/
1•STRiDEX•11m ago•0 comments

Weather.baby

https://blog.harrison.page/weatherbaby/
1•harrisonpage•12m ago•1 comments

Berkeley Law prohibits AI use in classes (by default)

https://www.law.berkeley.edu/academics/registrar/academic-rules/artificial-intelligence-policy/
2•hackerBanana•14m ago•0 comments

Munich Court Proposes €1.05 Monthly Codec Royalty for Netflix Subscribers

https://streaminglearningcenter.com/articles/munich-court-proposes-e1-05-monthly-codec-royalty-fo...
1•dabinat•15m ago•0 comments

Donald Trump turns on Washington's museums in new culture war offensive

https://www.ft.com/content/659a00b4-be9b-467b-a676-cb73e2d3d64d
2•petethomas•16m ago•0 comments

Histoire: Storybook but Vite

https://histoire.dev/
1•jcbhmr•20m ago•0 comments

Watermarking Runif

https://minimallysufficient.com/posts/watermarking-runif/
1•minsufficient•21m ago•0 comments

ICE Wants to Give Every Officer a Body Cam, Restrict Public Access to Recordings

https://www.techdirt.com/2026/08/20/ice-says-it-will-fit-every-officer-with-a-body-cam-restrict-p...
1•hn_acker•22m ago•1 comments

Show HN: A 4 mm aluminium shower shelf held up by the tap cones

https://blog.oxplot.com/shower-shelf-held-by-taps/
1•oxplot•23m ago•0 comments

Genesis GV90

https://www.caranddriver.com/news/a73465349/2028-genesis-gv90-revealed/
1•dzonga•24m ago•0 comments

I benched frontier AI LLM models on politics, ethics, and personality traits

https://www.blackbench.ai/
1•ShawnxHe•25m ago•1 comments

Commoditizing Determinism

https://cohesivesystems.com/library/articles/commoditizing-determinism/
1•iroha1203•26m ago•0 comments

As workplace surveillance grows, it's good to know the ways employers watch you

https://apnews.com/article/employer-surveillance-bossware-tracking-workplace-7d61e74242b872457bbf...
6•devonnull•27m ago•0 comments

A minimal cross-platform C rapid GUI Application Builder

https://zelang-dev.github.io/c-gui/
3•thetechstech•27m ago•0 comments

Mitigating Reward Hacking as Institutional Design

https://www.beren.io/2026-08-17-Mitigating-Reward-Hacking-as-Institutional-Design/
1•sshh12•29m ago•0 comments

Show HN: Pigame – pi+LLM plays black-box browser games via observe/move tools

https://github.com/ifoxhz/pigame
1•ifoxhz•31m ago•0 comments

How scientists are perfecting chocolate

https://knowablemagazine.org/content/article/food-environment/2026/how-scientists-are-perfecting-...
1•gmays•31m ago•0 comments

The Right Has Forgotten What Beauty Is For

https://www.nationalreview.com/2026/08/the-right-has-forgotten-what-beauty-is-for/
3•petethomas•33m ago•0 comments

> 150 Polymarket wallets may have traded on military secrets, research finds

https://www.reuters.com/business/finance/more-than-150-polymarket-wallets-may-have-traded-militar...
2•petethomas•38m ago•0 comments

Hotdog Bench

https://zmuda.dev/blog/2026-08-20-hotdog-bench.html
1•zoogies•42m ago•0 comments

WebHarvest

https://webharvest.co
1•archemistz•44m ago•0 comments

DeepSeek harness: what doors does config over code open?

https://github.com/deepseek-ai/deepseek-harness
2•5mv2•45m ago•1 comments