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.

Why Obsidian and Claude Code is such a good match

https://lukasvonkunhardt.com/obsidian-claude-code-setup/
1•lukasvk•2m ago•0 comments

The Generative AI Learning Penalty: Evidence from Chinese Secondary Education

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6868618
1•ColinWright•2m ago•0 comments

Show HN: Rust Doctor, a code health scanner for Cargo workspaces

https://github.com/arthjean/rust-doctor
1•arthurjean•2m ago•0 comments

DFlash 2: Keep Drafting Parallel

https://inco.ai/blog/dflash2/
2•mike-the-brain•3m ago•0 comments

A website to undo caps lock

https://convertcase.net/
1•Velocifyer•4m ago•0 comments

U.S. Debt Hits $40T as America's Borrowing Binge Continues

https://www.nytimes.com/2026/08/19/business/economy/us-debt-40-trillion.html
4•latchkey•7m ago•3 comments

Meta is launching a new Mac app dedicated to its AI chatbot

https://www.theverge.com/tech/982270/meta-ai-mac-app
1•bogdiyan•7m ago•0 comments

GitHub-to-GitLab migration the easy way

https://about.gitlab.com/blog/github-to-gitlab-migration-made-easy/
2•iamspoilt•8m ago•0 comments

Claude Opus 5's Anti-Verbosity Policy

https://www.reddit.com/r/ClaudeWorkflows/comments/1vf70wx/workflow_verify_claude_opus_5s_antiverb...
1•Bluestein•9m ago•0 comments

Copper Shortage Threatens the Green Transition

https://www.economyprism.com/2026/04/copper-shortage-threatens-green.html
3•measurablefunc•9m ago•0 comments

Ask HN: Any Curated Forum Directories?

1•catuscubitus•10m ago•0 comments

"Two 2030 AMD racks are expected to deliver same compute as 570 racks in 2024"

https://newsroom.amd.com/news/amd-tracks-ahead-of-rack-scale-ai-energy-efficiency-goal/
3•lossolo•11m ago•0 comments

Squid – I built an AI meeting participant that knows when not to speak

https://meet.squidhub.ai/
1•amadyazdaev•12m ago•0 comments

TokenBlast: Tune Claude Code's environment flags

https://www.tokenblast.cc/#eyJzIjoiMjIxMSIsInAiOiJiYWxhbmNlZCIsInYiOiIyLjEuMjM1In0=
1•Bluestein•12m ago•0 comments

How to Engineer Dissent

https://growthwiseteams.substack.com/p/how-to-engineer-dissent
2•adunk•12m ago•0 comments

Perplexity's free AI offer left it with millions more users in India

https://techcrunch.com/2026/08/18/perplexitys-free-ai-offer-left-it-with-millions-more-users-in-i...
1•twapi•13m ago•0 comments

Show HN: Jobs extracted from company career pages, before they reach job boards

1•omar_bouaziz•13m ago•0 comments

Value misalignments in X's feed algorithm

https://www.pnas.org/doi/10.1073/pnas.2610388123
3•GolfPopper•14m ago•0 comments

UI Pipeline Internals on iOS

https://blog.jacobstechtavern.com/p/ui-pipeline-internals
1•jakey_bakey•16m ago•0 comments

FCC abolishes gigabit speed goal, suggesting it is unfair to slower technologies

https://arstechnica.com/tech-policy/2026/08/fcc-abolishes-gigabit-speed-goal-suggesting-it-is-unf...
3•toomuchtodo•17m ago•2 comments

Pressed Penny Machine Map

https://pennypresses.net/home/map.php
2•willmeyers•18m ago•0 comments

Comptroller Gould Discusses Digital Asset Innovation, Genius Next Steps

https://www.occ.gov/news-issuances/news-releases/2026/nr-occ-2026-69.html
1•petethomas•18m ago•0 comments

How to avoid frustration for Open-Source contributors?

https://github.com/flutter/flutter/pull/190918
1•lostbanana4•18m ago•1 comments

JupyterLite

https://jupyterlite.readthedocs.io/en/stable/
1•andrewstetsenko•22m ago•0 comments

We Can't Agree on What Counts as "AI-Written"

https://bookriot.com/what-counts-as-ai-survey-results/
5•theanonymousone•23m ago•1 comments

Show HN: HyperSAE – Sparse Autoencoders, reimagined in hyperbolic space

https://github.com/vishal-dehurdle/hypersae
2•visha1v•24m ago•0 comments

Human brain organoids record the passage of time over multiple years

https://www.nature.com/articles/s41586-026-10877-x
7•sbulaev•25m ago•0 comments

Show HN: I made myself a library manager for the Kobo Clara

https://jcurcioconsulting.com/posts/building-a-ebook-management-application-for-the-kobo-clara
1•Jeremy1026•25m ago•0 comments

EA staff fear new Saudi Arabia owners will police their games

https://www.gamesradar.com/games/ea-staff-fear-new-saudi-arabia-owners-will-police-their-games-pr...
4•jamarna•25m ago•2 comments

Thinking about tests: assertions and matchers

https://zverok.substack.com/p/thinking-about-tests-assertions-and
1•petalmind•26m ago•0 comments