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.

Woman's Talkspace therapy app sessions exposed in court

https://www.proofnews.org/womans-talkspace-therapy-app-sessions-exposed-in-court/
1•g8oz•27s ago•0 comments

Telescript (Programming Language)

https://en.wikipedia.org/wiki/Telescript_(programming_language)
1•avaer•4m ago•0 comments

Mtplx – 2.24x faster TPS – The native MTP inference engine for Apple Silicon

https://github.com/youssofal/MTPLX
2•youssof•6m ago•0 comments

Trump's proposed NASA budget is a 'horrible threat to our future' in space

https://www.space.com/space-exploration/trumps-proposed-nasa-budget-is-a-horrible-threat-to-our-f...
1•voxadam•7m ago•0 comments

AI Companies Learn the Word No

https://reason.com/2026/05/04/ai-companies-learn-the-word-no/
2•pseudolus•12m ago•0 comments

"Notepad++ for Mac" release is disavowed by the creator of the original

https://arstechnica.com/gadgets/2026/05/unofficial-vibe-coded-notepad-for-mac-draws-objections-fr...
1•cwal37•12m ago•1 comments

Valve just imported 50 tons of game consoles in two days

https://www.theverge.com/news/923461/valve-steam-machine-frame-deck-import-records-may-2026
1•droidjj•13m ago•0 comments

Why ChatGPT answers instead of saying "I don't know"

https://medium.com/@blueshirts23/i-forced-chatgpt-into-adversarial-tests-heres-what-it-actually-d...
2•BoundaryTester•16m ago•0 comments

The Creation of Instant Coffee

https://www.worksinprogress.news/p/the-creation-of-instant-coffee
1•bookofjoe•18m ago•0 comments

Emergency brakes: How to limit temps long before last resort of geoengineering

https://thebulletin.org/2026/05/emergency-brakes-how-to-limit-temperatures-long-before-the-last-r...
1•littlexsparkee•20m ago•0 comments

Bun is being ported from Zig to Rust

https://github.com/oven-sh/bun/commit/46d3bc29f270fa881dd5730ef1549e88407701a5
13•SergeAx•21m ago•4 comments

An imperative language for AI workload orchestration: Terradev CLI v4.0.11

https://github.com/theoddden/Terradev
2•Facingsouth•22m ago•0 comments

A Mental Model for Agentic Work

https://basti.io/blog/agentic_work_mental_model/
2•basti_ag•24m ago•0 comments

Delta Works

https://en.wikipedia.org/wiki/Delta_Works
1•prawn•27m ago•0 comments

Truth

https://plato.stanford.edu/entries/truth/
1•nvr219•28m ago•0 comments

I built a crowdsourced verdict system for real online arguments

https://notacourtoflaw.com/
1•noideawebsite•28m ago•1 comments

Following the Text Gradient at Scale

http://ai.stanford.edu/blog/feedback-descent/
1•bearseascape•28m ago•0 comments

Grove.el – An Obsidian-like note-taking mode for Emacs

https://jonathanchu.is/posts/introducing-grove/
9•tolerance•30m ago•1 comments

Don't let your Mac's storage fill up

https://sixcolors.com/post/2026/05/dont-let-your-macs-storage-fill-up/
2•xngbuilds•36m ago•2 comments

Developer re-enables features that Bambu Lab disabled, BL threatens legal action

https://www.tomshardware.com/3d-printing/developer-re-enables-3d-printer-features-that-bambu-lab-...
1•jacquesm•37m ago•1 comments

Boris Cherny Why Coding Is Solved, and What Comes Next

https://www.youtube.com/watch?v=SlGRN8jh2RI
3•gastonmorixe•38m ago•0 comments

Lockheed Martin joins with Firefly Aerospace and Seagate for off-shore launches

https://spaceflightnow.com/2026/05/04/lockheed-martin-announces-collaboration-with-firefly-aerosp...
1•bookmtn•41m ago•0 comments

The code hosting platform after GitHub

https://ersc.io/blog/ersc-availability
1•rishiadhikari•42m ago•0 comments

Pocket

https://anthonyliddle.dev/work/pocket
3•sciurus•43m ago•1 comments

Burner-bouncer – disposable email detection for JavaScript and Python

https://github.com/grocerysushi/burner-bouncer
1•grocerysushi•45m ago•1 comments

Palantir Q1 revenue jumps 85% on booming US business

https://finance.yahoo.com/markets/article/palantir-q1-revenue-jumps-85-on-booming-us-business-141...
1•wslh•46m ago•0 comments

White House may vet new AI models before public release

https://www.forbes.com/sites/tylerroush/2026/05/04/white-house-may-review-new-ai-models-before-pu...
3•adriangrassi•57m ago•2 comments

Anthropic and FIS Are Building an AI Agent to Help Banks Police Financial Crimes

https://www.wsj.com/tech/ai/anthropic-and-fis-are-building-an-ai-agent-to-help-banks-police-finan...
1•Cider9986•1h ago•2 comments

Show HN: Kanban-CLI – a web UI for local Markdown todo lists

https://github.com/Vochsel/kanban-cli
2•vochsel•1h ago•0 comments

Hunters who believe shooting big game can save Africa's wildlife

https://www.theguardian.com/environment/2026/apr/21/hunters-who-believe-shooting-big-game-can-sav...
1•gmays•1h ago•0 comments