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.

Show HN: AiSyncing – Back up your AI coding assistant memories to GitHub

https://github.com/DiegoSalazar/AiSyncing
1•mastermindxs•2m ago•0 comments

Directory navigator that doesn't require you to visit a folder first

https://github.com/RudySource/Dirgo
2•rudus•3m ago•0 comments

War Machines: Netflix Confirms Sequel to Hit Sci-Fi Movie War Machine

https://moztako.me/war-machines-netflix-war-machine-sequel/
2•cecyev•3m ago•0 comments

Characterizing the spiral: potential mechanisms in AI-associated delusions

https://www.nature.com/articles/s44277-026-00065-0
2•jambalaya8•4m ago•0 comments

Mission impossible? Quantifying military emissions

https://thebulletin.org/2026/08/mission-impossible-quantifying-military-emissions/
1•measurablefunc•5m ago•0 comments

Show HN: Flostep – step through your system flows

https://flostep.dev/
1•pandurang90•9m ago•0 comments

Lean: Postmortem for the Kernel Soundness Bug Hunt

https://leodemoura.github.io/blog/2026-8-24-postmortem-for-the-kernel-soundness-bug-hunt/
1•matt_d•9m ago•0 comments

Epigenetic aging biomarker responsiveness to longevity interventions in humans

https://www.nature.com/articles/s41591-026-04562-9
2•bookofjoe•11m ago•0 comments

Show HN: Mainly – a self-hosted mail client built for your multiple domains

https://mainly.crnst8.com/
1•flowerpil•18m ago•0 comments

Equations explained colorfully with KaTeX and Markdown

https://github.com/stared/equations-explained-colorfully
1•lioeters•20m ago•1 comments

Codeanywhere Is Sunsetting

https://codeanywhere.com/blog/codeanywhere-is-sunsetting
3•jcbhmr•21m ago•1 comments

Show HN: Stigmergy, a Karpathy-style LLM wiki for a team, not one person

https://github.com/sturlese/stigmergy
1•sturlese•21m ago•0 comments

OpenDryFire – 10x cheaper laser dry-fire scoring from a webcam and mic

https://github.com/aysark/opendryfire
1•infinitone•21m ago•0 comments

Migrating off Heroku to AWS without killing your deploy speed

https://www.qovery.com/blog/migrate-heroku-to-aws-keep-deployment-fast
1•makaimc•25m ago•0 comments

PageLens–A Chrome extension that uses AI to summarize your tab

https://github.com/heinevwinston-bot/PageLens
1•WinstoneH•29m ago•0 comments

Why AI Detection Fails for Academic Integrity

https://arxiv.org/abs/2608.11256
1•Anon84•31m ago•0 comments

Agile Design and Implementation of a Systolic Array-Based CNN Accelerator (2024) [pdf]

https://www.ijerm.com/download_data/IJERM1103012.pdf
1•peter_d_sherman•36m ago•1 comments

The computer use verification skill that every agent needs

https://twitter.com/zachlloydtweets/status/2084411777354277027
1•gmays•38m ago•0 comments

Show HN: Self-hosted tunnels: local directory/port, your domain, HTTPS, passkeys

https://github.com/schappim/mygrok
1•schappim•39m ago•0 comments

iCloud+ Hide My Email addresses will remain on icloud.com

https://developer.apple.com/news/?id=1ptvdtcm
64•K7PJP•41m ago•15 comments

Supreme Court Allows Trump Plan to Restrict Mail-In Voting, for Now

https://www.nytimes.com/2026/08/24/us/politics/supreme-court-trump-mail-ballots.html
5•mikhael•41m ago•1 comments

France readies high school phone ban for new term

https://www.lemonde.fr/en/france/article/2026/08/24/france-readies-high-school-phone-ban-from-new...
2•geox•44m ago•0 comments

Life Policies Shouldn't Be Funding the Boss's Trophy Assets

https://www.bloomberg.com/opinion/articles/2026-08-24/life-policies-shouldn-t-be-funding-the-boss...
1•petethomas•44m ago•0 comments

Show HN: My friend built a Gleam server – let's try to take it down

https://kms.andrewpavlov.org/
1•harakternik•45m ago•0 comments

Trump Admin Moves to Impose More Than $100K Fee for H-1B Worker Visas

https://sg.news.yahoo.com/trump-administration-moves-impose-more-131727979.html
3•dsmark•47m ago•1 comments

MetaRoCE: A New RDMA Transport Built for AI-Scale Ethernet

https://engineering.fb.com/2026/08/24/networking-traffic/metaroce-rdma-transport-ai-ethernet/
2•sbulaev•47m ago•0 comments

Moon

https://ciechanow.ski/moon/
9•simonebrunozzi•48m ago•2 comments

AI text watermarking and quality loss

https://blog.keyvan.net/p/ai-text-watermarking-and-quality
1•k1m•48m ago•0 comments

See what your content is worth to AI agents

https://index.parallel.ai/
1•martialg•48m ago•0 comments

Vector search in PostgreSQL: deduplicating speakers with pgvector and HNSW

https://rvier.fr/posts/deduplicating-speakers-with-pgvector-and-hnsw-EN
2•brvier•50m ago•0 comments