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.

Show HN: Ordewell – turn one goal into an ordered plan of coding-agent tasks

https://github.com/ordewell/ordewell
1•ac-ciano•1m ago•0 comments

Ask HN: Is "Agentic" Programming a Flop?

1•cyanregiment•1m ago•0 comments

macOS security bug went unreported due to Apple being deluged by AI slop reports

https://www.techradar.com/pro/security/a-potentially-dangerous-macos-security-flaw-went-unreporte...
1•josephcsible•1m ago•0 comments

How did Wikipedia layout become so bloated?

3•countWSS•3m ago•0 comments

Show HN: Open-source tool to check if ChatGPT recommends your business

https://github.com/d08m/crazyseo
1•Dom1•4m ago•1 comments

Will AI change how we evaluate the NIH syndrome?

https://www.nunodonato.com/will-ai-change-how-we-evaluate-the-nih-syndrome/
1•nunodonato•6m ago•0 comments

Apple Briefly Removes Telegram App for Child Abuse

https://www.forbes.com/sites/siladityaray/2026/08/04/telegram-briefly-removed-from-apples-app-sto...
2•binyu•7m ago•0 comments

Xbox goes down. You can't play games you own on disc

https://birchtree.me/blog/xbox-goes-down-you-cant-play-games-you-own-on-disc/
4•surprisetalk•7m ago•0 comments

The Hard Parts of Context Compaction

https://lopezb.com/articles/the-hard-parts-of-context-compaction
1•lopezb•8m ago•0 comments

EROSITA DR2 nearly doubles previously known eROSITA X-ray sources to two million

https://www.mpg.de/26891434/20260729-erosita-dr2-nearly-doubles-known-x-ray-sources-to-two-million
1•rbanffy•10m ago•0 comments

Exposure to CO2 and Human Cognitive Performance

https://www.researchgate.net/publication/283944378_Effects_of_Exposure_to_Carbon_Dioxide_and_Huma...
2•simonebrunozzi•12m ago•0 comments

Bending Spoons strikes $2.25B Airtable deal in first acquisition since IPO

https://sifted.eu/articles/bending-spoons-airtable-acquisition-post-ipo
1•napolux•13m ago•0 comments

Show HN: I built InvoRec – extract invoices to Excel/Sheets and verify charges

https://invorec.com/
1•dinoze•14m ago•1 comments

Show HN: Kern – Recall cards for the books you read, from just the title

https://kern.cards/
1•jpetric•16m ago•0 comments

Show HN: Evochess – AI feels more like human opponent

https://penkovsky.github.io/evochess/
1•penkovsky•18m ago•1 comments

Show HN: Made a Shuffle Cloned Instances Component for Framer

https://pixcodrops.com/articles/shuffle-cloned-instances-component-for-framer/
1•brownieman1325•18m ago•0 comments

Privacy Not Included

https://www.mozillafoundation.org/en/privacynotincluded/
1•RMPR•20m ago•0 comments

My newsletter is your email client, too

https://en.andros.dev/blog/685eb16f/my-newsletter-is-your-email-client-too/
1•8organicbits•20m ago•0 comments

A computer made of particles oscillating in a liquid

https://www.uni-konstanz.de/en/university/news-and-media/current-announcements/news-in-detail/a-c...
2•wjSgoWPm5bWAhXB•21m ago•0 comments

Prolog for Verification, Analysis and Transformation Tools Michael Leuschel [pdf]

https://arxiv.org/abs/2008.02933
1•jnpnj•21m ago•0 comments

Show HN: Kysera – a data layer for Kysely with RLS compiled into the SQL

https://kysera.dev/
1•old8man•22m ago•0 comments

Show HN: Archive Websites with Cloudflare Workers

https://github.com/kenobi-ai/breamer
1•sarreph•22m ago•1 comments

ICQ Reborn Community Project

https://icqr.net/
2•ElSchorschoDE•22m ago•0 comments

Arm's Cortex A55 – By Chester Lam

https://chipsandcheese.com/p/arms-cortex-a55
2•rbanffy•22m ago•0 comments

DeepSeek V4 Flash 2.98x faster, lossless

https://runinfra.ai/catalog/deepseek-v4-flash-b200x4-v4turbo
1•OsamaJaber•25m ago•1 comments

Building compliant AI medical software

https://geekyants.com/en-us/blog/how-to-build-medical-device-software-with-ai-compliance-architec...
2•varda_62892•25m ago•1 comments

Splint: Annotation-assisted lightweight static checking for C. (2004)

https://splint.org/
1•fanf2•26m ago•0 comments

Show HN: Draftlight – AI that makes you a better writer (leaves writing to you)

https://draftlight.xyz/
1•mlitwiniuk•26m ago•0 comments

Why Shouldn't Amazon Spinoff AWS and Annapurna Labs?

https://www.nextplatform.com/cloud/2026/08/04/why-shouldnt-amazon-spinoff-aws-and-annapurna-labs/...
1•rbanffy•27m ago•1 comments

Ask HN: What has your personal website/blog done for you?

2•chistev•29m ago•0 comments