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

Comments

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

Aggregated interviews on how YC W26 founders build internal AI employees

https://www.humanbehavior.co/blog/topic/ai-employees-inside-founders-agent-workflows
1•SkylerJi•4m ago•1 comments

I embedded Sigil's docs in its CLI so LLMs can write Sigil

https://inerte.github.io/sigil/articles/sigil-ships-embedded-docs-for-llm-cold-starts/
1•inerte•4m ago•0 comments

PeonPing: Sound packs for Claude, Codex, Cursor, and other AI coding agents

https://www.peonping.com/
1•tawb•4m ago•0 comments

Energy and Human Ambitions on a Finite Planet (2021)

https://escholarship.org/uc/item/9js5291m
1•measurablefunc•9m ago•0 comments

Context Lake: A System Class Defined by Decision Coherence

https://arxiv.org/abs/2601.17019
1•alexkimball•9m ago•0 comments

From apps to infrastructure: martech's most important migration

https://newsletter.chiefmartec.com/p/from-apps-to-infrastructure-martech-s-most-important-migration
1•mooreds•10m ago•0 comments

Introduction to Recursive-Mode

https://recursive-mode.dev/introduction
1•gmays•11m ago•0 comments

Tesla "Full Self-Driving" drives through RR crossing barriers in viral video

https://electrek.co/2026/03/09/tesla-fsd-drives-through-railroad-crossing-barriers-viral-video/
2•1vuio0pswjnm7•12m ago•0 comments

Show HN: Sudomake Friends, personalized AI personas in a Telegram group chat

https://github.com/audiodude/sudomake-friends/
1•audiodude•13m ago•0 comments

"Epicaricacy" (2025)

https://thisbugslife.com/2025/04/24/297655/
1•thomassmith65•16m ago•0 comments

On the scientific method and its application to the science of deep learning

https://jamiesimon.io/blog/on-the-scientific-method/
1•jamie-simon•18m ago•0 comments

"attention is all you need" in screen recording [video]

https://www.youtube.com/watch?v=FMucMp2kU-8&list=PLbUXLHqCDLr3j_WrCB6q5EkEZmimqcGVC&index=2
1•jiabins0303•20m ago•0 comments

MacBook Neo isn't innovation: It's Apple correcting a story it pushed for years

https://www.windowscentral.com/hardware/apple/the-macbook-neo-isnt-innovation-its-apple-finally-o...
2•bentocorp•23m ago•1 comments

The Expensive Thing

https://ajeygore.in/content/the-expensive-thing
2•vinipolicena•23m ago•0 comments

Agent - Native Mac OS X coding ide/harness

https://github.com/macOS26/Agent
2•jv22222•30m ago•0 comments

The AI Market Is Hitting Peak Absurdity

https://garymarcus.substack.com/p/peak-absurdity-part-ii
8•drob518•32m ago•3 comments

Robot Police Dogs Powered by AI Take over Atlanta's Streets

https://www.newsweek.com/robot-police-dogs-powered-by-ai-take-over-atlantas-streets-11782889
2•xoa•35m ago•0 comments

Show HN: I built a Wikipedia based AI deduction game

https://sleuththetruth.com/
2•brikym•36m ago•0 comments

Claude.md Scorer: paste your file, get rubric score and rewrites

https://claude-md-scorer.surge.sh
1•autonomykit•37m ago•0 comments

Durable Object alarm loop: $34k in 8 days, zero users, no platform warning

6•thewillmoss•41m ago•0 comments

Entasis

https://en.wikipedia.org/wiki/Entasis
1•nomilk•43m ago•0 comments

How the Bitcoin protocol works (2013)

https://michaelnielsen.org/ddi/how-the-bitcoin-protocol-actually-works/
1•downbad_•43m ago•0 comments

The first graffiti wall (online)

https://freestencilmaker.com/the-wall
1•superluvdub•45m ago•1 comments

Chinese Electrotech Is the Big Winner in the Iran War

https://paulkrugman.substack.com/p/chinese-electrotech-is-the-big-winner
4•MaysonL•52m ago•0 comments

Pentagon Approaches Automakers, Manufacturers to Boost Weapons Production

https://www.wsj.com/politics/national-security/pentagon-approaches-automakers-manufacturers-to-bo...
3•cwwc•53m ago•0 comments

WebODM – Free and open source drone mapping software

https://webodm.org
1•alligray•1h ago•0 comments

Treasury Secretary Scott Bessent is preparing banks to collect citizenship data

https://www.cnbc.com/2026/04/15/banks-citizenship-data-collection-customer-accounts.html
6•pseudolus•1h ago•0 comments

The Universal Constraint Engine: Neuromorphic Computing Without Neural Networks

https://zenodo.org/records/19600206
4•skinney_uce•1h ago•0 comments

Shares in Allbirds surge after maker of wool sneakers announces pivot to AI

https://www.theguardian.com/business/2026/apr/15/allbirds-stock-ai-pivot
4•i7l•1h ago•1 comments

Tirith – Track your AI API spend with one CLI import

https://github.com/joedaviesio/tirith
1•joedaviesio•1h ago•0 comments