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.

Europe chose insurance. America chose growth

https://thetwocents.substack.com/p/europe-chose-insurance-america-chose
1•JumpCrisscross•1m ago•0 comments

Has America Crossed the Asshole Threshold?

https://thegrimhistorian.substack.com/p/has-america-crossed-the-asshole-threshold
1•JumpCrisscross•1m ago•0 comments

Claude's jargon, metaphors and imaginary composite words are driving me insane

https://old.reddit.com/r/ClaudeAI/comments/1uok58g/claudes_self_invented_technical_jargon_complex/
1•da_grift_shift•2m ago•0 comments

The $0 Second Opinion

https://moai.studio/blog/posts/the-zero-dollar-second-opinion.html
2•ionwake•4m ago•0 comments

Ente's business metrics are open now

https://ente.com/blog/open/
1•Cider9986•4m ago•0 comments

DMS 1.5 "The Wolverine" Released

https://danklinux.com/blog/v1-5-release
2•sonixier•5m ago•0 comments

Using Go for Mobile Apps: A retrospective on a year of development with Gomobile

https://www.davidsobsessions.com/p/one-year-of-gomobile/
1•newswangerd•5m ago•0 comments

OpenAI no longer recommends SWE-Bench Pro

https://openai.com/index/separating-signal-from-noise-coding-evaluations/
6•sk4rekr0w•6m ago•0 comments

Gov. Pritzker Signs Nation-Leading Artificial Intelligence Safety Law

https://gov-pritzker-newsroom.prezly.com/gov-pritzker-signs-nation-leading-artificial-intelligenc...
3•Anon84•6m ago•1 comments

A governed prompt compiler that exposes its reasoning pipeline before execution

https://claude.ai/public/artifacts/13b50d43-fa61-4dcf-8236-eda1c04c2325
1•govintentlabs•7m ago•0 comments

ShevtoneAudio – AI that turns piano MIDI into cinematic trailer music

https://app.shevtoneaudio.com/
1•MusicAlexandrov•7m ago•1 comments

Most slopcode projects are abandoned and deleted within months of release

https://www.osnews.com/story/145469/most-slopcode-projects-are-abandoned-and-deleted-within-month...
3•MBCook•7m ago•0 comments

FIU disciplines 7 students for 'indoor' silent protest on immigration policies

https://www.wlrn.org/government-politics/2026-07-01/fiu-students-silent-protest-immigration
1•hn_acker•8m ago•2 comments

We're Sending More Rockets to Space Than Ever, Leaving a Catastrophic Mark

https://www.popularmechanics.com/space/rockets/a71749237/rocket-pollution/
2•1vuio0pswjnm7•9m ago•0 comments

Vibe Coding Is a System Design Interview

https://www.brendanlong.com/vibe-coding-is-a-system-design-interview.html
2•BrendanLong•9m ago•0 comments

Show HN: Mark Highlight, a Xcode-Style VSCode Extension

https://marketplace.visualstudio.com/items?itemName=JulianAnthes.vscode-mark-highlight
1•dschu•10m ago•0 comments

Agents are monads (but not that kind)

https://xeiaso.net/blog/2026/hyle-pneuma/
1•xena•10m ago•0 comments

Ask HN: Why is not using AI considered a form of arrogance?

4•amichail•11m ago•2 comments

Online gamblers betting more than £1k to face new checks

https://www.bbc.com/news/articles/cqj1xvy44xno
1•1659447091•11m ago•0 comments

The future of chipmaking looks more like Manhattan than Silicon Valley

https://economist.com/science-and-technology/2026/07/08/the-future-of-chipmaking-looks-more-like-...
3•andsoitis•14m ago•0 comments

U.S. Eyes Offshore Spaceports with First-Ever Call for Industry Input

https://gcaptain.com/u-s-eyes-offshore-spaceports-with-first-ever-call-for-industry-input/
4•ilamont•16m ago•1 comments

Mirrorframe – clone a web page into React, verified per-node by pixel diff

https://github.com/byte271/mirrorframe
2•byte1•26m ago•0 comments

LingBot-World 2

https://www.reactor.inc/lingbot-world-2
2•willemhelmet•28m ago•0 comments

Mexico Speech Laws for Protecting the Powerless Instead Used to Silence Critics

https://www.techdirt.com/2026/07/08/mexico-passed-speech-laws-to-protect-the-powerless-the-powerf...
3•hn_acker•28m ago•1 comments

Fable is not a useful model

https://combine-lab.github.io/blog/2026/07/07/fable-is-not-a-useful-model.html
74•karrot-kake•29m ago•43 comments

Show HN: Handsum: An LQIP Image File Format

https://nigeltao.github.io/blog/2026/handsum.html
2•nigeltao•29m ago•0 comments

An equitable company

https://blog.roomy.space/3mq5nohx64c2u
2•erlend_sh•30m ago•0 comments

VentureBeat Events in San Francisco?

2•BriStoller•31m ago•0 comments

America's Support for Capitalism Has Declined over Last Decade

https://www.wsj.com/politics/policy/wsj-poll-usa250-capitalism-democracy-940af905
2•rawgabbit•32m ago•0 comments

Turning a pile of documents into a searchable useable knowledge base

https://github.com/linuxrebel/DocuBrowser
4•linuxrebe1•33m ago•1 comments