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.

Software Engineering is dead (again)

https://fffej.substack.com/p/software-engineering-is-dead-again
1•ColinEberhardt•3m ago•0 comments

I got an email about resistance

https://www.seangoedecke.com/i-got-an-email-about-resistance/
1•savanaly•3m ago•0 comments

Show HN: VidServe – Turn any local video folder into a LAN streaming site

https://guokai.dev/vidserve/
1•hanguokai•8m ago•0 comments

Reducing Graphics API Complexity: A Clean Slate Design for Modern GPUs [video]

https://www.youtube.com/watch?v=aQv9pUl9PBM
1•matt_d•13m ago•0 comments

I Built Computer Engineering for Babies

https://hackylabs.com/blogs/engineering/how-i-built-computer-engineering-for-babies
1•preetamjinka•14m ago•0 comments

An Innocent Driver Was Held at Gunpoint over a Flock Cam Mix-Up:Wrong Person/Car

https://www.motorbiscuit.com/an-innocent-driver-was-held-at-gunpoint-over-a-flock-camera-mix-up-w...
1•Markoff•19m ago•0 comments

Microsoft Word for Windows 1.1a, Native X64 Port

https://github.com/jmarshall23/msword
1•BruceEel•19m ago•0 comments

Show HN: Fixing optical computing jitter via fluid dynamics in GPU registers

https://github.com/PJHkorea/photonic-mesh-fng-router
1•PJHkorea•20m ago•1 comments

Driving a 7.3" 6-Color E-Paper Display in `no_std` Rust (ESP32-S3)

https://github.com/melastmohican/rust-reterminal-e1002-examples
1•melastmohican•21m ago•0 comments

Muse Code Sends Codex and Claude Instructions to Meta by Default

https://runtimewire.com/article/exclusive-muse-code-sends-codex-and-claude-instructions-to-meta-b...
1•ryanmerket•21m ago•0 comments

Six months of action gaming alters brain networks and improves visual attention

https://www.psypost.org/six-months-of-action-gaming-alters-brain-networks-and-improves-visual-att...
1•giuliomagnifico•22m ago•0 comments

Meta CTO told employees AI gains should go into more work

https://thenextweb.com/news/meta-bosworth-ai-productivity-more-work-not-time-off
1•chanux•24m ago•1 comments

Termdom: Build terminal apps with HTML, CSS and the DOM

https://github.com/bikeshaving/termdom
2•thunderbong•30m ago•0 comments

NASA Wildfire Tracker – Real-time satellite feeds and microclimate risk modeling

https://nasa-wildfire-tracker-3pfkr5zcs2jmze5dpknvet.streamlit.app/
1•ClimateDev•32m ago•0 comments

Churvaness – Bilingual books for language learners

https://leanpub.com/u/churvaness
1•pawpatrol•34m ago•0 comments

Open Source, third-party auditing for AI Agents

https://github.com/ifixai-ai/iFixAi
1•dimneo24•41m ago•1 comments

Play Football Online

https://danfootball.com
2•declaj•58m ago•0 comments

Interviewpad.io

https://www.interviewpad.io/
2•sharva•1h ago•3 comments

Apple to require iOS apps must have minimum OS version of iOS 15 in 2027 onwards

https://www.reddit.com/r/iOSProgramming/comments/1vgql6n/new_warning_when_uploading_app_to_app_st...
2•busymom0•1h ago•2 comments

The Nixpkgs core team has unfortunately decided to disband

https://github.com/NixOS/org/pull/277
1•codewiz•1h ago•0 comments

"The original URL for this prediction will no longer be available in 11 years." (2011)

https://longbets.org/601/
36•doubletwoyou•1h ago•9 comments

How I sell my garlic online.

https://Demeterfamilyfarm.com
1•Hilliard_Ohiooo•1h ago•0 comments

Why MySpace fans want it back as relaunch hinted

https://www.bbc.com/news/articles/c4g64152v71o
3•1659447091•1h ago•0 comments

Small Talk to Deep Talk

https://talk.bradwoods.io/blog/small-talk-to-deep-talk
1•bradwoodsio•1h ago•0 comments

Show HN: Open-source, searchable HTML workspace for Claude Code

https://anona-labs.github.io/mirror/
1•anoop_kumar•1h ago•0 comments

StackOverflow Read-Only

https://stackoverflow.com
4•anticensor•1h ago•1 comments

AI creates 16 new viruses from scratch after training on 9T nucleotides

https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-creates-16-new-viruses-that...
2•sbulaev•1h ago•1 comments

Gen Z Is Drinking Alcohol as Much as Older Generations

https://www.businessinsider.com/gen-z-drinking-alcohol-moderation-sobriety-new-data-2026-7
3•satvikpendem•1h ago•0 comments

Illinois Just Told Every Operating System to Start Reporting Your Kid's Age

https://itsfoss.com/news/illinois-age-verification-bill/
27•WaitWaitWha•1h ago•6 comments

Show HN: Sqnc.run – a live cipher stream inspired by number stations

https://sqnc.run/
1•nee_oo_ru•1h ago•0 comments