frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•10mo ago

Comments

llm-exe•10mo 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•10mo 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.

Ask HN: How do you keep up with replies to your posts/comments?

2•alcazar•1m ago•0 comments

AgentBPF: eBPF-based observability for LLM agent trajectories

https://github.com/pandyamarut/AgentBPF
2•mwiki•2m ago•0 comments

Google says it will let UK publishers opt out of AI overviews

https://www.theregister.com/2026/03/19/google_opts_for_optout_on/
1•bundie•2m ago•0 comments

Ask HN: Is Google disabling accounts for using gws CLI with OpenClaw?

1•anandvc•3m ago•0 comments

Show HN: JobsByCulture – Find jobs where you'll enjoy working

https://jobsbyculture.com
1•saipradeep77•5m ago•0 comments

Show HN: Pocodex – Remote Control for Codex

https://github.com/davej/pocodex
1•davej•8m ago•0 comments

Cuba Is Going Dark

https://www.nytimes.com/interactive/2026/03/19/world/americas/cuba-blackout-electricity.html
2•saikatsg•8m ago•0 comments

Five more seated Gauls found in Dijon

https://www.thehistoryblog.com/archives/75639
1•speckx•8m ago•0 comments

Twin prime ramadan: crypto is borked

https://conferenceofthebirds.tiiny.site/
1•shaunxcode•10m ago•0 comments

Show HN: New hard science fiction novel

1•dufbugderopa•10m ago•1 comments

Not so diplomatic: Witkoff, Kushner, and Trump's march to war in Iran

https://responsiblestatecraft.org/witkoff-iran-war/
1•jamesgill•11m ago•1 comments

The ideological orientation of academic social science research 1960–2024

https://link.springer.com/article/10.1007/s11186-026-09690-2
1•bko•11m ago•1 comments

Video Effect Vibe – AI Motion Graphics in Seconds

https://videoeffectvibe.com
1•bruuuuuuuuh•12m ago•0 comments

Connecticut and the 1 Kilometer Effect

https://alearningaday.blog/2026/03/19/connecticut-and-the-1-kilometer-effect/
2•speckx•13m ago•0 comments

Restarting Fieldwide Shutdown for Middle East Oil and Gas Producers Is Not Easy

https://cyrusashayeri.substack.com/p/restarting-fieldwide-shutdown-for
2•toomuchtodo•13m ago•0 comments

Chrome endorsed READR organically in 16 days The algorithm made its verdict

https://wushu75.github.io/readr/
1•Ogbon•13m ago•0 comments

Ask HN: What do you think about Claude going down every day now?

1•scratchyone•15m ago•3 comments

Google details new 24-hour process to sideload unverified Android apps

https://arstechnica.com/gadgets/2026/03/google-details-new-24-hour-process-to-sideload-unverified...
2•MBCook•15m ago•0 comments

Why lab coats are white

https://www.asimov.press/p/lab-coat
1•bookofjoe•16m ago•0 comments

The fiery, deadly crashes involving the Tesla Cybertruck

https://www.theguardian.com/technology/2026/mar/18/tesla-cybertruck-crashes-battery-fires
4•fmihaila•16m ago•0 comments

A private space company has a new plan to bag an asteroid

https://arstechnica.com/space/2026/03/a-private-space-company-has-a-radical-new-plan-to-bag-an-as...
2•cryptoz•18m ago•0 comments

Claude Drexler

https://claudedrexler.com/
1•mattdionis•19m ago•0 comments

San Francisco's DNA is mischief

https://www.fieldnotes.nautilus.quest/p/san-franciscos-dna-is-mischief
3•zackoverflow•23m ago•1 comments

How the first electric grid was built

https://worksinprogress.co/issue/how-the-worlds-first-electric-grid-was-built/
2•deunamuno•23m ago•0 comments

Google announces Firebase Studio sunset and project migration

https://firebase.google.com/docs/studio/migrating-project
4•tmoertel•24m ago•0 comments

I Think a New Role Is Emerging in Tech

https://newsletter.thelongcommit.com/p/i-think-a-new-role-is-emerging-in
2•jcmartinezdev•25m ago•0 comments

Budgetbreeze – an AI centric personal finance tool

https://www.budgetbreeze.io/
1•boxstream•25m ago•1 comments

Imagined Unrealities

https://zuhayeer.com/writing/imagined-unrealities.html
1•zuhayeer•25m ago•0 comments

Why $4 gasoline is the tipping point for EVs

https://grist.org/energy/why-4-gasoline-is-the-tipping-point-for-evs/
1•speckx•25m ago•1 comments

Developer Spotlight: Somtochi Onyekwere from Fly.io

https://theconsensus.dev/p/2026/03/19/developer-spotlight-somtochi-onyekwere.html
1•eatonphil•27m ago•0 comments