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

Comments

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

Only Known Photos of Computing Pioneer Ada Lovelace Join UK National Collection

https://news.artnet.com/art-world/ada-lovelace-daguerreotypes-uk-national-portrait-gallery-2735593
1•gnabgib•2m ago•0 comments

Show HN: Bubblewrap TUI – makes bubblewrap's command lines less terrifying

https://github.com/reubenfirmin/bubblewrap-tui
1•smallerfish•2m ago•1 comments

Geoff Huntley, creator of the Ralph loop, goat farmer, prophet

https://www.youtube.com/watch?v=lQ2ihlUzlfs
1•claudiacsf•2m ago•0 comments

OpenSplitDeck

https://github.com/tommybee456/OpenSplitDeck
1•euazOn•3m ago•1 comments

A fun trick for getting discovered by LLMs and AI tools

https://cassidoo.co/post/ai-llm-discoverability/
1•mooreds•3m ago•0 comments

The Problem with Lying Is Keeping Track of All the Lies

https://materialize.com/blog/keeping-track-lies/
1•transpute•4m ago•0 comments

30-Days Growth Challenge

https://docs.google.com/forms/d/e/1FAIpQLSe0zS7tIGAOLvKNJ-m6GWW_t-CKCadkKuS97tTdeG4UhmYiAA/viewfo...
1•shurman81•8m ago•1 comments

Ask HN: Where Are the Primary Sources?

2•lionkor•9m ago•0 comments

Show HN: NPM/uv for Claude Code – install skills from GitHub with one command

https://github.com/kasperjunge/agent-resources/blob/main/README.md
1•juunge•9m ago•0 comments

Iran's partial internet shutdown may be a windfall for cybersecurity Intel

https://www.csoonline.com/article/4116890/irans-partial-internet-shutdown-may-be-a-windfall-for-c...
2•bookofjoe•12m ago•0 comments

Can Highlighting Help GitHub Maintainers Track Security Fixes?

https://arxiv.org/abs/2411.11646
1•walterbell•15m ago•0 comments

Ask HN: Is your email inbox also filled with Zendesk reply spam?

3•TazeTSchnitzel•15m ago•3 comments

If you want to understand any society, look at what it creates

https://notes.philippdubach.com/0009
1•7777777phil•22m ago•0 comments

Vibe Engineering in 2026.1

https://me.0xffff.me/vibe_engineering_202601.html
1•c4pt0r•23m ago•0 comments

The Date Data Type in Oracle vs. PostgreSQL

https://hexacluster.ai/blog/the-date-data-type-in-oracle-vs-postgresql/
1•avivallssa•23m ago•1 comments

Show HN: Pharos – "yarn why" but shows the full chain and what to update (Rust)

https://github.com/vaskort/pharos
1•vaskort•24m ago•0 comments

Train Your Tenacity

https://playtechnique.io/blog/train-your-tenacity.html
1•gwynforthewyn•25m ago•1 comments

Estimation of Variance by a Recursive Equation (pdf, 1969)

https://ntrs.nasa.gov/api/citations/19690028796/downloads/19690028796.pdf
1•slow_typist•26m ago•1 comments

Why sandboxing coding agents is harder than you think

https://martinalderson.com/posts/why-sandboxing-coding-agents-is-harder-than-you-think/
2•jnord•28m ago•1 comments

Frankenwine: Multiple Personas in a Wine Process

https://nullprogram.com/blog/2026/01/19/
3•zdw•28m ago•1 comments

ChatVault – Local-first semantic search for WhatsApp (Rust and WASM)

https://github.com/marcoshernanz/ChatVault
1•marcoshernanz•29m ago•1 comments

Show HN: Cmdarg, argument parsing for bash scripts

https://github.com/akesterson/cmdarg
1•akesterson•30m ago•0 comments

James Prinsep, polymath who deciphered Kharosthi and Brahmi scripts

https://en.wikipedia.org/wiki/James_Prinsep
1•like_any_other•31m ago•0 comments

Even citing NSF funded research is an ACM premium feature

https://win-vector.com/2026/01/19/even-citing-nsf-funded-research-is-an-acm-premium-feature/
1•jmount•31m ago•0 comments

GLM-4.7-Flash 30B-A3B MoE

https://xcancel.com/zai_org/status/2013261304060866758
2•Alifatisk•32m ago•0 comments

The average 50-something American is now worth $1.4M

https://www.usatoday.com/story/money/2026/01/19/average-net-worth-1-million-50-year-olds/88202093...
7•lxm•33m ago•6 comments

The US is buying icebreakers from Finland

https://www.bbc.co.uk/news/articles/c0q48d71ke8o
5•perihelions•34m ago•0 comments

Systems design 3: LLMs and the semantic revolution

https://apenwarr.ca/log/20251120
1•gjadi•34m ago•0 comments

Anthropic's Interpretability Research Blog

https://transformer-circuits.pub/
2•philipfweiss•36m ago•1 comments

Show HN: EV-QA-Framework – Open-source battery testing with ML anomaly detection

https://github.com/remontsuri/EV-QA-Framework
1•remontsuri•37m ago•1 comments