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.

Hacker News RSS

https://hnrss.github.io/
1•sillysaurusx•2m ago•0 comments

Don't ask me my f*#&ing name

https://runninganddancing.substack.com/p/dont-ask-me-my-f-and-ing-name
1•HakuGulati•6m ago•1 comments

A look at CrossPoint e-reader firmware

https://lwn.net/Articles/1087635/
1•pykello•9m ago•0 comments

Parallel worktrees running all services on local branch domains

https://github.com/jdtzmn/port
1•amadeuspagel•9m ago•0 comments

Kinds of Luck

https://pmarchive.com/luck_and_the_entrepreneur.html
1•AnhTho_FR•10m ago•0 comments

Flooding of ancient Salton Sea linked to San Andreas earthquakes

https://www.sciencecodex.com/flooding_of_ancient_salton_sea_linked_to_san_andreas_earthquakes
1•Noaidi•12m ago•1 comments

Show HN: A2G (Agent to Agent) Marketplace – Beta Test

https://www.a2gmarketplace.com
1•egbert87•12m ago•0 comments

2024 South Korean martial law crisis

https://en.wikipedia.org/wiki/2024_South_Korean_martial_law_crisis
1•consumer451•12m ago•0 comments

European wildfires expose, detonate buried bombs and mines from past wars

https://www.cbsnews.com/news/europe-wildfires-bombs-explosives-world-war-history/
3•littlexsparkee•14m ago•0 comments

A Masked Man Was Scaring Philadelphians. Then He Picked the Wrong Woman

https://www.nytimes.com/2026/08/20/us/chucky-doll-mask-kick-philadelphia.html
2•whack•14m ago•0 comments

The immortal 1984 Macintosh (restoration diary)

https://www.thebyteattic.com/2026/08/the-immortal-macintosh-restoration-diary.html
1•882542F3884314B•15m ago•0 comments

As Flock battles public scrutiny, other surveillance companies see an opening

https://text.npr.org/nx-s1-5931446
1•1659447091•17m ago•0 comments

What retailers are doing with tariff refunds

https://finance.yahoo.com/markets/article/tariff-refunds-are-hitting-retailers-wallets-heres-what...
1•BiraIgnacio•20m ago•1 comments

AI has failed to win people's trust. Its makers? less trusted

https://www.euronews.com/next/2026/08/20/ai-has-failed-to-win-peoples-trust-its-makers-even-less-...
5•billybuckwheat•21m ago•0 comments

View-Master Went from a Weapon Against Kodak to "Just a Toy" [video]

https://www.youtube.com/watch?v=FjekcXFb40E
1•fortran77•22m ago•0 comments

AI as a Co-Writer

https://strawberry9.github.io/the-wrong-memory/cover.html
1•VolatileRegiste•24m ago•0 comments

Why Lean is faster than Rust

https://kim-em.github.io/blog/2026-7-24-why-lean-is-faster-than-rust/
1•hectormalot•24m ago•0 comments

AgentCore Payments GA

https://aws.amazon.com/about-aws/whats-new/2026/08/bedrock-agentcore-payments-ga/
1•AnhTho_FR•27m ago•0 comments

Ask HN: What's the current best research/understanding of healthy weight loss?

2•simonebrunozzi•30m ago•1 comments

The Real AI Crash Will Start This Year

https://quoththeraven.substack.com/p/the-real-ai-crash-will-start-this
4•samizdis•31m ago•1 comments

Amid intense backlash, people are vandalizing Flock surveillance cameras

https://text.npr.org/nx-s1-5939851
1•mooreds•31m ago•0 comments

GoldenEye 007 native port after the N64 decompilation reached 100%

https://github.com/SegfaultEvan/goldeneye-native
2•segfaultevan•31m ago•2 comments

Shared-Nothing Architecture

https://en.wikipedia.org/wiki/Shared-nothing_architecture
1•doener•31m ago•0 comments

Software Design

https://misfra.me/2026/software-design/
1•preetamjinka•41m ago•0 comments

Eliminate GPU Waste by Cutting the Retry Tax

https://rahmipruitt.me/content/gpu-retry-tax/
1•rjpruitt16•44m ago•0 comments

There continue to be reasons for software to be slow

https://typesanitizer.com/blog/performance-issues.html
1•birdculture•44m ago•0 comments

Show HN: MacAIApps – a directory of AI-powered Mac apps

https://www.macaiapps.com/
1•sujee•46m ago•0 comments

ChatGPT

https://openai.com/index/chatgpt/
1•websiteapi•47m ago•0 comments

Trix: Embeddable stack-based scripting VM with cooperative concurrency

https://github.com/mcguidarelli/trix
1•oxryly1•49m ago•1 comments

iPhone 18 Pro Could Get a Signature New Color – Here's What the Latest Leaks Sug

https://moztako.me/iphone-18-pro-colors-dark-cherry/
1•cecyev•54m ago•0 comments