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.

Show HN: Whirligig

https://whirligig.live
1•idiocache•4m ago•0 comments

Show HN: Onepilot – Multi-agent orchestration from iPhone over native SSH

https://onepilotapp.com
1•elmlabs•4m ago•0 comments

Docker and the Linux Kernel Isolate Your Agent, and Where They Don't

https://timbreai.substack.com/p/how-docker-and-the-linux-kernel-isolate
1•bakibab•4m ago•0 comments

College instructor turns to typewriters to curb AI-written work

https://apnews.com/article/typewriter-ai-cheating-chatgpt-cornell-ce10e1ca0f10c96f79b7d988bb56448b
1•ohjeez•5m ago•0 comments

AI modeling techniques for vision-based occupancy determination

https://patents.google.com/patent/US20240185445A1/en
1•libpcap•5m ago•0 comments

The Seed Beneath the Snow

https://eli.li/the-seed-beneath-the-snow
1•birdculture•8m ago•0 comments

Cognition Announces SWE 1.6

https://cognition.ai/blog/swe-1-6
1•mschrage•10m ago•0 comments

Edwin Heathcote: Why the Max Bill Automatic Is the Ultimate Watch

https://www.ft.com/content/37cc95c7-794a-4d44-aef4-beebc534100f
1•aanet•10m ago•1 comments

Demis Hassabis: Renaissance man. He knows that image is everything

https://unherd.com/2026/04/demis-hassabis-renaissance-man/
1•mellosouls•11m ago•0 comments

Skilled older workers turn to AI training to stay afloat

https://www.theguardian.com/technology/ng-interactive/2026/apr/07/ai-training-work-jobs
3•billybuckwheat•12m ago•0 comments

is-antibot: Detect bot protection challenges from +25 providers

https://antibot.microlink.io/
2•Kikobeats•14m ago•0 comments

If-pal: play Zork (and other games) with an AI gen alpha companion

https://github.com/techbelly/if-pal
1•techbelly•14m ago•0 comments

OPFS: Origin Private File System

https://web.dev/articles/origin-private-file-system
1•nvahalik•16m ago•0 comments

Six People. 236 Episodes. 1 Coffee Shop. – Friends visualised

https://sheets.works/data-viz/friends
2•lode•18m ago•1 comments

A graph of Trump's contradictions that builds itself using a local LLM

https://biglystable.com
3•shmeeny•18m ago•0 comments

Dextr – Deterministic 100k Process Scheduler (Rust, No_std)

https://dextr-org.github.io/DEXTR-SITE/
1•WMASTERW•22m ago•1 comments

Anthropic Claude Mythos: The More Capable AI Becomes, the More Security It Needs

https://www.crowdstrike.com/en-us/blog/crowdstrike-founding-member-anthropic-mythos-frontier-mode...
1•wslh•24m ago•0 comments

Impeaching Donald J. Trump, President of the United States [pdf]

https://www.congress.gov/119/bills/hres1155/BILLS-119hres1155ih.pdf
15•embedding-shape•25m ago•2 comments

Apple approves drivers that let AMD and Nvidia eGPUs run on Mac

https://www.tomshardware.com/pc-components/gpu-drivers/apple-approves-drivers-that-let-amd-and-nv...
2•Anon84•26m ago•0 comments

FDIC Lays Out Guidelines for Institutions Issuing Stablecoins

https://www.bloomberg.com/news/articles/2026-04-07/fdic-lays-out-guidelines-for-institutions-issu...
1•toomuchtodo•27m ago•1 comments

Apple Is Reportedly Facing a 'Massive Dilemma' with the MacBook Neo

https://www.macrumors.com/2026/04/07/macbook-neo-massive-dilemma/
5•thm•27m ago•1 comments

It's possible US use EMP in Iran

2•pajuhaan•28m ago•1 comments

Boost.Container: comparing different deque implementations

https://boostedcpp.net/2026/03/30/deque/
1•joaquintides•32m ago•0 comments

Linux kernel maintainers are following through on removing Intel 486 support

https://arstechnica.com/gadgets/2026/04/linux-kernel-maintainers-are-following-through-on-removin...
2•cpeterso•33m ago•0 comments

Anthropic Lets Apple, Amazon Test More Powerful Mythos AI Model

https://www.bloomberg.com/news/articles/2026-04-07/anthropic-lets-apple-amazon-test-more-powerful...
3•marc__1•34m ago•0 comments

SEC Awards Whistleblower over $50M for Enforcement Tip

https://www.bloomberg.com/news/articles/2026-04-07/sec-awards-whistleblower-over-50-million-for-e...
2•toomuchtodo•35m ago•1 comments

Cybersecurity in the Age of Instant Software

https://www.schneier.com/blog/archives/2026/04/cybersecurity-in-the-age-of-instant-software.html
2•speckx•35m ago•0 comments

Shots fired – – over proposal to build datacenter in Indianapolis

https://www.theregister.com/2026/04/07/indianapolis_datacenter_shots_fired/
1•mattydread•35m ago•0 comments

Callgraph.io – Visualize the code flow of complex databases and system softwares

https://callgraph.io/
1•elwray•36m ago•1 comments

Show HN: Turn your GitHub activity into a weekly dev blog on GitHub Pages

https://github.com/deariary/github-weekly-reporter
2•unhappychoice•39m ago•0 comments