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: HowMuch – Wordle, but you guess prices

https://howmuchgame.com/
1•spsneo•3m ago•1 comments

LogiGate: A zero-trust middleware architecture for AI liability written in Rust

https://github.com/Les-Senters/Logigate-architecture
1•zkpvault•4m ago•0 comments

California wealth tax fight moves to voters

https://www.politico.com/news/2026/06/25/california-wealth-tax-billionaires-ballot-00977427
1•shinryudbz•7m ago•0 comments

What happened after 2k people tried to hack my AI assistant

https://www.fernandoi.cl/posts/hackmyclaw/
1•cuchoi•14m ago•0 comments

Sochely – An SEO-first platform for creating and discovering local events

https://sochely.com/
1•godimittry90•15m ago•0 comments

Notion is shutting down its email client one year after launch

https://www.neowin.net/news/notion-is-shutting-down-its-email-client-one-year-after-launch/
2•bundie•17m ago•1 comments

Iraq warns it might leave OPEC if oil quota not raised

https://www.reuters.com/business/energy/iraq-consider-all-options-if-opec-quota-is-not-raised-has...
3•JumpCrisscross•18m ago•1 comments

Musk ordered to testify in election lottery cases; one lawsuit may be narrowed

https://www.reuters.com/legal/government/elon-musk-ordered-testify-election-lottery-cases-one-law...
2•JumpCrisscross•19m ago•0 comments

Competition intensifies for Anthropic and OpenAI ahead of IPOs

https://www.ft.com/content/8c02de04-5516-405b-941d-289e586d8eb8
1•JumpCrisscross•19m ago•0 comments

Phases of Ice

https://en.wikipedia.org/wiki/Phases_of_ice
2•thunderbong•32m ago•0 comments

White House asks OpenAI to limit its next model release

https://www.cnn.com/2026/06/25/tech/openai-limit-release-white-house
3•AaronO•32m ago•1 comments

Hallucination in World Models Is Predictable and Preventable

https://www.nicklashansen.com/mmbench2/
1•ilreb•32m ago•0 comments

Honesty gets Emacs patch rejected

https://xlii.space/eng/honesty-gets-emacs-patch-rejected/
1•signa11•34m ago•0 comments

Guardrails for offensive AI agents and why instructions are never enough

https://dest.host/b/guardrails-for-offensive-ai-agents/
1•snorbleck•36m ago•0 comments

How to Write an Effective Software Design Document

https://refactoringenglish.com/excerpts/write-an-effective-design-doc/
1•RickJWagner•38m ago•0 comments

Vanguard on Demand: Kernel Level Cheating (Prevention)

https://www.riotgames.com/en/news/vanguard-on-demand
1•internet-390•42m ago•1 comments

Offline Access and Authentication

https://fusionauth.io/community/forum/topic/3129/offline-access-authentication
2•mooreds•44m ago•0 comments

My Argument Against Self-Care

https://www.shirahaddad.com/writing/no-to-self-care
2•mooreds•45m ago•0 comments

Why Problem Statements Aren't Enough

https://letters.unchartedpathbreakthroughs.com/posts/why-problem-statements-arent-enough
1•mooreds•46m ago•0 comments

Local-first AI coding assistant for IntelliJ-based IDEs (paid)

https://plugins.jetbrains.com/plugin/31304-llamatik-code/
3•oogali•47m ago•0 comments

Why the Slate Truck Only Costs $25K

https://www.edmunds.com/car-news/2027-slate-truck-price-explained.html
4•RickJWagner•56m ago•1 comments

A Declaration of the Independence of Cyberspace (1996)

https://www.eff.org/cyberspace-independence
1•petermcneeley•58m ago•0 comments

Show HN: Bikepacking Planner

https://www.theinstant.cc/pack
3•Gshaheen•59m ago•0 comments

A data race that doesn't compile

https://corentin-core.github.io/posts/ruxe-type-level-disjointness/
14•stmw•1h ago•4 comments

Xbox follows Apple with price increases

https://techcrunch.com/2026/06/25/xbox-follows-apple-with-price-increases/
3•DR_MING•1h ago•0 comments

Rust Foundation Welcomes OpenAI as Platinum Member

https://rustfoundation.org/media/rust-foundation-welcomes-openai-as-platinum-member-announces-don...
2•stmw•1h ago•0 comments

Are Your Local Police Using Flock Safety ALPRs to Scan for Immigrants?

https://www.eff.org/deeplinks/2026/06/are-your-local-police-using-flock-safety-alprs-scan-immigrants
8•jhonovich•1h ago•0 comments

46mi/day: Free power from the sun in an Aptera

https://aptera.us/solar-data/
3•TeaVMFan•1h ago•3 comments

The Handcrafted Life of Dick Proenneke

https://lostartpress.com/products/the-handcrafted-life-of-dick-proenneke
3•mitchbob•1h ago•0 comments

AI is reshaping work. A new group aims to help people adapt and thrive

https://apnews.com/article/ai-job-losses-education-training-929986c149d415cd2ef4dc3eaf66ca8c
5•billybuckwheat•1h ago•0 comments