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.

Show HN: Claude-Config – Dotfiles for Claude Code

https://github.com/sumchattering/claude-config
1•sumeruchat•2m ago•0 comments

Show HN: WPTR – We built an automated audit lab for Headless WordPress

https://www.wptr.net
1•gezginweb•2m ago•0 comments

Show HN: Commander AI – Mac UI for Claude Code

https://commanderai.app/
1•krzyzanowskim•2m ago•0 comments

Structural Stability and Morphogenesis: An Outline of a General Theory of Models [pdf]

https://uberty.org/wp-content/uploads/2015/12/Thom-Structural-Stability-and-Morphogenesis.compres...
1•foster_nyman•4m ago•0 comments

Bank opacity and deposit rates

https://www.nber.org/papers/w34618
1•hhs•6m ago•0 comments

Bazalgette Embakment

https://diamondgeezer.blogspot.com/2026/01/bazalgette-embakment.html
1•zeristor•7m ago•0 comments

The past, present and future of LLM coding

https://www.hermandaniel.com/blog/20260116-my-take-on-LLM-coding/
1•kekqqq•8m ago•0 comments

HTTP Instagram.com Japouni_02

1•chahinee•8m ago•0 comments

Show HN: Super AI Markets – Testing Ground for AI Shopping Agent Security

https://superaimarkets.com/
1•jmchugh9•12m ago•0 comments

Why Americans Can't Buy the Best Electric Car

https://www.nytimes.com/2025/07/08/opinion/byd-china-car-ev.html
3•zzzeek•13m ago•1 comments

How Nature Works: The Science of Self-Organized Criticality [pdf]

https://neurocurso.wordpress.com/wp-content/uploads/2016/05/per-bak_how-nature-works_-the-science...
1•foster_nyman•14m ago•0 comments

Langauge Modeling, Part 3: Vanilla RNNs

https://connorjdavis.substack.com/p/language-modeling-part-3-vanilla
1•cjamsonhn•18m ago•0 comments

Simulario – A physics simulation based game

https://x.com/ZoldenGames
2•LordSeptum•23m ago•0 comments

Why 'basic science' is the foundation of innovation

https://news.berkeley.edu/2026/01/15/from-quantum-theory-to-the-modern-laser-why-basic-science-is...
1•hhs•23m ago•0 comments

Engine-Bench: Benchmarking Coding Agents on TCG Game Engine Tasks

https://github.com/JoshuaPurtell/engine-bench
1•JoshPurtell•24m ago•0 comments

FLUX.2 [Klein]: Towards Interactive Visual Intelligence

https://bfl.ai/blog/flux2-klein-towards-interactive-visual-intelligence
1•GaggiX•24m ago•0 comments

Caliper: Right-size your CI runners

https://www.attune.inc/blog/caliper
1•greenRust•24m ago•0 comments

Babyfiend.net

https://babyfiend.net/
1•martialg•27m ago•0 comments

Why So Many Journalists Fear to Look Within

https://matthewgreenglobal.substack.com/p/transforming-global-media-james-scurry
2•rendx•29m ago•0 comments

Iran restores sending and receiving SMS

https://www.iranintl.com/en/202601163057
1•ukblewis•29m ago•1 comments

Mysterious 'iron bar' discovery in space may reveal Earth's future

https://www.bbc.com/news/articles/ckgxlvv0wdko
1•mooreds•32m ago•0 comments

Ask HN: OfficeHours and AlphaSense Spam

1•holografix•32m ago•0 comments

Left in the cold: Study finds most renters shut out of energy-saving upgrades

https://www.binghamton.edu/news/story/6011/left-in-the-cold-study-finds-most-renters-shut-out-of-...
20•hhs•34m ago•8 comments

Miyazaki's Sherlock

https://animationobsessive.substack.com/p/miyazakis-sherlock
1•ani_obsessive•37m ago•0 comments

2026 May Be the Year of the Mega IPO

https://www.nytimes.com/2026/01/14/technology/ai-ipo-openai-anthropic-spacex.html
1•bookofjoe•37m ago•1 comments

Rcarmo/rdp-HTML5: RDP web client with Golang back end

https://github.com/rcarmo/rdp-html5
1•rcarmo•39m ago•0 comments

Show HN: IncidentPost – Write public incident postmortems without heavy tooling

1•ededft•41m ago•0 comments

At the phase 'build a startup cause I can't get hired, and maybe I'll get hired'

4•danver0•41m ago•1 comments

Ralph Loop Built into AWS Kiro

https://kiro.dev/blog/run-all-tasks/
2•nslog•42m ago•1 comments

Landscape beneath Antarctica's icy surface revealed in unprecedented detail

https://www.bbc.com/news/articles/c9qpx2qqeq7o
1•ranit•43m ago•0 comments