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

Comments

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

It's Time for Primary Prevention in Medicine

https://erictopol.substack.com/p/dawn-of-a-new-era-of-primary-prevention
1•brandonb•1m ago•0 comments

Tariffs took an emotional and financial toll on founders in 2025

https://www.modernretail.co/operations/quitting-wasnt-an-option-how-tariffs-took-an-emotional-and...
1•sberens•2m ago•0 comments

Show HN: Codex Self-Reflect Skill and CLI to run subagents on past Codex convos

https://github.com/olliepro/Codex-Reflect-Skill
1•olliepro•3m ago•0 comments

Show HN: My mouse was sending two clicks instead of one – I built a tester

https://oopsclick.pages.dev/
1•nirvanist•6m ago•0 comments

Ask HN: B2B or B2C?

1•eyalhadad•7m ago•0 comments

The Slow Death of Productivity: Why Time.sleep() Is Killing Your Automation

https://pypi.org/project/nano-wait/
1•LuizSeabra•8m ago•1 comments

Show HN: Collecting AI Developer Tools

https://aihunt.dev/
1•fullofdev•9m ago•0 comments

Proposal: Generic Methods for Go

https://github.com/golang/go/issues/77273
1•pansa2•10m ago•0 comments

'Organized syndicates' fraudulently access health records, lawsuit says

https://www.washingtonpost.com/health/2026/01/22/electronic-health-record-fraud-lawsuit/
1•bookofjoe•10m ago•1 comments

JWT authentication bypass in HarbourJwt via "unknown alg"

https://pentesterlab.com/blog/cve-2026-23993-harbourjwt-unknown-alg-jwt-bypass
1•mooreds•13m ago•0 comments

Justice Department Opens Criminal Probe into Silicon Valley Spy Allegations

https://www.wsj.com/us-news/law/justice-department-opens-criminal-probe-into-silicon-valley-spy-a...
1•nradov•14m ago•0 comments

Results from the 2025 Go Developer Survey

https://go.dev/blog/survey2025
2•mooreds•15m ago•0 comments

Show HN: Skill Generator – Turn terminal workflows into AI agent skills

1•ezulabs•15m ago•0 comments

A multi-entry CFG design conundrum

https://bernsteinbear.com/blog/multiple-entry/
1•ibobev•15m ago•0 comments

Infinite Random Rectangles – The Poisson Rect Process

https://www.boristhebrave.com/2026/01/22/infinite-random-rectangles-the-poisson-rect-process/
1•ibobev•16m ago•0 comments

Mana LLM OS

https://www.mana.space/
1•behzadhaghgoo•18m ago•0 comments

EV battery leader CATL set to launch first sodium-ion batteries in vehicles

https://electrek.co/2026/01/23/ev-battery-leader-plans-first-sodium-ion-batteries-passenger-cars/
2•breve•18m ago•0 comments

The Time Oxygen Almost Killed Everything [video]

https://www.youtube.com/watch?v=qERdL8uHSgI
2•mooreds•18m ago•0 comments

Zulip AI use policy and guidelines

https://zulip.readthedocs.io/en/latest/contributing/contributing.html#ai-use-policy-and-guidelines
1•Philpax•20m ago•0 comments

Ask HN: Why don't winter gloves have mechanical fingers?

2•amichail•21m ago•2 comments

Show HN: The one-stop-place for gen-alpha events

https://www.bloxrn.com
1•claude_sh_1959•21m ago•0 comments

The New "Full Stack"

https://twitter.com/ray_daze/status/2014813876878262301
2•alexjray•23m ago•0 comments

EquipmentShare (YC W15) goes public

https://www.ycombinator.com/blog/congratulations-to-equipmentshare/
6•subsequent•23m ago•3 comments

Show HN: Free Top Font Library: Bestfonts.co – Find Free Top Fonts in Seconds

https://bestfonts.co
1•LetsBuildThis•23m ago•0 comments

Tim O'Reilly – AI and the Next Economy

https://www.oreilly.com/radar/ai-and-the-next-economy/
1•rmason•23m ago•1 comments

Tiny Sand Grains May Solve 5k-Year-Old Stonehenge Mystery

https://studyfinds.org/sand-may-solve-stonehenge-mystery/
1•rmason•25m ago•0 comments

Show HN: CIE – Open-source code intelligence engine for AI coding assistants

https://github.com/kraklabs/cie
1•kraklabs•25m ago•0 comments

Urjo

https://urjo.com/
3•wawayanda•26m ago•0 comments

Breath carries clues to gut microbiome health

https://medicine.washu.edu/news/breath-carries-clues-to-gut-microbiome-health/
1•gmays•26m ago•0 comments

Wine 11.1 – Run Windows Applications on Linux, BSD, Solaris and macOS

https://gitlab.winehq.org/wine/wine/-/releases/wine-11.1
2•neustradamus•27m ago•0 comments