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.

Show HN: SpecLock – AI Constraint Engine that stops AI from breaking locked code

https://github.com/sgroy10/speclock
1•sgroy10•3m ago•0 comments

Show HN: A GFM+GF-MathJax/Latex HTML formatting adventure

https://github.com/scottvr/phart/blob/main/docs/GHM-LATEX.md
1•ycombiredd•4m ago•0 comments

Diffusion Models (2024)

https://andrewkchan.dev/posts/diffusion.html
1•vinhnx•6m ago•0 comments

Show HN: I built a free AI study tool– paste notes, get flashcards in 10 seconds

https://prepareyourself.app
1•digi_wares•7m ago•0 comments

Josh Collison and Dwarkesh Patel Interview Elon Musk [video]

https://www.youtube.com/watch?v=BYXbuik3dgA
1•surprisetalk•11m ago•0 comments

Human brain cells on a chip learned to play Doom in a week

https://www.newscientist.com/article/2517389-human-brain-cells-on-a-chip-learned-to-play-doom-in-...
2•alex_young•11m ago•0 comments

Malm Whale in Gothenburg

https://www.atlasobscura.com/places/malm-whale
1•thunderbong•12m ago•0 comments

Plugtest

https://en.wikipedia.org/wiki/Plugtest
1•dhorthy•13m ago•0 comments

Show HN: EmCogni Code, the context engine for the "why" behind your codebase

https://www.emcogni.com/
1•ssbodapati•14m ago•0 comments

Simple Made Inevitable: The Economics of Language Choice in the LLM Era

https://felixbarbalet.com/simple-made-inevitable-the-economics-of-language-choice-in-the-llm-era/
1•puredanger•17m ago•0 comments

Idiot Plot

https://en.wikipedia.org/wiki/Idiot_plot
1•treetalker•19m ago•0 comments

Interview with Thomas Wouters by Guido van Rossum

https://gvanrossum.github.io/interviews/Thomas.html
3•tzury•22m ago•0 comments

Translatorhub

https://translatorhub.org/
1•zidana•27m ago•0 comments

Show HN: ClaudeTerminal – A tabbed terminal manager for Claude Code

https://github.com/Mr8BitHK/claude-terminal
1•mr8bit•30m ago•0 comments

NeurIPS 2021 Papers (2021)

https://tanelp.github.io/neurips2021/
1•vinhnx•33m ago•0 comments

Office of Technology Assessment

https://en.wikipedia.org/wiki/Office_of_Technology_Assessment
1•softwaredoug•34m ago•0 comments

MidnightBSD Excludes Calif. From Desktop Use Due to Digital Age Assurance Act

https://ostechnix.com/midnightbsd-excludes-california-digital-age-assurance-act/
4•WaitWaitWha•37m ago•2 comments

OpenSandbox

https://github.com/alibaba/OpenSandbox
1•nileshtrivedi•38m ago•0 comments

Why Is Your Operating System Debugging Hackers for Free?

1•agarmte•38m ago•0 comments

Polymarket Iran Bets Hit $529M as New Wallets Draw Notice

https://www.bloomberg.com/news/articles/2026-02-28/polymarket-iran-bets-hit-529-million-as-new-wa...
2•petethomas•40m ago•0 comments

Show HN: Computer Agents – Agents that work while you sleep

https://computer-agents.com
3•janlucasandmann•40m ago•0 comments

Uplift Privileges on FreeBSD

https://vermaden.wordpress.com/2026/03/01/uplift-privileges-on-freebsd/
1•vermaden•40m ago•0 comments

Artichoke induces sweet taste (PubMed)

https://pubmed.ncbi.nlm.nih.gov/5084667/
1•valzevul•40m ago•0 comments

Edge – Generate structured evaluation criteria for any domain using a local LLM

https://github.com/EviAmarates/fresta-edge
1•TiagoSantos•52m ago•0 comments

Have you used Terragrunt in the past? Keen to hear your thoughts

https://techroom101.substack.com/p/terragrunt-what-it-solves-what-it
1•ahaydar•52m ago•0 comments

Two-way Discord bridge-autonomous Claude Code sessions(WebSocket+local queue)

https://github.com/AetherWave-Studio/autonomous-claude-code
1•Drew-Aetherwave•52m ago•1 comments

Token Anxiety

https://writing.nikunjk.com/p/token-anxiety
1•vinhnx•53m ago•0 comments

A State Government Tried to Regulate Linux; It Went How You'd Expect

https://www.youtube.com/watch?v=mQLdDR-hJpc
1•cable2600•58m ago•1 comments

I built AI agents that do the grunt work solo founders hate

2•Seleci•1h ago•0 comments

TorchLean: Formalizing Neural Networks in Lean

https://leandojo.org/torchlean.html
2•matt_d•1h ago•0 comments