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.

SOCKMAP - TCP splicing of the future

https://blog.cloudflare.com/sockmap-tcp-splicing-of-the-future/
1•zdw•13m ago•0 comments

Early life adversity leaves a lasting molecular imprint across the body

https://medicalxpress.com/news/2026-06-early-life-adversity-molecular-imprint.html
3•gmays•20m ago•0 comments

Show HN: Agent-historian – let your AI agent search its own past sessions

https://github.com/adlternative/agent-historian
1•adltereturn•23m ago•0 comments

Static universe with VSL. Redshift without expansion (open access)

https://pixeltheory.co.uk
1•jimfoweraker•24m ago•0 comments

Moving Machine Learning into the Analog Domain

https://sangota.substack.com/p/one-good-analog-transistor-is-worth
2•random__duck•30m ago•0 comments

I Moved from Arch to Boring Debian Testing

https://www.whileforloop.com/blog/2026/06/20/why-i-moved-from-arch-to-debian-testing/
2•wook__•31m ago•0 comments

Corpulence Index

https://en.wikipedia.org/wiki/Corpulence_index
1•aragonite•32m ago•0 comments

The largest open database of local laws in the US

https://arxiv.org/abs/2606.19334
1•rao-v•33m ago•1 comments

Some of Android's Most Interesting Games Aren't Just on the Play Store

https://gardinerbryant.com/some-of-androids-most-interesting-games/
1•thunderbong•33m ago•0 comments

I Hate Personal CRMs. I Might Need One

https://shikharsachdev.substack.com/p/i-hate-personal-crms-i-might-need
1•shsachdev•35m ago•0 comments

X402 stock APIs for agents, pay per API call

https://x402stock.xyz/
1•parth_nandaniya•41m ago•0 comments

Bevy 0.19

https://bevy.org/news/bevy-0-19/
3•embedding-shape•48m ago•0 comments

Realtime Raytracing in Bevy 0.19 (Solari)

https://jms55.github.io/posts/2026-04-12-solari-bevy-0-19/
2•embedding-shape•48m ago•0 comments

Third Places (NYC)

https://thirdplaces.nyc
2•xhrpost•49m ago•1 comments

Plotting AI model release cadence: two labs are accelerating, three aren't

https://swiftalerts.trade/the-cadence-trade-hn
1•abipal15•1h ago•0 comments

With Every Breath You Take, Thank the Ocean

https://ocean.si.edu/ocean-life/plankton/every-breath-you-take-thank-ocean
4•thunderbong•1h ago•0 comments

The snake-wrangling 84-year-old who lives on a remote barrier island

https://www.bbc.com/travel/article/20260612-the-snake-rearing-84-year-old-who-lives-on-a-remote-b...
1•1659447091•1h ago•0 comments

Show HN: Lean bulk, cut, body recomp. Calculate maintenance calories

https://macrocodex.app/
15•faangguyindia•1h ago•3 comments

The only cauldron ever found in a river in the British Isles

https://www.bbc.co.uk/news/articles/clyrn5e2k9no
2•nickt•1h ago•1 comments

Launch: MyIntelBrief – Smarter Competitor Monitoring

https://myintelbrief.com/
2•myintelbrief•1h ago•0 comments

Show HN: Cc-fleet – run other LLMs as Claude Code workers, your sub drives

https://github.com/ethanhq/cc-fleet
2•ethanhq•1h ago•1 comments

Show HN: Adbqr – ADB pair via QR code from the CLI

https://github.com/kristjan/adbqr
1•kristjan•1h ago•0 comments

Developers don't understand CORS (2019)

https://fosterelli.co/developers-dont-understand-cors
22•toilet•1h ago•6 comments

Australia confirms first case of H5N1 bird flu as virus reaches every continent

https://www.bbc.com/news/articles/c4gykxklvl5o
1•1659447091•1h ago•0 comments

White House delays US voting-machine vulnerability report

https://www.reuters.com/world/white-house-delays-release-us-voting-machine-study-midterms-near-20...
55•logickkk1•1h ago•36 comments

Hop.Earth – Google Maps and Need For Speed. World around created while driving

https://hop.earth/?server=RDgva&route=XxOaosUo
3•touchpadder•1h ago•1 comments

Data integrity in rqlite: what it checks and what it doesn't

https://rqlite.io/docs/guides/data-integrity/
1•otoolep•1h ago•0 comments

Ratchet – BIOS flashing toolkit with a built-in MCP server for AI agents

https://github.com/jackulau/ratchet
2•JackLau•1h ago•0 comments

Apple-FM – a command-line interface for Apple's on-device models

https://www.npmjs.com/package/apple-fm
3•brianwestphal•1h ago•2 comments

XRPentest: AI-powered security audit tool for VR/XR headsets

https://xrpentest.com
1•h_a_c_k•2h ago•0 comments