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.

FFmpeg developer calls out OxideAV for AI license laundering of his code

https://github.com/OxideAV/oxideav-magicyuv/issues/3
2•dmitrygr•2m ago•0 comments

Telus using AI to alter the accents of customer service agents

https://www.theglobeandmail.com/business/article-telus-ai-accents-customer-service-agents/
2•gnabgib•3m ago•0 comments

R2-D2 Monitor – TUI for Windows Administrators

https://github.com/Victxrlarixs/r2d2-monitor
2•unixero•7m ago•0 comments

"More transgender people committed homicide than were victims" in Britain

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6182901
3•rdevilla•7m ago•0 comments

HN: GapMap – A quantitative index of knowledge gaps between Wikipedias

https://www.gapmap.wiki/
2•mucho_mango•9m ago•0 comments

OpenAI delivers low-latency voice AI at scale

https://www.google.com/
3•midoxbe•9m ago•0 comments

Show HN: How I Separate Signal from Noise in the AI Firehose

https://laxmena.com/how-i-separate-signal-from-noise-in-the-ai-firehose
3•laxmena•10m ago•0 comments

Simpler JVM Project Setup with Mill

https://mill-build.org/blog/17-simpler-jvm-mill-110.html
2•lihaoyi•12m ago•0 comments

Telus Uses AI to Alter Call-Agent Accents

https://letsdatascience.com/news/telus-uses-ai-to-alter-call-agent-accents-a3868f63
5•debo_•14m ago•1 comments

Dawkins, Claude and the Myth of Consciousness in Artificial Intelligence

https://www.lucasaguiar.xyz/posts/dawkins-claude-consciencia-ia/
3•isfttr•19m ago•0 comments

Ask HN: Ten Yrs from now, when only AI codes, what's the stack?

3•jpcapdevila•21m ago•0 comments

Programming in 2026: excitement, dread, and the coming wave

https://amontalenti.com/2026/04/23/excitement-and-dread
3•blenderob•21m ago•0 comments

Store Tags After Payloads

https://www.scattered-thoughts.net/writing/store-tags-after-payloads/
3•blenderob•24m ago•0 comments

Show HN: Docx-CLI – let agents edit your Word files safely

https://github.com/kklimuk/docx-cli
3•kirillklimuk•27m ago•0 comments

Show HN: Zift – find authorization logic in your code

https://github.com/enforceauth/zift
3•boorad•29m ago•0 comments

RAG retrieves the refutation and still gets it wrong

https://reyes.id.au/posts/anchor-catching-the-failure-mode-where-rag-retrieves-the-refutation-and...
3•aeyer•32m ago•0 comments

Sendapi.co – One API for WhatsApp, SMS, and Email

https://sendapi.co/
3•nimana•33m ago•0 comments

Why some mathematicians think we should abandon pi

https://www.scientificamerican.com/article/why-some-mathematicians-think-we-should-abandon-pi/
2•raihankr•33m ago•0 comments

LaDiR: Latent Diffusion Enhances LLMs for Text Reasoning

https://machinelearning.apple.com/research/ladir
3•gmays•37m ago•0 comments

YouTube, your RSS feeds are broken

https://openrss.org/blog/youtube-your-feeds-are-broken
3•veeti•38m ago•0 comments

AI and That Guy at the Bar

https://dotart.blog/cobbles/ai-and-that-guy-at-the-bar
2•speckx•40m ago•0 comments

Copy.fail: a small Linux kernel bug with an unusually big blast radius

https://jorijn.com/en/blog/copy-fail-cve-2026-31431-linux-kernel-bug-explained/
2•tjek•41m ago•1 comments

Peter Thiel backs $1B ocean data centre startup powered by waves

https://www.ft.com/content/711ce313-16fb-4a12-b6be-fbed547c8a39
3•tjek•43m ago•1 comments

Startup Ignites First Fusion Rocket

https://gizmodo.com/startup-successfully-ignites-worlds-first-fusion-rocket-2000738506
3•airstrike•50m ago•1 comments

Folie à Deux: The most dangerous hallucination is one you're inclined to believe

https://thebookofluke.com/p/folie-a-deux
3•doginasuit•51m ago•0 comments

An AI use policy generator that outputs a deployable managed-settings.json

https://repello.ai/tools/ai-acceptable-use-policy-generator
3•aryamanTitan•54m ago•0 comments

What AstralCodex Gets Wrong about Argument Maps(In the Voice of Scott Alexander)

https://justjamiejoyce.substack.com/p/your-attempt-to-refute-argument-maps
4•JamieTheJoyce•1h ago•0 comments

UpScout – Fast, multi-region uptime monitoring built in Rust

https://upscout.io
4•kipsnai•1h ago•0 comments

Puter 26.05

https://github.com/HeyPuter/puter/releases/tag/26.05
3•ent101•1h ago•0 comments

Show HN: I vibe coded a free site blocker

https://chromewebstore.google.com/detail/sanctuary/caglhejjfpldaooehhlakcdniokjgflh
3•chungusman•1h ago•0 comments