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.

Apple M5 Pro and M5 Max CPU Analysis – M5 Max Is Not Much Faster Than the M4 Max

https://www.notebookcheck.net/Apple-M5-Pro-M5-Max-CPU-Analysis-M5-Max-is-not-much-faster-than-the...
1•ezst•4m ago•0 comments

Silicon Valley's new miracle drug [video]

https://www.youtube.com/watch?v=W0ltbBby9FU
1•chirau•5m ago•0 comments

Gone Almost Phishin'

https://ma.tt/2026/03/gone-almost-phishin/
1•jon_bossenger•10m ago•0 comments

What AI Models for War Look Like

https://www.wired.com/story/ai-model-military-use-smack-technologies/
2•jonbaer•14m ago•0 comments

Press-One: Auto-accept every Claude Code prompt

https://github.com/HalfEmptyDrum/press-one
6•EmptyDrum•16m ago•1 comments

Show HN: Envelope – Open-source email API for AI agents (BYO email, MCP)

https://github.com/tymrtn/U1F4E7
1•tmrtn•16m ago•0 comments

Can the Dictionary Keep Up?

https://www.thenation.com/article/culture/stefan-fatsis-dictionary-history/
1•pepys•16m ago•0 comments

Iran War; Pyrrhic Victory

https://waterofmarch.substack.com/p/iran-war-pyrrhic-victory
1•PonDiDancefloor•16m ago•0 comments

This Intel Panther Lake mini PC is as thin as a laptop

https://liliputing.com/this-intel-panther-lake-mini-pc-is-as-thin-as-a-laptop/
1•rezaprima•16m ago•0 comments

Ask HN: What are your favorite books?

2•amunozo•19m ago•1 comments

Emulation of the Drosophila Fly Brain

https://github.com/eonsystemspbc/fly-brain
1•dtj1123•20m ago•0 comments

M5 Max LLM Benchmarks Against M3 Ultra

https://creativestrategies.com/research/m5-max-chiplets-thermals-and-performance-per-watt/
1•abhikul0•20m ago•1 comments

Ask HN: How are you reviewing code at work these days?

1•curiousgal•20m ago•1 comments

His Mother Vanished When He Was 14. 33 Years Later, He Found Her

https://www.nytimes.com/2026/03/09/us/antonio-wiley-missing-mother-found.html
1•emmabotbot•21m ago•0 comments

If Anyone Builds It, Everyone Dies

https://ifanyonebuildsit.com/
2•intenex•22m ago•1 comments

Talking to LLMs Through Nintendo Handhelds

https://substack.com/home/post/p-190447769
1•ghostpeony•22m ago•0 comments

It is recommended to create a forum solely for OpenClaw to post information

https://clawtavern.com
1•WilliamSui•22m ago•1 comments

Investigation complete – Unable to diagnose with current information

https://lapcatsoftware.com/articles/2026/3/2.html
1•7777777phil•24m ago•0 comments

20% Better–Personalized DNA wellness reports from your 23andMe/Ancestry raw data

https://www.20percentbetter.co
1•dahomiequan•27m ago•0 comments

Ask HN: Full‑stack dev choosing between AI and Blockchain – what skills matter?

1•rishuishind•29m ago•0 comments

Yann LeCun's AMI Labs raises $1.03B to build world models

https://techcrunch.com/2026/03/09/yann-lecuns-ami-labs-raises-1-03-billion-to-build-world-models/
2•twalichiewicz•34m ago•0 comments

The Darkness from the Darkness

https://thebaffler.com/latest/the-darkness-from-the-darkness-giraldi
1•lermontov•38m ago•0 comments

A Swiss Paperwork Massacre: Why We Fled to Stripe

https://octigen.com/blog/posts/2026-03-09-payment-nightmare/
4•mrgraziani•46m ago•1 comments

A gate that stops LLMs asserting facts not present in the source document

https://narrativelogic.co.uk/tommy.html
1•davidtome•47m ago•1 comments

Short films made from brain activity of mice aim to see how they see

https://www.theguardian.com/science/2026/mar/10/short-films-brain-activity-mice-how-they-see-world
1•sans_souse•47m ago•0 comments

For AI devs and AI startups

1•CostsentryAI•48m ago•0 comments

Ion trapping doubles memory in neuromorphic semiconductors

https://www.dongascience.com/en/news/76562
1•benewton•51m ago•0 comments

Backup Exchange Online Mailbox

https://www.crashplan.com/glossary/what-is-exchange-online-backup/
1•santoshcp•55m ago•0 comments

Demo: Frostsnap 2-of-3 Distributed Key Generation and Backups

https://frostsnap.com/demo/
1•frostsnap•58m ago•0 comments

Can pumping chemicals into the ocean help stop global heating?

https://www.theguardian.com/environment/2026/mar/10/sodium-hydroxide-ocean-global-heating-solution
1•philbo•58m ago•1 comments