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.

AlloyDB's new agentic database architecture

https://cloud.google.com/blog/products/databases/alloydbs-agentic-database-architecture
1•Hixon10•4m ago•1 comments

US Arts Employment

https://twitter.com/JosephPolitano/status/2104282420631777488
1•pppone•11m ago•0 comments

What is the closest thing we have to Iron man's desk?

2•zfoong•17m ago•0 comments

An Antidote to Roko's Basilisk

2•DrMiaow•18m ago•1 comments

Netkit: Specializing Linux Packet Delivery for Container Networks

https://pchaigno.github.io/ebpf/2026/09/22/netkit-paper.html
1•mfrw•20m ago•0 comments

Project NOMAD self-contained offline knowledge server packed with critical tools

https://github.com/Crosstalk-Solutions/project-nomad
1•modinfo•21m ago•0 comments

A value-based approach to mathematics

https://terrytao.wordpress.com/2026/09/26/a-value-based-approach-to-mathematics/
1•pykello•21m ago•0 comments

Made by Mechanical Means

https://felixrieseberg.com/made-by-mechanical-means/
2•cocoflunchy•27m ago•0 comments

Chiaroscuro

https://en.wikipedia.org/wiki/Chiaroscuro
1•nomilk•27m ago•0 comments

Show HN: Dodosend – a Fast keyboard first Gmail client

https://dodosend.com
2•trafargarlaw•30m ago•0 comments

AI safety field *visual* impact analysis

https://www.lesswrong.com/posts/fqpSosGwSt3uiZq35/ai-safety-field-visual-impact-analysis
1•joozio•30m ago•0 comments

Why Self-Hosting Is Defense Against AGI

https://www.anvilai.com/manifesto
4•nathancheng•37m ago•1 comments

We Are the Bootloader: Transitioning to Intelligent Systems

https://marutp.substack.com/p/we-are-the-bootloader-transitioning
1•mwiki•41m ago•0 comments

Ethereum Gets Top Marks in Parano1d 101

https://ethresear.ch/t/ethereum-lessons-from-a-live-end-to-end-pq-proof-native-protocol/25730
3•notsatoshinotsa•43m ago•1 comments

Hysenlabs

https://hysenlabs.com/en
1•yanpinquan•45m ago•0 comments

I was wrong about Rust on the web [video]

https://www.youtube.com/watch?v=HfRQjix9tU4
3•auraham•46m ago•1 comments

List Your SaaS

https://goodsaas.xyz/
1•lux_revelare•48m ago•0 comments

Should Developers Design?

https://blog.webb.page/WM-104
1•NetOpWibby•49m ago•0 comments

Cloudflare's 2026 Annual Founders' Letter

https://blog.cloudflare.com/cloudflares-2026-annual-founders-letter/
1•willx86•49m ago•0 comments

Reducing .NET AWS Lambda Cold Starts by Adding Memory

https://www.lloydatkinson.net/posts/2026/reducing-dotnet-aws-lambda-cold-starts-by-increasing-mem...
1•theanonymousone•49m ago•0 comments

SeedRouter – One API for LLM, image and video models

https://seedrouter.ai
1•xbaicai•54m ago•0 comments

Researchers Propose Searching the Moon for Microscopic Technosignatures

https://www.seti.org/news/researchers-propose-searching-the-moon/
1•geox•54m ago•0 comments

Coligny Calendar: Gallo-Roman Astronomy

http://www.wasteflake.com/tiki-read_article.php?articleId=46
2•Mr_Minderbinder•55m ago•0 comments

Pragmatic Anthropomorphism, Or: How to Talk to an Autocompleting Cricket

https://blog.lmorchard.com/2026/09/27/pragmatic-anthropomorphism/
2•nizarmah•56m ago•0 comments

Publish facts AI agents can trust, instead of what they scraped

https://profiles.skin/
2•ralphdelblanco•58m ago•0 comments

Show HN: I made my childhood dream come true today, Opus did it

https://twitter.com/riderashgame/status/2103862325455519907
1•testingsaket•58m ago•0 comments

Show HN: FAB – A benchmark for AI agents doing financial due diligence

https://github.com/SecondState-ai/finance-agents-benchmark
1•ELAmrani•58m ago•0 comments

Ask HN: Using AI to develop software while being Anti-AI

1•emn4tor•1h ago•0 comments

Using AI to develop software while being Anti-AI

2•emn4tor•1h ago•2 comments

How to make – and keep – friends as a grownup, according to science

https://www.cnn.com/2026/09/27/health/make-keep-friends-grownup-wellness
1•theanonymousone•1h ago•0 comments