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.

Pushing the limits of RISC-V emulation

https://shuklaayu.sh/blog/riscv-recompiler
1•shuklaayush•1m ago•0 comments

Why compute might get 10x+ more expensive in coming years

https://www.dwarkesh.com/p/why-compute-might-get-10x-more-expensive
1•cubefox•1m ago•0 comments

Show HN: MandoCode Desktop – Native Windows AI Coding Assistant on Ollama .NET

https://github.com/DevMando/MandoCode.Desktop
1•devmando•1m ago•0 comments

How AI Is Changing Open Source

https://enblog.eischmann.cz/2026/07/23/how-ai-is-changing-open-source/
1•pksadiq•3m ago•0 comments

Notation design and how it affects thought

https://github.com/kai-qu/notation
1•tosh•4m ago•0 comments

KaaS – Knowledge as a Service: an out-of-the-box LLM wiki compiler

https://github.com/bybit-exchange/kaas
1•lucasmaan•4m ago•0 comments

Show HN: Jamit

https://jamit.app
1•Ikeorizu•4m ago•0 comments

Why Mexico Built an $8,500 Electric Car

https://spectrum.ieee.org/mexico-olinia-car-electric-vehicle
1•pseudolus•4m ago•0 comments

Compliance Copilot (UAE)

https://github.com/imranbaloch/uae-compliance-copilot
1•imranku07•6m ago•0 comments

Show HN: Argpeek – Zero-dependency CLI argument inspector for Python

https://github.com/prasad-a-abhishek/argpeek
1•prasadaabhishek•7m ago•0 comments

Some thoughts about Anthropic's new cryptanalysis results

https://blog.cryptographyengineering.com/2026/07/29/some-notes-about-anthropics-new-results/
2•supermatou•7m ago•0 comments

Aisler Lovely Library – curated collection of electronic symbols and footprints

https://github.com/AislerHQ/lovely-library
1•gregsadetsky•8m ago•0 comments

List of most massive black holes

https://en.wikipedia.org/wiki/List_of_most_massive_black_holes
1•ethanpil•8m ago•0 comments

eBay reaches $56M settlement with e-com newsletter writers it terrorized in 2019

https://techcrunch.com/2026/07/28/ebay-reaches-56m-settlement-with-e-commerce-newsletter-writers-...
2•pseudolus•9m ago•0 comments

Google Gemini Distillation Service [archive link]

https://web.archive.org/web/20260728173925/https://docs.cloud.google.com/gemini-enterprise-agent-...
1•bluepeter•10m ago•0 comments

Your Wish Is My Command

https://masterbran.ch/posts/your-wish-is-my-command.html
2•grapemane•10m ago•0 comments

Ton 618

https://en.wikipedia.org/wiki/TON_618
1•ethanpil•11m ago•0 comments

Show HN: Kudory – Tailor your CV for each job application

https://kudory.com
1•acbeni•12m ago•0 comments

Keychron announces first open-source firmware for gaming mice

https://www.digitalfoundry.net/news/2026/07/keychron-announces-first-open-source-firmware-for-gam...
3•JLO64•13m ago•1 comments

An agent with a spreadsheet engine beats one without

https://grid.is/blog/an-agent-with-a-spreadsheet-engine-beats-one-without
1•mooreds•13m ago•0 comments

The last decade of front-end engineering

https://www.natemeyvis.com/the-last-decade-of-front-end-engineering/
1•Brajeshwar•15m ago•0 comments

Every Time I Hire a Linguist, Inference Costs Go Down

https://arxiv.org/abs/2607.25335
2•cwbuilds•15m ago•0 comments

AI companies are reportedly shredding books after using them to train AI models

https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-companies-are-reportedly-sh...
1•Pandionic•16m ago•0 comments

Boss Profits from Your Excuses

https://www.youtube.com/watch?v=suVyMze_qO0
1•gillysuit•16m ago•1 comments

NSF partners with universities and industry on pilot 4-year PhD programs

https://www.nsf.gov/news/nsf-partners-universities-industry-pilot-initiative-four
2•yiyingzhang•16m ago•1 comments

Show HN: Open-sourced, non-AI newtab extension to read your X/Twitter bookmarks

https://chromewebstore.google.com/detail/twitter-x-bookmarks-on-ne/acpkgdfhoaalmnhjifhneghcgfnjkglo
1•iankit17•19m ago•0 comments

Existing industry processes are blueprints for AI workflows

https://abtdomain.com/blog/2026/07/from-fords-assembly-line-to-local-ai-pipelines/
1•ABTdomain•19m ago•0 comments

eBay and ex-executives to pay $55.7M to couple sent cockroaches

https://www.theguardian.com/technology/2026/jul/28/ebay-harassment-lawsuit-settlement
1•mitchbob•20m ago•0 comments

Show HN: Energy, carbon and water estimates for AI content, shown as ranges

https://aicontentfootprint.com/
1•daniloedu•20m ago•0 comments

The rise of fake online shopping platforms that let you pretend to buy things

https://www.fastcompany.com/91560432/dopamine-sites-fake-online-shopping-apps-let-you-pretend-to-...
1•austinallegro•20m ago•0 comments