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.

The first robot MMA event just went down in China

https://twitter.com/HappyPunch/status/2077860502726742462
1•mmarian•42s ago•0 comments

Grammar Has Eigenvalues (and Your Brain Measures Them)

https://github.com/degibug-del/spectral-grammar
3•degibug•7m ago•0 comments

PixLab WebGL/WASM Video Editor

https://video.pixlab.io/
1•symisc_devel•11m ago•0 comments

LG Spyware TVs

https://www.youtube.com/watch?v=Q9uefFYe6bM
1•rythmshifter•12m ago•0 comments

Google Ordered to Give A.I. Rivals More Access on Android Smartphones

https://www.nytimes.com/2026/07/16/technology/google-android-ai.html
3•1vuio0pswjnm7•15m ago•0 comments

Computational design generates a spinning drone that's nearly transpare

https://spectrum.ieee.org/invisible-spinning-drone
1•testingonetwo34•15m ago•0 comments

Gain trust from AI generated code again with semantics constract

https://bfzhao.substack.com/p/beyond-vibe-coding-rebuilding-the
1•bingfeng•16m ago•0 comments

What 10 autonomous film crews taught us about agent teamwork

https://cloud.google.com/blog/topics/developers-practitioners/what-we-learned-about-agent-teamwork
1•richards•18m ago•0 comments

Pebble Mega Update – July 2026

https://repebble.com/blog/pebble-mega-update-july-2026
2•crazysaem•22m ago•0 comments

People in Many Countries Now View China More Positively Than the U.S.

https://www.pewresearch.org/global/2026/07/15/people-in-many-countries-now-view-china-more-positi...
3•giuliomagnifico•24m ago•2 comments

Mac OS interface one shotted by Kimi 3

https://macos27.kimi.page/
3•handfuloflight•24m ago•5 comments

How Has Roman Concrete Lasted for Millennia? 1,900-Year-Old Latrine Offers Clues

https://www.smithsonianmag.com/smart-news/how-has-roman-concrete-lasted-for-millennia-a-1900-year...
2•divbzero•27m ago•0 comments

Every junior portfolio I screen now is incredible, and it means nothing

https://old.reddit.com/r/cscareerquestions/comments/1uy5m4u/every_junior_portfolio_i_screen_now_i...
1•bundie•32m ago•0 comments

AI Assistant Needs a Back End. Put It at the Edge

https://lowlatencyclub.ai/blog/posts/edge-ai-assistant-backend-go
1•sona-coffee11•34m ago•0 comments

AI Censorship Tested Across India, China, US, and Europe

https://www.reddit.com/r/AIDiscussion/s/MxOxble1Kd
4•omrajguru•36m ago•0 comments

Things you didn't know about indexes

https://jon.chrt.dev/2026/04/15/things-you-didnt-know-about-indexes.html
1•thunderbong•38m ago•0 comments

All the Beautiful Art in This Video Game Was Hand-Drawn by One Person(2020)

https://www.vice.com/en/article/all-the-beautiful-art-in-this-video-game-was-hand-drawn-by-one-pe...
2•iamanatom•38m ago•0 comments

Superdesign Prompt Library

https://superdesign.dev/library
1•handfuloflight•43m ago•0 comments

NASA's Roman Telescope vs. Webb: the telescope that will map a billion galaxies

https://dotient.com/blog/nancy-grace-roman-space-telescope
2•localdeclan•47m ago•0 comments

Warren Buffett Initiates Berkshire Hathaway's Investment in Alphabet

https://www.cnbc.com/2026/07/15/warren-buffett-tells-cnbc-he-initiated-berkshire-hathaways-invest...
2•mgh2•47m ago•0 comments

What We Talk About When We Talk About Bruce Lee

https://decodingvibes.com/blog/what-we-talk-about-when-we-talk-about-bruce-lee/
1•altmanaltman•47m ago•0 comments

Netflix plateauing engagement, stock drops after Q3 revenue falls short

https://finance.yahoo.com/markets/stocks/article/netflix-stock-drops-after-q3-revenue-falls-short...
1•mgh2•51m ago•1 comments

How to report copying review data under Copyright to google

https://www.google.com/
1•nsinghal12•57m ago•0 comments

AI's real bottleneck is data delivery

https://techcrunch.com/sponsor/f5/your-gpus-arent-the-problem-ais-real-bottleneck-is-data-delivery/
2•adithyaharish•59m ago•0 comments

Gradle Technologies is now Develocity

https://develocity.ai/blog/gradle-technologies-is-now-develocity/
1•mccullal8•1h ago•0 comments

Streaming Encryption (2014)

https://www.imperialviolet.org/2014/06/27/streamingencryption.html
1•nivethan•1h ago•0 comments

Asbestos is a tool, just like any other

https://www.osnews.com/story/145530/asbestos-is-a-tool-just-like-any-other/
2•amcclure•1h ago•0 comments

Samsung is testing a network permission toggle feature

https://www.androidauthority.com/samsung-one-ui-9-concentration-feature-3666807/
2•vilasa•1h ago•0 comments

Router ARP/NAT contradict after reload. Client ghost or firmware bug?

2•asdem•1h ago•0 comments

Preempt AI v2 – AI is powerful. Make sure it's safe too

https://www.getpreempt.com/
1•karthikravva•1h ago•0 comments