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.

ReMemory: Human-recoverable, Zero-infrastructure Cryptographic Inheritance

https://github.com/eljojo/rememory
1•Kerrick•2m ago•0 comments

The Trump administration has rewritten nuclear safety rules

https://www.npr.org/2026/01/28/nx-s1-5677187/nuclear-safety-rules-rewritten-trump
2•fibers•3m ago•0 comments

Show HN: Ec – a terminal Git conflict resolver inspired by IntelliJ

https://github.com/chojs23/ec
3•neozz•8m ago•0 comments

They Went to the Woods Because They Wished to Live Deliberately

https://www.nytimes.com/2026/02/03/realestate/walden-cabin-thoreau-replica-building.html
1•mitchbob•8m ago•1 comments

Vibe Coding is the new RAD

https://techleader.pro/a/723-Vibe-Coding-is-the-new-RAD-(TLP-2026w3)
1•saltysalt•9m ago•0 comments

Microsoft and the Cost of Patience

https://saanyaojha.substack.com/p/microsoft-and-the-cost-of-patience
1•feyman_r•9m ago•0 comments

Are Pre-Trained Convolutions Better Than Pre-Trained Transformers? (2021)

https://arxiv.org/abs/2105.03322
1•fzliu•11m ago•0 comments

Show HN: Wplace for AI Agents

https://molt.place
1•jaimeperezdev•12m ago•0 comments

A Trump Cabinet member gave a serial sex abuser the deal of a lifetime (2018)

https://www.miamiherald.com/news/local/article220097825.html
3•belter•14m ago•1 comments

Amazon Opens Its Ad Stack to AI Agents with MCP Rollout

https://www.adweek.com/media/amazon-agentic-ads-model-context-protocol/
1•distalx•15m ago•0 comments

Engine-Bench: Evaluating Coding Agents on Writing Game Engine Code

https://github.com/JoshuaPurtell/engine-bench
1•JoshPurtell•16m ago•0 comments

Four held in £3M illegal TV streaming raids

https://www.bbc.com/news/articles/c4g01r5264ro
1•qingcharles•16m ago•0 comments

Illinois joins WHO global outbreak network after U.S. withdraws

https://capitolnewsillinois.com/news/illinois-joins-who-global-outbreak-network-after-u-s-withdraws/
36•doener•17m ago•4 comments

Colleges See Major Racial Shifts in Student Enrollment

https://www.nytimes.com/2026/02/03/us/colleges-see-major-racial-shifts-in-student-enrollment.html
3•JumpCrisscross•24m ago•0 comments

Pendulum: A Benchmark for Assessing Sycophancy in MLLM's

https://arxiv.org/abs/2512.19350
1•onestay42•24m ago•0 comments

GPT-5.2 and GPT-5.2-Codex are now 40% faster

https://twitter.com/OpenAIDevs/status/2018838297221726482
8•davidbarker•26m ago•0 comments

Nvidia's $100B OpenAI deal has seemingly vanished

https://arstechnica.com/information-technology/2026/02/five-months-later-nvidias-100-billion-open...
4•voxadam•28m ago•0 comments

SpaceX acquires xAI, plans to launch a satellite constellation to power

https://arstechnica.com/ai/2026/02/spacex-acquires-xai-plans-1-million-satellite-constellation-to...
1•paulpauper•29m ago•0 comments

Show HN: Mementomori.club – We All Die. Don't Lose Track

https://mementomori.club
1•titusblair•29m ago•0 comments

Nono: A secure, kernel-enforced capability sandbox for AI agents

https://github.com/lukehinds/nono
1•decodebytes•31m ago•0 comments

FDA approves first eye drop for age-related vision loss

https://newatlas.com/aging/age-related-vision-loss-approval/
2•geox•32m ago•0 comments

Only 10% of Chinese Exports Go to the US

https://www.apolloacademy.com/only-10-of-chinese-exports-go-to-the-us/
1•toomuchtodo•34m ago•0 comments

Navidrome Adds Support for Plugins

https://github.com/navidrome/navidrome/releases/tag/v0.60.0
1•cdrnsf•35m ago•0 comments

Google Cloud Console (GCP) Has Dark Mode

https://docs.cloud.google.com/docs/get-started/console-appearance
1•winwang•35m ago•1 comments

Show HN: Distilling Nvidia's Alpamayo-R1-10B to 500M for real-time self-driving

https://substack.com/home/post/p-186795679
1•mu-hashmi•38m ago•0 comments

Short-Form Truths: The Tweet, the Wall Text, and the New Moral Style

https://www.clunyjournal.com/p/short-form-truths-edmund-king
1•crescit_eundo•40m ago•0 comments

Poe-A2A: Cryptographic proof of execution for AI agents (HTTP-first, A2A native)

https://github.com/yogami/pdp-protocol
1•yamigopal•40m ago•0 comments

Adobe Just Killed My Career [video]

https://www.youtube.com/watch?v=RmRdVFhW_pU
3•E-Reverance•41m ago•1 comments

Why I don't use Google Maps in Amsterdam

https://www.youtube.com/watch?v=csHdwHTteOw
3•belter•41m ago•0 comments

Private equity exits rise as returns fall

https://www.cnbc.com/2026/02/03/private-equity-exits-rise-as-returns-fall.html
1•toomuchtodo•43m ago•0 comments