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.

First Agentic AI Design System to Bootstrap Products

https://vitadesignsystem.com/
1•entheos•5m ago•0 comments

Show HN: A Walkable O'Neill Cylinder in the Browser

https://islandthree.world
2•zkauble3310•5m ago•1 comments

macOS and Python (Python Language Summit 2026) – Python Insider

https://blog.python.org/2026/09/language-summit-2026-macos-python/
1•rbanffy•6m ago•0 comments

Nobel Prize awarded for showing how nerve cells shape feelings

https://www.bbc.co.uk/news/articles/c5ev3ypmzly8o
1•chrisjj•7m ago•0 comments

What is Firecracker, and why do all the Agent Infra companies care about it?

https://www.browserbase.com/blog/what-is-firecracker
2•FinnLobsien•10m ago•0 comments

Show HN: I made Claude Code quiz me on my German mistakes while it works

2•impala64•13m ago•0 comments

"Ghost Dev" publishes malicious RubyGems

https://opensourcemalware.com/blog/malicious-crypto-shell
1•6mile•18m ago•0 comments

Show HN: Proofkit – run a client's pre-delivery checklist in one pass

https://proofkit.jp/en/
1•sijimo•19m ago•0 comments

Show HN: Minigraf – An embedded, bi-temporal graph database in Rust

https://github.com/project-minigraf/minigraf
2•adityamukho•20m ago•0 comments

Biopolymer

https://en.wikipedia.org/wiki/Biopolymer
1•peter_d_sherman•20m ago•1 comments

Nobel Prize in Physiology or Medicine 2026

https://www.nobelprize.org/prizes/medicine/
1•marc__1•21m ago•0 comments

Mold Linker Version 3.0.0 Release – Rewritten in Rust

https://github.com/rui314/mold/releases/tag/v3.0.0
1•roflcopter69•21m ago•0 comments

Is Mathematics Over, or Just Graduating?

https://docs.google.com/document/d/e/2PACX-1vTSh-pyNP3Gi99WMmsinnLmE9V5CDI0HEm6WGbIPMNt3V5SGlClHF...
1•nvtop•21m ago•0 comments

Show HN: SuperLocalMemory – Features Jev/Laya as Judges on Every Recall

https://github.com/qualixar/superlocalmemory
1•vpbhardwaj•24m ago•0 comments

Europe's new robotics unicorn: Germany's RobCo hits $1B valuation

https://techfundingnews.com/europes-new-robotics-unicorn-germanys-robco-hits-1b-valuation/
10•dachworker•24m ago•4 comments

Incoming El Niño Is So Extreme It Doesn't Have a Scientific Name

https://insideclimatenews.org/news/29092026/record-breaking-el-nino-grows-in-pacific/
1•thelastgallon•29m ago•0 comments

Resolving the block universe paradox: Cross-species time equation

https://github.com/tycedhanna13-prog/block-universe-time-perception
1•tycehanna•31m ago•0 comments

Discovery for domains and evidence for incoming agents

https://nessgate.com/
1•nessgate•31m ago•0 comments

Garbage Collection: Generational? Incremental? Both

https://blog.python.org/2026/09/language-summit-2026-garbage-collection-generational-incremental-...
1•rbanffy•32m ago•0 comments

How to build an AI-native software factory

https://www.theaithinker.com/p/how-to-build-an-ai-native-software
1•adamfaik•33m ago•0 comments

People hate AI, so why can't they get enough?

https://www.technologyreview.com/2026/10/05/1145682/people-really-hate-ai-so-why-cant-they-get-en...
4•joozio•35m ago•0 comments

AI agents are rewriting the economics of computing

https://ig.ft.com/ai-tokens/
2•AnodicElegy•37m ago•1 comments

Constrain the Agent, Not the User

https://www.research.autodesk.com/blog/constrain-agent-not-user/
1•stellar_jay•40m ago•0 comments

Olivetti P101 and a Truncation Error – By Peter G. Madsen

https://www.goto10retro.com/p/olivetti-p101-and-a-truncation-error
1•rbanffy•40m ago•0 comments

What's going on with AI token price deflation?

https://www.ft.com/content/96184ef4-05be-467c-9d9c-745e21dad31a
1•AnodicElegy•43m ago•1 comments

Micron's Numbers Show Why HBM4 Memory Is Worth 15X Its Weight in Gold

https://www.nextplatform.com/store/2026/10/02/microns-numbers-show-why-hbm4-memory-is-worth-15x-i...
1•rbanffy•46m ago•0 comments

Web Search API

https://developers.cloudflare.com/changelog/post/2026-10-02-introducing-web-search-api/
21•tosh•51m ago•6 comments

Birdstar – Go outside. Find the birds. Draw the stars

https://birdstar.app/
2•pkaeding•52m ago•1 comments

The Empire Never Ended

https://classautonomy.info/the-empire-never-ended/
1•ndsipa_pomu•53m ago•0 comments

Show HN: EarWing, an open source hardware device for transcription

2•nl•53m ago•0 comments