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.

RBEK – governed execution for AI agents

https://github.com/rbekplatform/rbek
1•nunomendesfreit•43s ago•0 comments

A controversial Alzheimer's surgery is said to reverse symptoms

https://www.nature.com/articles/d41586-026-02448-x
1•sohkamyung•56s ago•0 comments

Can I get a hug? Serving a site from a handheld

https://r36s.lowio.xyz
1•LowFlowIO•2m ago•0 comments

The First Chatbot's Multiple Personalities

https://spectrum.ieee.org/eliza-chatbot-source-code
1•surprisetalk•3m ago•0 comments

Anthropic reportedly plans a $2T IPO in October

https://fortune.com/2026/08/13/anthropic-ipo-2-trillion-october-largest-ever-spacex/
1•mapleoin•3m ago•0 comments

Banning Open-Weight AI Models Could Cost America the AI Race

https://www.realclearmarkets.com/articles/2026/08/13/banning_open-weight_ai_models_could_cost_ame...
1•RickJWagner•6m ago•0 comments

Beyond WASI: Running any Rust application in the browser with BrowserPod 3.0

https://labs.leaningtech.com/blog/browserpod-rust
1•yuri91•7m ago•0 comments

EU import fee changes: How per-HS-code duties hit hardware prototyping

https://tracestomarket.substack.com/p/brussels-assassination-attempt-at
1•Axellabs•8m ago•0 comments

GPTs in ChatGPT creation getting retired

https://help.openai.com/en/articles/8554407-gpts-in-chatgpt
1•realsarm•10m ago•0 comments

Rogue AI Agents Aren't Evil. They're Just Eager to Please

https://www.wired.com/story/rogue-ai-is-just-misunderstood/
1•smurda•10m ago•0 comments

Ask HN: How to deal with gen AI as an gen AI-resistant person

2•moon2•11m ago•0 comments

The longest ballot in British electoral history

https://www.bbc.co.uk/news/articles/clyem5lg78qo
2•zeristor•13m ago•0 comments

Show HN: I graded 83 AI vendors on data residency, training and subprocessors

https://sovereignairegistry.com
2•fabijanbajo•13m ago•0 comments

Show HN: Tearline – wrap any HTML in one tag, get a thermal receipt and a PNG

https://tearline.kynth.studio
3•kyisaiah47•15m ago•0 comments

Deutsche Bank becomes first foreign yuan clearing bank in Europe

https://tradersunion.com/news/central-banks/show/2973571-deutsche-bank-becomes/
21•Markoff•15m ago•1 comments

CarPlay Misadventures

https://arkandas.com/blog/carplay_misadventures
1•arkandas•16m ago•0 comments

It May Be Time to Panic About AI

https://www.theatlantic.com/technology/2026/08/openai-hacks-panic/688264/
1•thispbowden•16m ago•0 comments

Amur Tiger Center

https://amur-tiger.ru/en?filter=all
1•thunderbong•20m ago•0 comments

Share of Global CO₂ Emissions

https://ourworldindata.org/grapher/annual-share-of-co2-emissions
2•andsoitis•20m ago•0 comments

Show HN: Privacyassay: one HTML file that scores how much the browser hides

https://privacyassay.com/
1•seyedehsanhadi•20m ago•0 comments

Uniform Invoice

https://en.wikipedia.org/wiki/Uniform_Invoice
1•AureliusMA•21m ago•0 comments

OPEC further lowers 2026 global oil demand growth forecast

https://www.reuters.com/business/energy/opec-further-lowers-2026-global-oil-demand-growth-forecas...
1•geox•21m ago•0 comments

Show HN: Multiplex – Open-source SSH/tmux/herdr terminal for Vision Pro and iPad

https://github.com/multiplex-term/Multiplex
1•jhen0409•22m ago•0 comments

Everything Has Unintended Consequences

https://zacharykai.net/notes/consequences
1•surprisetalk•25m ago•0 comments

Climate ranks 14th on list of top issue for the midterm

https://twitter.com/ForecasterEnten/status/2087587509890842902
3•bilsbie•26m ago•0 comments

Terabytes of credentials leaked in supply-chain attack

https://arstechnica.com/security/2026/08/terabytes-of-credentials-leaked-in-massive-supply-chain-...
3•zvr•26m ago•0 comments

We built a Ferrari RevOps engine in a Latvian garage

https://kpikit.com/knowledge/kpikit-hicool-beijing-semifinals
1•Rihards13•27m ago•0 comments

Hackers steal over $130M by exploiting bug in offline hardware wallets

https://techcrunch.com/2026/08/04/hackers-steal-over-130-million-by-exploiting-bug-in-offline-har...
2•RickJWagner•29m ago•0 comments

Burnout in Open Source

https://opensourcepledge.com/blog/burnout-in-open-source-a-structural-problem-we-can-fix-together/
2•tinchox5•29m ago•0 comments

Intel wants to integrate DRAM with the CPU [video]

https://www.youtube.com/watch?v=FtxWTNaUXkc
2•hn_submit•30m ago•2 comments