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.

Let the Machines In

https://blog.semenzin.com/let-the-machines-in/
2•lluvt•19s ago•0 comments

I gave local AI eyes

https://github.com/zyads/eyes
1•aether-zyads•1m ago•0 comments

Shed Blog

https://www.shedblog.co.uk/
1•thinkingemote•4m ago•0 comments

Adding Go's Defer to the TypeScript Compiler

https://healeycodes.com/adding-defer-to-the-typescript-compiler
1•healeycodes•4m ago•0 comments

Malaysia is reportedly shutting down Balaji Srinivasan's Network School

https://techcrunch.com/2026/08/02/malaysia-is-reportedly-shutting-down-balaji-srinivasans-network...
1•aanet•5m ago•0 comments

Show HN: MicroCodex Coding Agent – OpenAI/codex reimplemented in C++ <1MB binary

https://github.com/paoloanzn/microcodex
1•paoloanzn•6m ago•0 comments

Doxy – a browser Markdown and HTML editor (like Overleaf but no LaTeX)

https://trydoxy.com
1•iliesw•6m ago•0 comments

Why Curiosity May Be the Most Underrated Career Skill

https://www.forbes.com/sites/rodgerdeanduncan/2025/12/11/why-curiosity-may-be-the-most-underrated...
2•speckx•10m ago•0 comments

Bill Watterson: A Cartoonist's Advice

https://www.zenpencils.com/comic/128-bill-watterson-a-cartoonists-advice/
1•mixmastamyk•11m ago•0 comments

Engineering behind the xPal private messaging app cross-device message deletion

https://xpalapp.substack.com/p/the-engineering-behind-the-xpal-private
1•Brandon-Coll•13m ago•0 comments

TinyNES Review – A Super Niche NES Console

https://blog.lon.tv/2023/02/05/tinynes-review-a-super-niche-nes-console/
1•throwoutway•15m ago•0 comments

I built a non-physical GPU that does 194,396 yottaflops on one CPU core

https://github.com/pluscoder30-cpu/Omega_Field_GPU_Ultimate
1•soul-vector•16m ago•0 comments

I Built a Million-Dollar Machine for $200 [video]

https://www.youtube.com/watch?v=YP-hdsrOYo8
1•binyu•18m ago•0 comments

Mission High leads California in UC Berkeley admissions. But many don't graduate

https://sfstandard.com/2026/07/30/mission-high-uc-berkeley-admissions-dropout/
1•donsupreme•19m ago•0 comments

Energizing a vacuum-tube flip-flop module from a 1948 IBM system

https://www.righto.com/2026/07/ibm-604-trigger-tube-module.html
1•geerlingguy•20m ago•0 comments

I abused PostHog's wizard to get free Claude tokens

https://techstackups.com/articles/i-abused-posthogs-setup-wizard-to-get-free-claude-access/
1•ritzaco•24m ago•0 comments

A teen was killed at a Seattle protest. New video evidence shows what happened

https://www.npr.org/2026/07/31/g-s1-133360/chop-digital
2•duxup•25m ago•1 comments

Show HN: My public second brain – 660 notes, 15 years, open source

https://www.ssp.sh/brain/
2•zazuke•35m ago•4 comments

My personal AI benchmark: "Generate an SVG of a frog with a Habsburg jaw."

https://frogs.vaguespac.es/
3•thebigship•35m ago•0 comments

EU rules on AI models become enforceable. What's going to change?

https://www.euronews.com/my-europe/2026/08/02/eu-rules-on-ai-models-become-enforceable-whats-goin...
18•devonnull•37m ago•5 comments

Saying 'Google It' Makes You Sound Old

https://www.nytimes.com/2026/07/23/magazine/google-it-search-it-up.html
5•bookofjoe•44m ago•6 comments

Design for Stress

https://idiallo.com/blog/design-for-stress
2•firefoxd•46m ago•0 comments

NBC News – Breaking Headlines and Video Reports on World

https://www.nbcnews.com
2•marthatcartwrig•48m ago•1 comments

Baltram/seednaut: Inspect, verify and extract files from Seedvault backups

https://github.com/Baltram/seednaut
2•theandrewbailey•50m ago•0 comments

You Can't Audit Entropy After the Fact

https://808bits.com/articles/coldcard-entropy-failure-lessons/
2•meehow•51m ago•0 comments

Apple struggles to keep pace with AI 'bug' hunters

https://www.ft.com/content/4532122d-90f2-4433-9df6-ca99d8a141d2
3•JumpCrisscross•52m ago•0 comments

German carmakers flood jobs market with managers after wielding axe

https://www.ft.com/content/e345d51f-11f7-4d4d-8f09-86dd3a225597
14•JumpCrisscross•53m ago•2 comments

A Tome of Forbidden Technologies and Retrovation

https://ecosophia.net/a-tome-of-forbidden-technologies/
2•kesor•54m ago•0 comments

Europe EV Sales BEVs Jump 50% & Reach 26% Market Share

https://cleantechnica.com/2026/08/02/europe-ev-sales-report-bevs-jump-50-reach-26-market-share/
8•01-_-•56m ago•1 comments

Agentic Mermaid

https://agentic-mermaid.dev/
1•saikatsg•56m ago•0 comments