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.

Against the Survival of the Prettiest

https://worksinprogress.co/issue/against-the-survival-of-the-prettiest/
1•Jimmc414•24s ago•0 comments

The Parent Uprising Against Screen Time at School

https://www.wsj.com/us-news/education/school-technology-screens-parents-9fc7384b
1•JumpCrisscross•27s ago•0 comments

Lithp.py (~2008)

https://fogus.me/fun/lithp/
1•wglb•1m ago•0 comments

Keystone – deterministic execution vault with replay‑verifiable proof

https://github.com/cryptictyrant519/keystone-proof
1•DevTyrant519•2m ago•0 comments

TimeFlies – convert flight info to calendar

https://ozgur.ca/projects/time-flies
1•sedatk•3m ago•0 comments

AI is making answers cheap. Curiosity is priceless

https://www.fastcompany.com/91556703/ai-is-making-answers-cheap-curiosity-is-priceless
1•ohjeez•4m ago•0 comments

An In-Browser Visualizer for GPS Satellites

https://hackaday.com/2026/06/18/an-in-browser-visualizer-for-gps-satellites/
1•gnabgib•4m ago•0 comments

PostmarketOS v26.06 (Alpen Avocado) released

https://postmarketos.org/blog/2026/06/21/v26.06-release/
1•kokada•6m ago•0 comments

Give the Baby Peanut Butter

https://www.thefp.com/p/give-the-baby-peanut-butter-allergy
1•mhb•9m ago•0 comments

The Cult of LK99

https://www.youtube.com/watch?v=fj3WwMxUDZ8
2•EwanG•11m ago•1 comments

Norway Bans AI for Kids 6-13 in Schools

https://yipzap.com/norway-bans-ai-for-kids-6-13-in-schools-a-bold-move-against-tech-dependency/
1•noida•12m ago•1 comments

Exhaustive and Definitive Ranking of All NES Games Released in North America

https://8bitnintendo.science/
2•CharlesW•13m ago•0 comments

Fast-tracked power plants fuel AI boom, with little public scrutiny

https://www.reuters.com/business/energy/fast-tracked-power-plants-fuel-ai-boom-with-little-public...
1•JumpCrisscross•13m ago•0 comments

Freelance Hiring, Without the Chaos

https://hight.ai
1•YinkaIyiola•14m ago•0 comments

Futuristic Japanese Warship Is on the Market and Winning Fans

https://www.wsj.com/world/asia/this-futuristic-japanese-warship-is-on-the-market-and-winning-fans...
3•JumpCrisscross•14m ago•0 comments

Bill that would mandate AI chip location tracking gains industry support

https://www.nbcnews.com/tech/tech-news/chips-security-act-gains-industry-support-letter-rcna350500
3•elliotbnvl•21m ago•0 comments

Welcome to America, World Cup visitors. Don't forget to tip

https://www.axios.com/2026/06/21/world-cup-service-fees-tipping-culture
3•rguiscard•24m ago•0 comments

The Wheel of Life

https://dsernst.com/writing/2026/wheel-of-life
1•dsernst•25m ago•0 comments

Good results fine tuning a local LLM like Qwen 3:0.6B to categorize questions

https://www.teachmecoolstuff.com/viewarticle/fine-tuning-a-local-llm-to-categorize-questions
2•dev-experiments•29m ago•0 comments

The Revolution Will Not Be Digitized

https://lareviewofbooks.org/article/social-codes-tech-workers-class-identity-digital-capitalism/
1•colinb•30m ago•0 comments

Simple hard way to conjugate Japanese verbs

https://underreacted.leaflet.pub/3mmevu6woys27
3•valzevul•31m ago•1 comments

Show HN: Real-Life Deception Detection Without Uploading Video

https://github.com/WhissleAI/lie_detection_binary
1•ksingla025•33m ago•0 comments

Evaluating sugar-sweetened beverage tax effects

https://pmc.ncbi.nlm.nih.gov/articles/PMC12669988/
1•luu•37m ago•0 comments

I Canceled My French Tutor and Built an LLM Tool That Does It Better

https://alshe.substack.com/p/i-canceled-my-french-tutor-and-built
2•Anon84•38m ago•0 comments

PebbleOS

https://github.com/coredevices/PebbleOS
1•arbayi•39m ago•0 comments

Robust Jobserver

https://codeberg.org/mlugg/robust-jobserver/src/branch/main/spec.md
1•birdculture•41m ago•0 comments

The Deadly Rise of Giant Trucks and S.U.V.s

https://www.nytimes.com/interactive/2026/06/21/us/trucks-suv-pedestrian-crashes.html
9•xnx•42m ago•1 comments

Migrating from Claude to DeepSeek without breaking everything

https://blog.firetiger.com/migrating-from-claude-to-deepseek-without-breaking-everything/
2•eric_khun•44m ago•0 comments

Compass – guardrails and a hard budget cap for AI coding agents

https://github.com/dshakes/compass
1•chandu1221•46m ago•0 comments

The Crusade of Hormuz

https://www.historytoday.com/archive/history-matters/crusade-hormuz
2•Thevet•51m ago•0 comments