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.

Through Thick and Thermocline

https://www.bassfinity.com/blog/through-the-thick-of-it-punching-summer-grass-mats
1•jequals5•25s ago•0 comments

Greatly

1•SnowElowen•34s ago•0 comments

DWCS: Why I Open-Sourced My Game Infrastructure Early

https://medium.com/@www.ahadprogamer/i-built-an-open-source-multiplayer-backend-for-a-vr-game-tha...
1•Ahadprogamer•4m ago•0 comments

Extinction Rebellion pelt Microsoft Dutch data center site with acid balloons

https://www.datacenterdynamics.com/en/news/extinction-rebellion-pelts-microsoft-data-center-site-...
1•giuliomagnifico•4m ago•0 comments

Marvell Brings Radix, Low Latency, and Bandwidth to Bear with Teralynx T100

https://www.nextplatform.com/connect/2026/07/17/marvell-brings-radix-low-latency-and-bandwidth-to...
1•rbanffy•4m ago•0 comments

Wharton and Harvard Business School: LLMs on business decisions and tasks

https://business-ai-benchmark.github.io/
1•patelajay285•6m ago•0 comments

Show HN: RefundHalt, contest App Store and Google Play refunds automatically

https://refundhalt.com
1•kedv•8m ago•0 comments

Major AI models are likely to refuse criticizing restrictive leaders or govts

https://apnews.com/article/artificial-intelligence-chatbots-censorship-bias-free-speech-fed8fdbf9...
1•smurda•10m ago•0 comments

Why is it so hard for the U.S. to win wars?

https://www.npr.org/2026/07/18/g-s1-134037/why-is-it-so-hard-for-the-u-s-to-win-wars
2•rbanffy•12m ago•0 comments

India's first privately-developed rocket reaches orbit on dramatic debut launch

https://arstechnica.com/space/2026/07/indias-first-privately-developed-rocket-reaches-orbit-on-dr...
1•rbanffy•15m ago•0 comments

Show HN: I built a pinball repair tool grounded in the real service manuals

https://joinflipside.com.au/repair/
1•mcpit•17m ago•0 comments

Understanding Go AI Inference: What Is Inference?

https://internals-for-interns.com/posts/go-ai-inference-what-is-inference/
1•valyala•17m ago•0 comments

Commission fines AliExpress €550M for breaching the Digital Services Act

https://digital-strategy.ec.europa.eu/en/news/commission-fines-aliexpress-eu550-million-breaching...
2•robin_reala•22m ago•0 comments

Show HN: Diagraw-draw AWS/GCP/IBM archs with icons, arrows that stay attached

https://diagraw.com/
1•victoragudo•22m ago•0 comments

Alibaba Fined Record €550M by EU for Illegal Sales

https://www.bloomberg.com/news/articles/2026-07-20/alibaba-fined-550-million-for-illegal-sales-in...
3•technewssss•23m ago•1 comments

Ask HN: What would a Python-first web look like?

1•RS-232•24m ago•0 comments

DeepWaiting mindfulness while you wait

https://deepwaiting.xyz
1•Zeekaas•24m ago•0 comments

Coercion and Deception in AI-to-AI Management: An Agentic Benchmark

https://arxiv.org/abs/2607.15434
1•sbulaev•29m ago•0 comments

Lāhainā Noon in HawaiʻI: When and Where to See IT

https://www.lovebigisland.com/hawaii-blog/lahaina-noon-when-and-where/
1•_tk_•30m ago•0 comments

Who's Afraid of Chinese Models?

https://stratechery.com/2026/whos-afraid-of-chinese-models/
2•mfiguiere•31m ago•0 comments

Show HN: Picnic Host – No fuss static website hosting

https://picnic.host/en/index.html
1•jeremysarchet•31m ago•0 comments

AI is more likely than humans to form biases when hiring

https://www.technologyreview.com/2026/07/20/1140655/ai-biases-hiring-humans/
2•joozio•35m ago•0 comments

EU slaps €550M fine on AliExpress over illegal and counterfeit goods

https://www.euronews.com/my-europe/2026/07/20/eu-slaps-550-million-fine-on-aliexpress-over-illega...
2•muxamilian•36m ago•0 comments

Show HN: Hail.so – Open-source phone, SMS and email for agents and humans, v0.15

https://github.com/hail-hq/hail/
1•r13i•41m ago•1 comments

Mid-tier factory EDC knives worth buying?

https://www.paragon-knives.com/
1•bgzlsxaz•42m ago•0 comments

Show HN: Test harness that found +250 bugs in open-source matching engines

https://github.com/flash1-dev/matching-engine-benchmark
1•roycechocolate•42m ago•0 comments

Reporting Web 3D Capabilities on a Budget of $3 a Month

https://ben3d.ca/blog/reporting-web-3d-capabilities-on-a-budget
1•bhouston•43m ago•0 comments

About AgentRQ – Human-in-loop realtime conversational task manager for AI Agents

https://github.com/agentrq/agentrq
1•shahargl•46m ago•0 comments

Minimal Git CI using hooks

https://mccd.space/posts/26-06-29/simple-git-ci
2•olexsmir•46m ago•0 comments

Show HN: A comprehensive, filterable list of AI agent jails

https://pleasedonotescape.com/
5•petesergeant•47m ago•1 comments