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.

Parasoft Alternative to API Service Virtualization

https://medium.com/google-cloud/open-source-alternatives-to-parasoft-for-api-service-virtualizati...
1•marxjenes•3m ago•0 comments

Price rises for some 16GB Raspberry Pi products

https://www.raspberrypi.com/news/price-rises-for-some-16gb-raspberry-pi-products/
1•kotaKat•6m ago•0 comments

Anthropic Verification Records Outnumber OpenAI's Nearly 2 to 1 in European DNS

https://ciphercue.com/blog/anthropic-openai-dns-verification-records-europe
1•adulion•7m ago•0 comments

Our American Matrix, Our American Skynet

https://snyder.substack.com/p/our-american-matrix-our-american
1•xyzal•10m ago•0 comments

Consciousness is < 100 bits per second

https://www.researchgate.net/publication/238400531_The_half-second_delay_what_follows#pf2
1•jacquesm•12m ago•0 comments

Finding Fishes: Hand-picked blogs on LLMs

https://findingfishes.vercel.app
1•sert_121•15m ago•1 comments

Revolut moves to self-hosted GLM

https://twitter.com/guilleflorvs/status/2117379073785696395
3•pretext•15m ago•0 comments

Measure the energy and CO2 of local LLMs

https://github.com/fvaleye/tracarbon
1•fvaleye•16m ago•0 comments

Chip Art

https://en.wikipedia.org/wiki/Chip_art
1•SweetSoftPillow•18m ago•0 comments

What Sales Intelligence Platforms Miss, and Why It Matters

https://zoom.us/webinar/register/WN_w5cWc6YYQqSiCXEK5i7Pig#/registration
1•Ankita_Dutta123•20m ago•0 comments

Agentic Curation – What's a beast without an algorithm?

https://www.mindsinmachines.ai/p/on-agentic-curation
2•oblo_mov•20m ago•0 comments

America Can't Afford an AI Recession

https://www.theatlantic.com/technology/2026/11/ai-data-center-spending-economy/689237/
2•FinnLobsien•22m ago•1 comments

Native masonry layouts with CSS grid lanes

https://piccalil.li/blog/native-masonry-layouts-with-css-grid-lanes/
1•francescobonomi•25m ago•0 comments

kaikki.org digital archive and data

https://kaikki.org/
1•marttt•27m ago•0 comments

Pratt parsing is a black box

https://vinipsmaker.github.io/blog/article/pratt-parsing-is-a-black-box/
1•fanf2•27m ago•0 comments

Preparing our next security sprint to harden OpenAI

https://openai.com/index/preparing-our-next-security-sprint-to-harden-openai/
1•snikolaev•29m ago•1 comments

"Sick of AI Slop ", but What Lies Behind It?

https://medium.com/@smoking2man/sick-of-ai-slop-but-what-lies-behind-it-dc416eb66bad
2•Aldus551•30m ago•0 comments

Flipper One – Open Linux Multi-Tool

https://flipper.net/pages/flipper-one
6•avrong•31m ago•1 comments

We are rolling out LEANOX.AI as early access

https://leanox.ai/
2•ebarghil•33m ago•0 comments

A colleague hated my AI-polished emails–so he set a trap

https://www.science.org/content/article/colleague-hated-my-ai-polished-emails-so-he-set-trap
1•Blueblaze97•35m ago•1 comments

How to Parallize Your Tree Operations

https://liljedue.dk/blog/parallel-trees
1•LiljeHDue•37m ago•0 comments

Kandinsky S2V 1.0 – an open family of speech-to-video models

https://kandinskyavatar.github.io
1•konart•38m ago•0 comments

An alternative to sharding a MongoDB replica set that outgrew its memory

https://www.percona.com/blog/an-alternative-to-sharding-a-mongodb-replica-set-that-outgrew-its-me...
1•0xKelsey•39m ago•0 comments

Ask HN: How would you prepare a tablet for an apocalypse

1•ckx•44m ago•3 comments

No Vehicles in the Park

https://novehiclesinthepark.com/
10•n_plus_1_acc•48m ago•0 comments

Evolv – my self-evolving AI workspace that rewrites its own UI live

https://github.com/dxn111/evolv
1•DaniPostma•50m ago•0 comments

The agentic web is here

https://www.technologyreview.com/2026/11/02/1147846/the-agentic-web-is-here/
2•oger•53m ago•1 comments

Modern TypeScript Mithril.js with SSR, Signals and State Proxy

https://github.com/bitstillery/mithril
1•networked•53m ago•2 comments

Openrecall a unified zero knowledge proof memory for SI agents

https://github.com/Twigpine/openrecall
3•kevin11111•54m ago•3 comments

Why on Earth Does a Toothbrush Need a Microchip? [video]

https://www.youtube.com/watch?v=aq0aTRG8YTE
2•KitN•55m ago•0 comments