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.

A Pause for the Python JIT

https://lwn.net/Articles/1090385/
1•signa11•42s ago•0 comments

Show HN: A web page that counts its own visitors and cannot lie

https://ava-wall.surge.sh
1•ava-14•9m ago•0 comments

Jev is trained on 100% synthetic data

https://twitter.com/CompleteSkeptic/status/2100617775823966680
1•rinesh•12m ago•0 comments

Show HN: Fouine – local full-text and semantic search for scanned PDFs on macOS

https://github.com/basedpolymer/fouine
1•basedpolymer•15m ago•0 comments

What to Expect When You're Expecting (A World of Multi-Agent Systems)

https://asteriskmag.com/issues/15/what-to-expect-when-you-re-expecting-a-world-of-multi-agent-sys...
1•ronfriedhaber•15m ago•0 comments

Dxui – A declarative desktop GUI framework for Go, without cgo

https://github.com/dxui-org/dxui
1•truda•18m ago•0 comments

Hugging Face attack: "This might be the clearest warning shot we ever get" [video]

https://www.youtube.com/watch?v=X50zezLFWWI
1•looofooo0•19m ago•0 comments

Eight language models and the 2026 Berlin state election

https://wahl.ksmn.dev/en/
2•hemartin•20m ago•0 comments

Cassette-shaped MP3 player meant to be played on tape decks [video]

https://www.youtube.com/watch?v=otXrFBq0HWQ
1•eps•20m ago•0 comments

FeatureMap – map your product's features

https://github.com/yonathan06/featuremap
1•yonatan06•20m ago•0 comments

Why dynamic balance matters at 1200M/min

1•AmyraZhao•21m ago•0 comments

Gyazo screen capture tool confirms data breach

https://updates.gyazo.com/notice-and-apology-regarding-a-data-breach-resulting-from-unauthorized-...
1•2sf5•24m ago•0 comments

What to Read to Stay Grounded Amidst AI Doomerism

https://buttondown.com/maiht3k/archive/what-to-read-to-stay-grounded-amidst-ai-doomerism/
1•james_mir•27m ago•0 comments

The Entity Service Antipattern

https://www.michaelnygard.com/blog/2017/12/the-entity-service-antipattern/
1•simianwords•31m ago•0 comments

One AWS Bill Went from Almost $8k a Month Toward $6k

https://greenops.cloud/blog/blog-cost-drop-8k-to-6k
1•depidsvy•33m ago•0 comments

Has World War III Already Started?

https://www.nytimes.com/2026/08/25/opinion/has-world-war-iii-already-started.html
2•Alien1Being•34m ago•0 comments

Targeting 25 years of Windows with Visual Studio 2019

https://building.enlyze.com/posts/targeting-25-years-of-windows-with-visual-studio-2019/
2•birdculture•34m ago•0 comments

The Cost of AI Is Now My Main Blocker

https://www.vincentschmalbach.com/cost-of-ai-is-now-my-main-blocker/
1•vincent_s•37m ago•0 comments

BuiltByVibe – Directory of vibe-coded apps with a free MCP server

https://builtbyvibe.dev/
1•notevenbuttery•40m ago•0 comments

Altman, Huang: "trust me; gonna b fine"; Sanders: "AI more dangerous than nukes"

https://garymarcus.substack.com/p/sam-altman-says-trust-me-jensen-huang
3•mdp2021•41m ago•2 comments

Fermi.gg – Daily game based on the "Fermi estimation" technique

https://fermi.gg
1•epaga•47m ago•0 comments

Everything Feels Fake – Here's Why: The Power Elite Playbook [video]

https://www.youtube.com/watch?v=P33-rjgOXzg
1•enemyz0r•52m ago•0 comments

How to Unslop a Commit?

1•blackbit•56m ago•0 comments

Plain Text Sports

https://plaintextsports.com/
1•tosh•56m ago•1 comments

ProductFight – Productfight.lol

2•thegeekybaniya•56m ago•0 comments

Ask HN: What do your agents do?

1•exyo•57m ago•0 comments

New wild cat species discovered – with only one known living member

https://www.bbc.com/news/articles/c6x2zgv9rr4ro
1•drgo•57m ago•0 comments

The Filename`IBHashImageName` Breaks iOS[video]

https://www.youtube.com/watch?v=Dt4o7hz0B60
1•sharma-arjun•1h ago•1 comments

The Front Page of the Internet Is Up for Grabs

https://idiallo.com/byte-size/the-front-page-of-the-internet
1•garo-pro•1h ago•0 comments

VIPR RNA-guided DNA recognition by noncontiguous geometric triplex formation

https://www.science.org/doi/10.1126/science.aei3472
1•gone35•1h ago•0 comments