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.

Bitcask - A Log-Structured Hash Table for Fast Key/Value Data (2010) [pdf]

https://riak.com/assets/bitcask-intro.pdf
1•gregsadetsky•2m ago•0 comments

SkySynth

https://skyviewer.app/skysynth
1•akkartik•3m ago•0 comments

Agent Empire: A interactive game to get started on what agent pattern to chose

https://agent-empire.products.sayantan.sh/
1•Morningstar317•4m ago•0 comments

China's ByteDance discovers new scaling law that could sustain AI boom

https://www.scmp.com/tech/big-tech/article/3359373/chinas-bytedance-discovers-new-scaling-law-cou...
1•dstala•4m ago•0 comments

Voices of the Void

https://votv.dev/
1•dclavijo•5m ago•0 comments

Repo-Slopscore: Detecting AI Contributions in Git Repositories via Commit

https://slopscan.ava.pet/
1•birdculture•10m ago•0 comments

Show HN: Gavio: open-source interceptor pipeline for production LLM applications

https://github.com/manojmallick/gavio
2•cees007•12m ago•1 comments

Show HN: Papa – open-source Hemingway-style readability linting for Markdown

https://github.com/bharadwaj-pendyala/papa
1•bharadwajp•12m ago•0 comments

How HN: Billy – a self-hosted AI assistant that lives in your Telegram

https://github.com/surfgolfski-dev/billy
1•tmblwd73•14m ago•0 comments

Claude's Criminally Bad Electron Mac App Is an Inside Job

https://daringfireball.net/2026/07/claudes_criminally_bad_mac_app_is_an_inside_job
1•GavinAnderegg•15m ago•0 comments

What does privatization of the US Postal Service mean?

https://phenomenalworld.org/analysis/unstitching-america/
1•htunnicliff•15m ago•0 comments

Russia buys gasoline from India to tackle shortages

https://www.reuters.com/business/energy/russia-buys-gasoline-india-tackle-shortages-sources-say-2...
2•breve•19m ago•0 comments

Forget the AI bubble. The IMF says the real threat is the mountain of debt

https://www.msn.com/en-us/money/other/forget-the-ai-bubble-the-imf-says-the-real-threat-is-the-mo...
1•petethomas•26m ago•0 comments

Show HN: DoodleMeme – Animated Memes from Your Hand Drawn Doodles (No GenAI)

https://doodlemate.com/meme
1•hjessmith•28m ago•0 comments

Give your AI agent its own email inbox – MailKite

https://mailkite.dev/blog/give-your-agent-an-inbox/
1•bucabay•28m ago•0 comments

SpaceX Is Junk. That's What the Bond Market Says

https://www.bloomberg.com/opinion/articles/2026-07-02/spacex-is-junk-that-s-what-the-bond-market-...
2•petethomas•29m ago•0 comments

Donald Trump confident Elon Musk will donate SpaceX stock to Trump accounts

https://www.msn.com/en-us/money/news/donald-trump-signals-confidence-elon-musk-will-donate-spacex...
1•petethomas•31m ago•0 comments

Norm-preserving abliteration on Qwen3.6-35B-A3B with 0% refusal

https://www.reddit.com/r/LocalLLaMA/s/kD7llp3na3
1•satvikpendem•31m ago•0 comments

The free IP Crawl API: detect if your IP camera is accidentally exposed

https://ipcrawl.com/api
2•arm32•32m ago•0 comments

Spotify Confirms Streaming Fraud After Kalshi Trader Flags Suspicious #1 Numbers

https://stereogum.com/2504130/spotify-confirms-streaming-fraud-after-kalshi-trader-flags-suspicio...
2•6stringmerc•35m ago•0 comments

Rage of the Falling Elite: How downward mobility fuels radical politics

https://www.robkhenderson.com/p/rage-of-the-falling-elite
3•vinnyglennon•37m ago•0 comments

Securing Agentic Identity

https://codon.org.uk/~mjg59/blog/p/securing-agentic-identity/
2•edward•38m ago•0 comments

Scientists discover guidance system for migratory songbirds

https://news.exeter.ac.uk/faculty-of-environment-science-and-economy/scientists-discover-guidance...
1•bit_economist•39m ago•0 comments

Google keeps deleting my comment on this Tech Over Tea video about FPGAs

https://www.youtube.com/watch?v=yubuGm1dM50
1•VitaSetLLC•40m ago•0 comments

Coding without AI: a revolutionary new way to work

https://isaaclyman.com/blog/posts/code-review/
1•encyclopedism•41m ago•0 comments

XMM-Newton helps revise distance to outer spiral arms

https://www.esa.int/Science_Exploration/Space_Science/XMM-Newton/XMM-Newton_helps_revise_distance...
2•layer8•42m ago•0 comments

Show HN: Solitaire.Free - Play Klondike, FreeCell & Spider Solitaire Online

https://solitaire.free/
1•nadermx•44m ago•0 comments

After $18B IPO, Bending Spoons founder says success comes from minimizing luck

https://techcrunch.com/2026/07/01/after-18b-ipo-bending-spoons-founder-says-success-comes-from-mi...
4•andsoitis•45m ago•0 comments

Bending Spoons Reviving AOL, Vimeo and Other Internet Oldies Amid the A.I. Boom

https://www.nytimes.com/2026/06/30/technology/bending-spoons-ipo-aol-vimeo-eventbrite.html
1•andsoitis•45m ago•0 comments

The Trans-America Trail Guide

https://transamtrail.com/plan/
2•e-dant•51m ago•0 comments