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.

Level of Detail

https://phinze.com/writing/level-of-detail
1•zdw•34s ago•0 comments

Dev implements HDMI FRL in AMDGPU, hence HDMI 2.1 on AMD Linux driver

https://github.com/mkopec/linux/tree/hdmi_frl_amd_staging
1•gbil•2m ago•0 comments

Logic MSO – Oscilloscope with Python Support

https://saleae.com/logic-mso
1•manchoz•2m ago•0 comments

Why AI writing is so generic, boring, and dangerous: Semantic ablation

https://www.theregister.com/2026/02/16/semantic_ablation_ai_writing/
1•benji8000•2m ago•0 comments

Show HN: Wit-ts – A type-level WIT parser for TypeScript

https://github.com/mattmarcello/wit-ts
1•mattmarcello•3m ago•0 comments

Where Does Gold Come From?

https://connordempsey.substack.com/p/where-does-gold-actually-come-from
2•cdempsey44•3m ago•0 comments

Show HN: My 16MB vibe-coded voice cloning app

https://github.com/blackboardsh/audio-tts
1•yoav•3m ago•0 comments

Intelligent AI Delegation

https://arxiv.org/abs/2602.11865
1•gmays•7m ago•0 comments

Show HN: Boolean-query-parser – From a 4-hour hack to 3k downloads

https://github.com/Piergiuseppe/boolean-query-parser
1•TheBuc•7m ago•1 comments

RCT: Vaporized cannabis versus placebo for acute migraine

https://headachejournal.onlinelibrary.wiley.com/doi/10.1111/head.70025
1•PaulHoule•7m ago•0 comments

Show HN: Local Voice Assistant

2•armcat•8m ago•0 comments

Sentinel – watch over your Tailscale network and notify of changes

https://github.com/jaxxstorm/sentinel
1•jaxxstorm•8m ago•0 comments

Temporal Raises $300M Series D to Make Agentic AI Real for Companies

https://temporal.io/news/temporal-raises-300M-to-make-agentic-ai-real-for-companies
3•eatonphil•8m ago•0 comments

Show HN: MAKO – Open protocol for LLM-optimized web content (93% fewer tokens)

https://makospec.vercel.app/en
1•juanisidoro•9m ago•1 comments

Show HN: Cai – AI actions on your clipboard, runs locally (macOS, open source)

https://github.com/soyasis/cai
1•soyasis•11m ago•0 comments

Show HN: Kremis – Deterministic memory graph for AI agents (Rust)

https://github.com/M2Dr3g0n/kremis
1•M2Dr3g0n•11m ago•0 comments

Instagram boss defends app in trial over alleged harms to kids

https://www.latimes.com/california/story/2026-02-11/instagram-adam-mosseri-social-media-lawsuit-t...
1•1vuio0pswjnm7•13m ago•0 comments

Java.evolved: Java has evolved. Your code can too

https://javaevolved.github.io
2•jongalloway2•16m ago•0 comments

Vibe coding broke the Ballmer Peak

https://www.adriankrebs.ch/blog/the-new-ballmer-peak/
1•hubraumhugo•16m ago•0 comments

Quiet: A private, P2P alternative to Slack and Discord built on Tor and IPFS

https://tryquiet.org/index.html
1•hliyan•16m ago•0 comments

Many consumer electronics manufacturers will bankrupt due to AI memory crisis

https://www.pcgamer.com/hardware/memory/many-consumer-electronics-manufacturers-will-go-bankrupt-...
1•taubek•17m ago•0 comments

EU launches probe into xAI over sexualized images

https://arstechnica.com/tech-policy/2026/02/eu-launches-probe-into-xai-over-sexualized-images/
1•ndsipa_pomu•17m ago•0 comments

Ukraine recaptures 201km² after shutdown of Russian forces' access to Starlink

https://www.france24.com/en/europe/20260216-ukraine-makes-fastest-battlefield-gain-in-2-5-years
2•barredo•17m ago•0 comments

Microsoft Is Auto-Enabling Passkeys in March 2026

https://entra.news/p/microsoft-is-auto-enabling-passkeys
1•vdelitz•18m ago•0 comments

Dutch Lawmakers Advance 36% Capital Gains Tax on Crypto

https://cryptonews.com/news/dutch-lawmakers-advance-36-capital-gains-tax-on-crypto/
1•brodouevencode•18m ago•0 comments

Show HN: CasperAI – A local MCP server for cross-platform engineering context

https://github.com/chose166/CasperAI
1•chose166•19m ago•1 comments

Show HN: Broomy – Open-source app for working with many AI agents at once

https://broomy.org/
1•robotelvis•19m ago•0 comments

Ask HN: How have your security policies kept up with AI?

1•frenchtoast8•20m ago•0 comments

Dutch cops arrest man after sending him confidential files by mistake

https://www.theregister.com/2026/02/16/dutch_cops_breach/
2•tchalla•20m ago•0 comments

The Answer Isn't Macro

https://www.mountaineagle.net/articles/display/?entry_short=the-answer-isnt-macro
1•retrocog•20m ago•0 comments