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.

Ask HN: Why do we need things like 8sleep? Is sleeping with blankets unnatural?

1•denismenace•2m ago•0 comments

False Assurance in Formally Verified Cryptographic Libraries

https://eprint.iacr.org/2026/192
1•st_goliath•2m ago•0 comments

Context Engineering for Beginners: A Developer's Guide

https://memgraph.com/blog/context-engineering-for-beginners
1•taubek•2m ago•0 comments

Why Are Transit Buses So Expensive?

https://ti.org/antiplanner/?p=23595
1•xnx•3m ago•0 comments

Amazon's Andy Jassy bets on $200B AI spending drive to revive AWS

https://www.ft.com/content/905df663-8c47-4e88-b6ff-24dd4bd46290
1•1vuio0pswjnm7•3m ago•0 comments

Switch between Codex accounts without leaving your terminal

https://github.com/oli799/codex-router
1•oli799•3m ago•0 comments

China's tech shock threatens the U.S. AI monopoly

https://www.cnbc.com/2026/02/16/chinas-tech-shock-ai-monopoly-us.html
1•geox•8m ago•1 comments

Show HN: A collection of drop-in sections for Shopify development

https://github.com/bilalnaseer/shopify-sections
1•wspycnews•9m ago•0 comments

Show HN: Yell into the void to find others via semantic search

https://void.devrupt.io
1•ddtaylor•11m ago•0 comments

ZTM: Privacy-first P2P solution for OpenClaw and local LLMs

https://github.com/flomesh-io/ztm
1•caishu97•11m ago•1 comments

Show HN: SmartDS – AI route optimization for dark store picking

https://thesmartds.com/
1•tomasappsrecord•15m ago•0 comments

Utilities May Be Wildly Overestimating the AI Boom–At Public Expense

https://www.motherjones.com/politics/2026/02/utilities-overestimating-ai-boom-data-centers-fossil...
2•cdrnsf•19m ago•0 comments

Turning Our Back on Clean Energy

https://paulkrugman.substack.com/p/turning-our-back-on-clean-energy
3•rbanffy•19m ago•0 comments

Stop Writing Dead Programs (Strange Loop 2022)

https://jackrusher.com/strange-loop-2022/
2•tosh•20m ago•0 comments

Stop typing, start talking: How voice dictation changed my workflow

https://www.eliostruyf.com/stop-typing-start-talking/
1•estruyf•21m ago•0 comments

Show HN: I analyzed 1.3M federal cases for racial sentencing bias

https://www.samecrimedifferenttime.org
2•justiceindex•22m ago•0 comments

Rampant AI Demand for Memory Is Fueling a Growing Chip Crisis

https://www.bloomberg.com/news/articles/2026-02-15/rampant-ai-demand-for-memory-is-fueling-a-grow...
3•wslh•24m ago•2 comments

Ethical Alternative to Grok's AI Video – Recommendations?

1•ReeceWithafork•24m ago•0 comments

NotebookLM Web Clipper

https://chromewebstore.google.com/detail/notebooklm-web-clipper/bljffdbfmndbbjilgijgaefligllekhj
1•sparkalpha•24m ago•0 comments

What happened to Keyvalue.com? (edit don't know why it became keyvalue.systems)

https://www.keyvalue.systems
1•qwertytyyuu•26m ago•1 comments

A novel way to build quantum computer [video]

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

Ask HN: Any mechanism to build for AI-only services to filter off human?

1•socrateslee•27m ago•2 comments

Diagnostics Factory

https://matklad.github.io/2026/02/16/diagnostics-factory.html
2•ingve•28m ago•0 comments

The Move Faster Manifesto

https://brianguthrie.com/p/the-move-faster-manifesto/
2•fagnerbrack•29m ago•1 comments

Show HN: Stock Sentiment API with Python

https://pypi.org/project/social-stock-sentiment/
2•Adanos•30m ago•0 comments

Thanks a lot, AI: Hard drives are sold out for the year, says WD

https://mashable.com/article/ai-hard-drive-hdd-shortages-western-digital-sold-out
28•dClauzel•30m ago•6 comments

Show HN: KanVibe – Kanban board that auto-tracks AI agents via hooks

https://github.com/rookedsysc/kanvibe
1•rookedsysc•31m ago•0 comments

BeatFlow: Text-to-MIDI generator that plans full song structure

https://github.com/the0cp/beatflow
1•vaergaf•32m ago•0 comments

Never mind cod, it's tilapia and chips please

https://www.bbc.com/news/articles/c70n4l167l6o
1•teleforce•32m ago•0 comments

Show HN: A note-taking app where notes connect themselves

https://www.resonote.ai/
1•yamatokaneko•32m ago•0 comments