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.

Designing Firefox for the Future

https://blog.mozilla.org/en/firefox/new-firefox-design/
1•iBelieve•13s ago•0 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...
1•backlit4034•2m ago•0 comments

Ask HN: How do you keep documentation up to date with AI generated code?

1•ghosts_•2m ago•0 comments

Show HN: Free Mermaid Diagram Editor

https://moxiedocs.com/mermaid-diagram-editor
2•ghosts_•4m ago•0 comments

How OpenAI Delivers Low-Latency Voice AI for 900M Users

https://blog.bytebytego.com/p/how-openai-delivers-low-latency-voice
1•gmays•7m ago•0 comments

Muse Image and Muse Video, the first media generation models developed by Meta

https://twitter.com/AIatMeta/status/2074577662840832382
1•jeudesprits•10m ago•0 comments

Cognitive and affective effects of L-Theanine: review of 31 randomized trials

https://www.nature.com/articles/s41380-026-03727-9
1•bookofjoe•12m ago•1 comments

Windows is watching: Anti-piracy tool fingers Scattered Spider suspect

https://www.theregister.com/cyber-crime/2026/07/07/windows-is-watching-anti-piracy-tool-fingers-s...
2•Mgtyalx•12m ago•0 comments

Git Hash Chain Malleability

https://arxiv.org/abs/2607.02820
1•xqb64•13m ago•0 comments

Neural Geometry in Vision Models with Block-Sparse Featurizers

https://www.goodfire.ai/research/bsf-vision
1•babelfish•13m ago•0 comments

J-Space: Where Claude silently performs reasoning steps

https://twitter.com/AnthropicAI/status/2074185358678364414
2•jhatax•18m ago•3 comments

Bond Traders Stunned as Losses on SpaceX's New Debt Keep Growing

https://www.bloomberg.com/news/articles/2026-06-26/bond-traders-stunned-as-losses-on-spacex-s-new...
2•1vuio0pswjnm7•20m ago•1 comments

APS-CYBER: A state-transition security platform to detect attacks before impact

https://www.apslogic.org/cyber.html
1•lombardo_e•20m ago•0 comments

FrankenMarkdown

https://franken-markdown.com/
4•handfuloflight•26m ago•0 comments

Bees 'facial expressions' may be a sign of their inner lives

https://phys.org/news/2026-07-bees-facial.html
1•indynz•26m ago•0 comments

Why the rise of open source AI isn't hurting Anthropic yet

https://techcrunch.com/2026/07/07/why-the-rise-of-open-source-ai-isnt-hurting-anthropic-yet/
2•jack1689•27m ago•0 comments

Silent speech with ultrasound

https://alephneuro.com/blog/silent-speech
1•chrwn•28m ago•0 comments

Who's Keeping Fossil Fuels Alive? Taxpayers

https://www.bloomberg.com/opinion/articles/2026-07-05/who-s-really-keeping-fossil-fuels-alive-tax...
3•littlexsparkee•30m ago•1 comments

MIL – Moments in Life

https://mil.now/
1•untitled-now•31m ago•0 comments

Composing TLA+ Specifications with State Machines

https://www.hillelwayne.com/post/composing-tla/
1•Jimmc414•32m ago•0 comments

Constructing a lower-bound estimate of the global number of insect species

https://www.pnas.org/doi/10.1073/pnas.2524283123
1•rdmuser•34m ago•0 comments

The Wisdom of Holden Caulfield

https://www.theatlantic.com/books/2026/07/catcher-in-the-rye-75th-anniversary-holden-caulfield-ma...
2•petethomas•34m ago•0 comments

Create Your Language

https://conlang.app/
1•natbennett•34m ago•0 comments

Your Idea Is Brilliant, Your Idea Is Worthless (KS Lesson #204) (2016)

https://stonemaiergames.com/kickstarter-lesson-204-your-idea-is-brilliant-your-idea-is-worthless/
2•downbad_•37m ago•0 comments

U7in-32tb.224xlarge

https://instances.vantage.sh/aws/ec2/u7in-32tb.224xlarge?currency=USD
2•handfuloflight•42m ago•0 comments

Disney accuses US media regulator of trying 'to sit in the editor's chair'

https://www.ft.com/content/3b9be38f-0968-40f8-bb2c-a5ae2cc81cb4
5•petethomas•42m ago•0 comments

Qualcomm acquires Nexa AI, open-sources GenAI runtime for Hexagon NPUs

https://github.com/qualcomm/GenieX
3•BUFU•50m ago•1 comments

Chorus: A fast WAL for object storage

https://rockwotj.com/blog/chorus/
2•cbrewster•53m ago•1 comments

Google Earth Pro Desktop downloads will be unavailable starting June 2027

https://support.google.com/earth/thread/448773864/update-on-google-earth-pro-desktop-app-download...
7•KomoD•54m ago•0 comments

EU AI Act becomes applicable Aug 2: an engineering checklist

https://conformityengineering.com/playbook/
1•stevalsoto•55m ago•0 comments