frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo ago

Comments

llm-exe•11mo 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•11mo 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.

AI can cost more than human workers now

https://www.axios.com/2026/04/26/ai-cost-human-workers
2•nreece•3m ago•0 comments

Conversations with Cosmos

https://madsenaim.substack.com/p/coming-soon
1•aimmia•7m ago•0 comments

I Am Doing This: The Origin Story of Project-AI

https://zenodo.org/records/19592336
1•IAmSoThirsty•7m ago•0 comments

Lipovive Review: Effective Formula for Fitness

https://www.morningstar.com/news/accesswire/1138075msn/lipovive-reviews-shocking-2026-report-what...
1•JamesLoynes•9m ago•0 comments

OpenAI boss 'deeply sorry' for not telling police of mass shooter's account

https://www.bbc.com/news/articles/cq6je7e80r7o
3•chistev•12m ago•0 comments

An AI driven WP theming workflow

https://anchor.host/a-custom-wordpress-theme-from-scratch-in-2026-an-ai-driven-workflow/
1•g00m•14m ago•0 comments

Savings Hacks You Must Know

https://www.threads.com/@financial.tips.101/post/DXnfOxRCMEX
1•hennix22•18m ago•0 comments

Claude 4.7 vs. ChatGPT 5.5

https://www.tomsguide.com/ai/7-0-wipeout-i-put-chatgpt-5-5-and-claude-4-7-through-7-impossible-te...
1•ageospatial•19m ago•0 comments

Claude Platform on AWS (Coming Soon)

https://aws.amazon.com/claude-platform/
1•qainsights•20m ago•0 comments

Txtfold – summarize large files for LLMs

https://github.com/kristiandupont/txtfold
1•kristiandupont•24m ago•0 comments

The Silencing Engine

https://kitchencloset.com/realstuff/essays/the_silencing_engine/
1•bcRIPster•28m ago•0 comments

Show HN: ChatForm – Create an AI chat form in 1 minute

https://chatform.000ooo.ooo/
1•fengyiqicoder•35m ago•0 comments

Draft's knowledge graph engine – deterministic codebase understanding for AI

https://www.getdraft.dev/blog/local-graph-engine/
1•mayurpise•38m ago•0 comments

Why the Future Doesn't Need US

https://web.archive.org/web/20160210081017/http://www.wired.com/2000/04/joy-2/
1•signa11•41m ago•0 comments

The Publishing Mystery That No One Wants to Talk About

https://www.theatlantic.com/books/2026/04/who-really-wrote-autistic-author-woody-brown-novel/686814/
1•samclemens•48m ago•0 comments

AMD's Zen: Coming Back from the Dead

https://clamtech.org/?dest=zen1
1•matt_d•50m ago•1 comments

Coyote vs. Acme (1990)

https://www.newyorker.com/magazine/1990/02/26/coyote-v-acme
2•aaronbrethorst•1h ago•0 comments

Learning About FPGAs in Finance

https://www.semidesignjobs.com/blog/fpgas-in-finance-hft
1•johncole•1h ago•0 comments

Show HN: Another experiment with an Erdos problem and LLMs

1•ilitirit•1h ago•0 comments

US power demand to reach record highs in 2026–2027 driven by AI and data centers

https://www.reuters.com/business/energy/us-power-use-beat-record-highs-2026-2027-ai-use-surges-ei...
5•latentframe•1h ago•3 comments

Ask HN: Will local models on normal hardware ever compete?

1•locusofself•1h ago•3 comments

Roast My Startup: Aluqos

https://www.aluqos.com/
1•ndossantos•1h ago•1 comments

Details That Make Interfaces Feel Better

https://jakub.kr/writing/details-that-make-interfaces-feel-better
2•vinhnx•1h ago•0 comments

Transformation and Analogies

https://camerongordon0.substack.com/p/on-transformation-and-analogies
1•iciac•1h ago•0 comments

Critical Thinking: The Architecture of Doubt

https://calltothink.com/blog/critical-thinking-architecture-of-doubt/
1•akarnam37•1h ago•0 comments

Show HN: Vibe Check – Client-side invisible Unicode steganography scanner

https://websationflow.com/
1•Raywob•1h ago•0 comments

I'm Not a Robot

https://sheets.works/data-viz/captcha
2•thunderbong•1h ago•0 comments

The Foldable iPhone Is Basically an iPad Mini That Folds in Half

https://gizmodo.com/the-foldable-iphone-is-basically-an-ipad-mini-that-folds-in-half-2000750451
1•thunderbong•1h ago•1 comments

Show HN: Paper Millionaire – A Startup Stock Option Horror Roguelike

https://paper-millionaire.pagey.site/
2•freakynit•1h ago•0 comments

Show HN: Free On-Brand AI Ad Maker

https://www.context.dev/free-tools/ad-maker
1•ICodeSometimes•1h ago•0 comments