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•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.

PoC: VPN over WebRTC to Bypass Whitelists

https://github.com/kulikov0/whitelist-bypass
1•kulikov0•1m ago•1 comments

Poor Sleep Tied to Alzheimer's Risk in Older Women

https://today.ucsd.edu/story/poor-sleep-tied-to-alzheimers-risk-in-older-women
1•gmays•2m ago•0 comments

What Is Happening to Publishing?

https://resobscura.substack.com/p/what-is-happening-to-publishing
1•benbreen•2m ago•0 comments

Small PR Rule Won't Survive AI

https://blog.quent.in/blog/2026/05/19/your-small-pr-rule-wont-survive-ai/
2•sylvainkalache•6m ago•0 comments

Zero: The Programming Language for Agents

https://github.com/vercel-labs/zero
1•afshinmeh•6m ago•0 comments

RISC-V and Floating-Point

https://fprox.substack.com/p/risc-v-and-floating-point
1•naves•8m ago•0 comments

Shhh, Don't Put Secrets in the Repo

https://andreasflakstad.no/posts/kimen/
2•andreasflakstad•8m ago•0 comments

CPU OP Cache Corruption

https://www.amd.com/en/resources/product-security/bulletin/amd-sb-7052.html
1•losfair•9m ago•0 comments

Ask HN: Is grpcurl home page compromised?

2•jicea•12m ago•0 comments

Plex's 200% Lifetime Pass price hike tries forcing users to another subscription

https://arstechnica.com/gadgets/2026/05/plexs-200-lifetime-pass-price-hike-tries-forcing-users-to...
3•ndr42•13m ago•1 comments

Show HN: Bevel – Guess the book from its opening passage

https://bevel.ink
2•knotalegend•13m ago•0 comments

Show HN: AgentKit SEO - a career context file that installs as agent skills

https://github.com/agentkit-seo/agentkit-seo
1•renatomignone•14m ago•1 comments

Show HN: YouTube MCP, give any AI agent access to YouTube

https://github.com/umbertotancorre/youtube-mcp
3•umbertotancorre•16m ago•0 comments

Biometric Surveillance in New York City

https://www.stopspying.org/biometric-map
2•raybb•17m ago•0 comments

Built DealSensematch in 2 months. No team. No funding. Just me

https://dealsensematch.com
2•Louiemarlow•17m ago•1 comments

Building the First AI-Native Hotel Booking Platform

https://hotels.cooveb.com/
1•sshinde•17m ago•0 comments

I am not a Software Engineer

https://huronbikes.mataroa.blog/blog/i-am-not-a-software-engineer/
2•l0b0•21m ago•0 comments

Understanding the Garbage Collector

https://ocaml.org/docs/garbage-collector
1•jkxyz•21m ago•0 comments

"Antarctica" – Fiction; the Yale Review

https://yalereview.org/article/jen-silverman-antarctica
2•everybodyknows•22m ago•0 comments

Show HN: DDS Vibe Academy – 31 free AI coding masterclasses, built by AI agents

1•robert_ddsbos•23m ago•0 comments

US transportation bill would add a $130 annual fee for EV drivers

https://arstechnica.com/cars/2026/05/bipartisan-bill-in-congress-includes-130-annual-ev-registrat...
8•logickkk1•25m ago•1 comments

Use Grok in OpenClaw

https://x.ai/news/grok-openclaw
2•surprisetalk•26m ago•1 comments

"How We Think" by John Dewey [pdf]

https://bef632.wordpress.com/wp-content/uploads/2015/09/dewey-how-we-think.pdf
2•baxtr•27m ago•0 comments

Tiny Basic feels like a dead albatross around my neck (1975)

https://archive.org/details/dr_dobbs_journal_vol_01
1•robin_reala•27m ago•0 comments

Most AI agent papers stack one LLM with a vector store, we flipped it

https://sbarron.com/writing/substrate-is-the-body
2•iampneuma•29m ago•1 comments

Solving the "Zork" Mystery

https://www.dpolakovic.space/blogs/zork-part2
1•dpola•29m ago•1 comments

LibrePCB 2.1 with cross-probing, net highlighting, UI themes and more

https://librepcb.org/blog/2026-05-19_release_2.1.0/
1•rnestler•30m ago•0 comments

Show HN: ECD++ 2026.3.10 Is Released

https://github.com/nbauma109/ecd/releases/tag/2026.3.10
1•nbauma109•31m ago•0 comments

Show HN: 5 Minute Frenzy – free multiplication practice game for kids

https://5minutefrenzy.com
2•carvil•31m ago•2 comments

'Obvious markers of AI': doubts raised over winner of short story prize

https://www.theguardian.com/books/2026/may/19/commonwealth-short-story-prize-winner-doubts-ai-art...
5•n1b0m•32m ago•1 comments