frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•9mo ago

Comments

llm-exe•9mo 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•9mo 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.

Building a C Compiler from Scratch with AI-Driven Development

https://www.moonbitlang.com/blog/fastcc-ai-driven-development
1•cyrc•1m ago•0 comments

Reflections on the End of Software

https://drpz.xyz/posts/reflections-on-dwm/
1•holliplex•2m ago•0 comments

Build Custom ECommerce GPT Apps with Shopify Faster

https://focusreactive.com/custom-ecommerce-chatgpt-apps-with-shopify/
1•katarinadrozd•2m ago•1 comments

Measurement of a lithium plume from the uncontrolled re-entry of a Falcon 9

https://www.nature.com/articles/s43247-025-03154-8
1•morsch•3m ago•0 comments

AI succeeds in diagnosing rare diseases

https://www.nature.com/articles/s41586-025-10097-9
1•XzetaU8•3m ago•0 comments

The Work Behind the Writing: On Writers and Their Day Jobs

https://lithub.com/the-work-behind-the-writing-on-writers-and-their-day-jobs/
1•simplegeek•9m ago•0 comments

Newpress.com is a community driven journalism platform

https://newpress.com
1•nerder92•10m ago•1 comments

Half the AI Agent Market Is One Category. The Rest Is Wide Open

https://garryslist.org/posts/half-the-ai-agent-market-is-one-category-the-rest-is-wide-open
1•mellosouls•10m ago•1 comments

Scheme on Java on Common Lisp

https://github.com/atgreen/cl-kawa
1•varjag•10m ago•0 comments

Online Deception in Social Media (2014)

https://cacm.acm.org/research/online-deception-in-social-media/
1•rramadass•13m ago•1 comments

Porkbun sells out – Starts requiring Age ID despite no legal requirement

https://kb.porkbun.com/article/225-why-porkbun-id-verification
2•evolve2k•15m ago•1 comments

GenLoop–AI that trains generations of humans instead of growing data centers

https://docs.google.com/document/d/17XDU9D7uRS1P7U0VRlI0Yogt3eiDG6QysYc7ROHwJoc/edit?usp=drivesdk
1•LAKSzero-I•18m ago•1 comments

Show HN: Databasus v3.16.0 – new release of self-hosted PostgreSQL backup tool

https://github.com/databasus/databasus
1•rostislav_dugin•20m ago•0 comments

California tried to protect students' data. Tech companies found loopholes

https://themarkup.org/artificial-intelligence/2026/02/21/california-tried-to-protect-students-dat...
1•giuliomagnifico•24m ago•0 comments

Suspect in Tumbler Ridge school shooting described violent scenarios to ChatGPT

https://www.theverge.com/ai-artificial-intelligence/882814/tumbler-ridge-school-shooting-chatgpt
1•saikatsg•25m ago•0 comments

Postgres Is Your Friend. ORM Is Not

https://hypha.pub/postgres-is-your-friend-orm-is-not
2•MYEUHD•26m ago•1 comments

Linux 7.0 Makes Preparations For Rust 1.95

https://www.phoronix.com/news/Linux-7.0-Rust-1.95-Prep
2•tenpa0000•26m ago•0 comments

Xbox chief Phil Spencer is leaving Microsoft

https://www.theverge.com/news/882241/microsoft-phil-spencer-xbox-leaving-retirement
1•saikatsg•26m ago•0 comments

Running RISC-V in a VM to test my snaps

https://blog.popey.com/2026/02/running-risc-v-in-a-vm-to-test-my-snaps/
2•jandeboevrie•28m ago•0 comments

Show HN: TurboStitchGIF GIF decoder that lets you choose: safety or speed

1•DenisDolya•28m ago•0 comments

Show HN: Electron IPC Bridge- Auto-generated type-safety without the boilerplate

https://metacurb.github.io/electron-ipc-bridge/
1•StrangeSound•28m ago•0 comments

How the NYT Made Its Tiny, Animated Olympic Athletes

https://www.nytimes.com/2026/02/20/insider/winter-olympics-little-athletes.html
1•pedrosbmartins•29m ago•0 comments

Psychedelics For Your Software Engineers

https://nearshoreamericas.com/psychedelics-for-your-software-team-leaders-weight-in/
1•sleepycal•30m ago•0 comments

Fedify 2.0.0: Modular architecture, debug dashboard, and relay support

https://github.com/fedify-dev/fedify/discussions/580
3•dahlia•33m ago•0 comments

Amazon's tax bill plunges after GOP tax cuts

https://www.politico.com/news/2026/02/06/amazon-emerges-a-big-winner-from-gop-tax-cuts-00768985
1•ceejayoz•33m ago•0 comments

Show HN: Persona AI – A decision engine that outputs binary verdicts, not chat

https://personai.fun
1•kmish9685•34m ago•0 comments

Show HN: Can you beat an AI at "being human" using one word?

https://turingduel.com/
1•jacob_indie•41m ago•1 comments

ESLint Rules Index

https://eslint-rules-index.vercel.app/
1•EmanueleMinotto•42m ago•0 comments

OpenClaw Partners with VirusTotal for Skill Security

https://openclaw.ai/blog/virustotal-partnership
1•sheikhsakib•45m ago•0 comments

Show HN: Reflekt – free, unbranded in-app surveys for mobile apps

https://www.usereflekt.com
1•noahSchenk_•50m ago•0 comments