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.

Application compatibility layers are there for the customer (2010)

https://devblogs.microsoft.com/oldnewthing/20100311-00/?p=14643/
1•crispinh•3m ago•0 comments

A Categorical Analysis of LLMs and the Symbol Grounding Problem (2025)

https://arxiv.org/abs/2512.09117
2•rockwindmemento•4m ago•0 comments

Can we prove LLMs are not conscious?

https://machines.tivra.com/human
1•DesaiAshu•5m ago•0 comments

Make717, Lancaster PA's First Makerspace

https://www.make717.org/
1•linuxkernal•5m ago•0 comments

Musk, Jensen Huang, Lisa Su Awarded National Medal of Science

https://www.foxnews.com/politics/first-fox-elon-musk-heads-back-white-house-trump-marks-prestigio...
2•osnium123•17m ago•0 comments

Practical use cases for OpenAI's Decisions API

https://vercel.com/i/openai-decisions-api-use-cases
1•flashbrew•17m ago•0 comments

Humanity's Last Problem

https://benhylak.substack.com/p/humanitys-last-problem
2•namanbhulawat•19m ago•0 comments

Show HN: A satirical yet useful employee survey app for tolerable workplaces

https://tolerableworkplace.com/
1•joewhale•21m ago•0 comments

Letterman – a roguelike Scrabble x balatro game

https://letterman.lol/
1•idiomltd•23m ago•0 comments

Dosbox-x OS-free version because of California age verification laws

https://github.com/joncampbell123/dosbox-x/issues/6337
1•bananaboy•29m ago•1 comments

Show HN: Rhyven – A marketplace for agents

https://rhyvenai.com
1•calebrhyven•29m ago•0 comments

The AI Pascal's Wager

https://ploum.net/2026-10-01-pascal_wager.html
1•teichmann•36m ago•0 comments

What Every Airline Can Learn About Proactively Shaping Revenue

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7152080
1•mooreds•38m ago•0 comments

April: APL as a DSL in Common Lisp

https://github.com/phantomics/april
2•so-cal-schemer•38m ago•1 comments

How the Billions from the Opioid Settlement Are Being Spent

https://www.newyorker.com/news/the-lede/how-the-billions-from-the-opioid-settlement-are-being-spent
2•littlexsparkee•39m ago•1 comments

Don't let a misunderstanding distract you from your goals

https://herbertlui.net/dont-let-a-misunderstanding-distract-you-from-your-goals/
1•herbertl•42m ago•0 comments

Regularized RSI

https://regularized-rsi.com/
1•gregorymichael•43m ago•0 comments

SERV – The SErial RISC-V CPU

https://github.com/olofk/serv
1•kristianpaul•45m ago•0 comments

Tensorlake NPM package and repo compromised

https://github.com/tensorlakeai/tensorlake/issues/1014
3•varunsharma07•49m ago•0 comments

A DuckDB Database with No Data in It

https://duckdb.org/2026/10/07/view-only-mode
1•eigenBasis•54m ago•0 comments

Retrofitting language models to operate over bytes

https://www.nature.com/articles/s41586-026-11111-4
2•theanonymousone•58m ago•0 comments

Deveggs – a self evolving developer eggsperience

1•kunggaochicken•1h ago•0 comments

The mysterious pneumonia in Russia deserves attention, not panic

https://www.statnews.com/2026/10/06/russia-plague-reports-pneuomonia-siberia-expert-calm/
3•EA-3167•1h ago•1 comments

Where Are the Builders?

https://near.blog/where-are-the-builders/
3•yarapavan•1h ago•1 comments

RetinaRelay – A Second Life for Your iMac

https://www.retinarelay.com/
2•tambourine_man•1h ago•0 comments

Runtime – Your AI Agents Have a Home

https://withruntime.com/
2•shermansingh•1h ago•1 comments

Trust Me, You Want SunOS 4.1.4 on Your Older Sun Boxes

https://oldsilicon.com/technologies/sunos-414-older-sun-boxes/
2•caned•1h ago•1 comments

Show HN: agentc: <1mb static/no-libc, minimal, embeddable agent with Rust/C API

https://github.com/abird-ai/agentc
3•logxroot•1h ago•0 comments

SaaS RFP – post and bid on SaaS in public

https://saasrfp.com
1•danielandrews43•1h ago•1 comments

Trump plans to charge international students $70k for work authorization

https://www.reuters.com/legal/government/trump-administration-plans-charge-international-students...
3•onemoresoop•1h ago•0 comments