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.

Computer Science Achievement and Writing Skills Predict Vibe Coding Proficiency

https://arxiv.org/abs/2603.14133
1•ai_critic•2m ago•0 comments

Enhanced Marinara: Pomodoro Assistant

https://chromewebstore.google.com/detail/enhanced-marinara-pomodor/lndmnhfeakddkplpflindoclekcogomk
1•Ksenofanex•3m ago•1 comments

AI and the collapse of the intelligence-based hierarchy of merit

https://mattbruenig.com/2026/08/31/more-thoughts-on-ai/
1•rzk•7m ago•0 comments

"Shatnered" [video]

https://www.youtube.com/watch?v=6Mo3G3LqIeo
1•giardini•11m ago•0 comments

What If We Had Taxed the Internet?

https://thesaltroad.net/p/what-if-we-had-taxed-the-internet
1•Ariarule•11m ago•1 comments

Zopt: Low-ceremony command line parsing for Zig

https://codeberg.org/hgrsd/zopt
1•birdculture•13m ago•0 comments

Hikers rescued after using Google Gemini for planning

https://techcrunch.com/2026/09/05/hikers-rescued-after-using-google-gemini-for-planning/
1•sbulaev•14m ago•0 comments

Workforce behind AI spans 160M workers, many in the Global South

https://www.thecooldown.com/green-tech/global-south-data-workers-ai-labor-organization/
1•01-_-•19m ago•0 comments

Sense motion with the Wi-Fi using ESP32

https://github.com/francescopace/espectre/discussions/163
1•FloatArtifact•22m ago•0 comments

Show HN: Vibe code keeps running, even with the lid closed

https://touchmac.app/en/
1•Touchnow•29m ago•0 comments

You're paying for Claude's thinking and you're not getting it

https://gist.github.com/64-megabyte/bc218bd074fa56c26b7dce828adf21a2
2•zerotoken•45m ago•0 comments

Should coding agents have persistent understanding of a codebase?

https://github.com/thecolourfoundation/rune
1•malikfyua•47m ago•0 comments

Flight Over the Earth game (based on Google Maps)

https://flightoverearth.com/
1•yeellow•47m ago•0 comments

Luxuries as an Adult

https://argentumaspicio806903.substack.com/p/luxuries-as-an-adult
1•rickyyean•48m ago•0 comments

Halv used 51% fewer tokens per correct answer on SWE-rebench

https://halv.ai/blog/halv-swe-rebench-20-pairs/
2•handfuloflight•49m ago•0 comments

Is AI ruining my brain?

https://thoughtbot.com/blog/is-ai-ruining-my-brain
5•encyclopedism•57m ago•1 comments

Higher semaglutide dose associated with lower psych events ind. of weight loss

https://www.nature.com/articles/s44324-026-00131-3
1•jtc331•57m ago•0 comments

Blockchained

https://www.blockchainednovel.com/read.html
1•mck-•1h ago•0 comments

Spatiotemporal Composability and Cordis

https://spatiotemporal-composability.pages.dev/
1•srid•1h ago•0 comments

Good AI Slop

https://blog.bilus.dev/posts/good-ai-slop/
1•bilus•1h ago•3 comments

StoryScope: Investigating Idiosyncrasies in AI Fiction

https://arxiv.org/abs/2604.03136
1•efavdb•1h ago•0 comments

OKF Agent Memory – Git-native persistent memory for AI coding agents

https://github.com/okf-memory/okf-agent-memory
4•okf_memory•1h ago•0 comments

Nvidia Lambda Circular Deal [video]

https://www.youtube.com/shorts/II2BEkrJ2Zc
1•Betelbuddy•1h ago•0 comments

The Roadmap of Mathematics for Machine Learning

https://thepalindrome.org/p/the-roadmap-of-mathematics-for-machine-learning
3•gmays•1h ago•0 comments

Show HN: Twinrun – run old and new code on the same inputs, diff the outputs

https://github.com/prian3003/twinrun
1•satineeee•1h ago•0 comments

Falsehoods Programmers Believe About LANs

https://dreamstation.systems/personal/lanfalsehoods.html
22•robinpie•1h ago•11 comments

Breaking GitLab's GraphQL Layer: CVE-2026–19478 and CVE-2026–19650

https://medium.com/peakcyber/breaking-gitlabs-graphql-layer-cve-2026-19478-cve-2026-19650-acf16e4...
1•syumei•1h ago•0 comments

AI push is putting banks at mercy of tech firms, warns Moody's

https://www.theguardian.com/business/2026/aug/09/ai-push-banks-tech-firms-moodys-risks-financial-...
5•prmph•1h ago•0 comments

GPT-6 Astra: the harness is the product

https://fewshotacademy.com/blog/gpt-6-astra-the-harness-is-the-product
4•mangatgoyal•1h ago•1 comments

An LLM runtime that boots from USB

https://nightrun.io/
1•NickNaraghi•1h ago•0 comments