frontpage.
newsnewestaskshowjobs

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•1y ago

Comments

llm-exe•1y 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•1y 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.

Vibecoding a High Performance System

https://andrewkchan.dev/posts/systems.html
1•davedx•52s ago•0 comments

NextBSD – FreeBSD ABI-compatible kernel with Mach built in and launchd

https://nextbsd.org/
1•sunshine-o•4m ago•0 comments

Hollywood and Big Tech Are Preparing for War

https://www.hollywoodreporter.com/business/business-news/hollywood-big-tech-war-entertainment-pla...
1•thm•5m ago•0 comments

Show HN: Cc-preview – Browse images pasted into Claude Code sessions

https://github.com/Watari995/cc-preview
1•Watari995•5m ago•0 comments

Flatpak package for GIMP 0.54.1 (1996)

https://gitlab.gnome.org/balooii/gimp-0.54
1•birdculture•8m ago•0 comments

13 years and $500M for a stage adapter? Report justifies NASA cancellations

https://arstechnica.com/space/2026/06/analysis-finds-the-exploration-programs-nasa-recently-cance...
1•rbanffy•9m ago•0 comments

Show HN: JSON Bonsai – browser JSON viewer that stays smooth on 100k+ nodes

https://github.com/pedrosousa13/JSON-Bonsai
1•pedrosousa•10m ago•0 comments

How to Build 1-Minute OHLC Bars from Non-Uniform Market Snapshot Data

https://medium.com/@DolphinDB_Inc/how-to-build-1-minute-ohlc-bars-from-non-uniform-market-snapsho...
2•dbaa4real•11m ago•0 comments

Show HN: Best Alternative for Zendesk, Intercom, and Freshdesk

2•Daniel-Pan•12m ago•0 comments

Monolith Rift, a brutalist corridor of light and impossible scale

https://sand-morph.up.railway.app/monolith-rift
4•echohive42•14m ago•1 comments

UMLBot: Converting natural language and code excerpts to editable UML diagrams

https://www.sciencedirect.com/science/article/pii/S2352711026002815
1•geox•15m ago•0 comments

Rcarmo/kata: Repetition makes perfect

https://github.com/rcarmo/kata
1•rcarmo•22m ago•0 comments

Claude Opus 4.5 vs. GLM-5.2

https://gopeekapp.blogspot.com/2026/06/glm-52-vs-claude-opus-45.html
1•bhartipoddar•22m ago•0 comments

US fighter pilot avoids British trial after raping a woman in England

https://www.theguardian.com/uk-news/ng-interactive/2026/jun/25/us-fighter-pilot-strangled-woman-e...
4•Alien1Being•25m ago•0 comments

Qualcomm Investor Day 2026 Data Center Announcements CPUs

https://www.servethehome.com/qualcomm-investor-day-2026-data-center-announcements-cpus-ai-acceler...
1•ksec•28m ago•1 comments

A Y2K bug surfaced 26 years late today

https://old.reddit.com/r/sysadmin/comments/1uetdyw/a_y2k_bug_surfaced_26_years_late_today/
1•thunderbong•28m ago•0 comments

Calculate Real-Time Implied Volatility for Commodity Options

https://medium.com/@DolphinDB_Inc/how-we-built-a-real-time-implied-volatility-engine-for-commodit...
2•Polly_Liu•31m ago•0 comments

Warrior Cats Name Generator

https://warriorcatsnamegenerator.net/
1•woflying•32m ago•0 comments

We Made Trading Signals Microsecond-Level Easy – 100 Factors in 40µs

https://medium.com/@DolphinDB_Inc/we-just-made-trading-signals-microsecond-level-easy-100-factors...
2•CrazyTomato•32m ago•0 comments

You are leaving tech, what's next?

https://www.seattletimes.com/business/local-business/older-tech-workers-are-tapping-out-early-her...
1•ynac•32m ago•1 comments

Long distance Uber alternative (for passengers and drivers)

https://localsride.com/en
1•dr_dimitru•32m ago•0 comments

Will AI replace technical writers?

https://willaireplacetechnicalwriters.com/
1•theletterf•32m ago•0 comments

Got access to Gemini's actual thinking

1•StizzurpXDD•33m ago•0 comments

The AI Coding Era Makes Boring Tests More Valuable

https://www.vincentschmalbach.com/the-ai-coding-era-makes-boring-tests-more-valuable/
1•vincent_s•33m ago•0 comments

10x More Selective

https://yosefk.com/blog/10x-more-selective.html
1•tosh•34m ago•0 comments

Open Source Maintainers Need a Spam Filter for AI Labor

https://www.vincentschmalbach.com/open-source-maintainers-need-a-spam-filter-for-ai-labor/
4•vincent_s•40m ago•0 comments

OVHCloud Managed Kubernetes Review

https://www.eucloudcost.com/blog/ovhcloud-cluster/
1•mixxor•41m ago•0 comments

How "German" is Langdock under American control?

https://steigerlegal.ch/2026/06/19/langdock-ki-usa-deutschland/
1•doener•43m ago•0 comments

Using mirrord to verify AI-SRE fixes against the staging cluster

https://metalbear.com/blog/ai-sre-holmesgpt/
1•eyalbukchin•46m ago•0 comments

AWS Lambda Introduces MicroVMs

https://aws.amazon.com/blogs/aws/run-isolated-sandboxes-with-full-lifecycle-control-aws-lambda-in...
3•root-parent•47m ago•1 comments