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

Comments

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

Frugal AI for Education

https://www.col.org/frugal/
2•the-mitr•3m ago•0 comments

FIXAPL

https://fixapl.netlify.app/
1•tosh•3m ago•0 comments

Put Down Your Phone and Embrace Bookish Snobbery

https://thatvastvariety.substack.com/p/my-notes-on-amusing-ourselves-to
1•barry-cotter•8m ago•0 comments

Native Raspberry Pi Version of the Oberon System 3

https://github.com/rochus-keller/OberonSystem3Native/releases/tag/2026-04-10
1•xkriva11•12m ago•0 comments

Snorb.lol

https://snorb.lol
1•numtel•12m ago•1 comments

A brief history of C/C++ programming languages

https://lemire.me/blog/2026/04/09/a-brief-history-of-c-c-programming-languages/
1•signa11•15m ago•0 comments

Code Mode: Let Your AI Write Programs, Not Just Call Tools

https://tanstack.com/blog/tanstack-ai-code-mode
2•nilsbunger•19m ago•0 comments

Science Communication and the Hype Machine

https://cognitivewonderland.substack.com/p/science-communication-and-the-hype
1•paulpauper•22m ago•0 comments

CDC director delays report showing Covid vaccine benefits

https://www.theguardian.com/us-news/2026/apr/10/cdc-chief-covid-vaccine
2•iamflimflam1•25m ago•0 comments

Silicon Valley is quietly running on Chinese open source models

https://old.reddit.com/r/Futurology/comments/1siea6z/silicon_valley_is_quietly_running_on_chinese...
1•nreece•26m ago•0 comments

April 12th is Yuri's Night

https://yurisnight.net/
2•anonymousiam•36m ago•0 comments

Show HN: I visualized how AI agent systems accidentally become org charts

https://jointherevolution.today/emergence
2•bhaviav100•39m ago•0 comments

I run multiple $10K MRR companies on a $20/month tech stack

https://stevehanov.ca/blog/how-i-run-multiple-10k-mrr-companies-on-a-20month-tech-stack
4•tradertef•40m ago•1 comments

Behind the Scenes of the Demise of Muxtape (2008)

https://www.wired.com/2008/09/behind-the-scenes-of-the-demise-of-muxtape/
1•greyface-•41m ago•0 comments

Intel Arc Pro B70 Brings 32GB VRAM to Local AI for $949

https://awesomeagents.ai/news/intel-arc-pro-b70-32gb-local-inference/
1•walterbell•44m ago•0 comments

Combatting illegal trade of wildlife with ML and radiation technologies

https://www.mdpi.com/2076-2615/16/5/731
1•DrZootron•48m ago•0 comments

Graft – Go AI Agent Framework with Temporal/Hatchet/Trigger.dev Support

https://github.com/delavalom/graft
2•delavalom•52m ago•0 comments

India's TCS tops estimates, says new AI models did not dent services demand

https://www.reuters.com/world/india/indias-tcs-beats-fourth-quarter-revenue-view-2026-04-09/
1•dartharva•53m ago•0 comments

Anthropic silently downgraded cache TTL from 1h → 5M on March 6th

https://github.com/anthropics/claude-code/issues/46829
5•lsdmtme•54m ago•0 comments

Ex-OpenAI's Bob McGrew: 2025 Is the Year of Reasoning

https://sequoiacap.com/podcast/training-data-bob-mcgrew/
1•walterbell•57m ago•0 comments

Show HN: Run ads with code, earn 17% more than AdSense

https://adkit.dev
1•lucascampbell04•58m ago•0 comments

Show HN: Chiral – Pentesting inside Chrome webtools

https://chromewebstore.google.com/detail/chiral/fchbnbjkgilildfobdcffclbnjbgcfie
1•Parkado•59m ago•0 comments

U.S. Intelligence Shows China Taking a More Active Role in Iran War

https://www.nytimes.com/2026/04/11/us/politics/china-iran-war-missiles-supplies.html
3•Teever•1h ago•0 comments

Verifying Rust Programs

https://github.com/AeneasVerif/aeneas
1•wazHFsRy•1h ago•0 comments

Claudectl – kubectl for Claude Code instances

https://github.com/mercurialsolo/claudectl
2•mercurialsolo•1h ago•0 comments

Show HN: MCP is for tools. A2A is for agents. What's for websites?

https://www.rtrvr.ai/blog/agent-web-protocol-stack
4•quarkcarbon279•1h ago•0 comments

Ask HN: Anyone using Nostr as a lightweight back end/DB for rapid prototyping?

2•wasimsk•1h ago•0 comments

Ecolibrium – Blueprint for peaceful post-scarcity transition

https://github.com/simonlpaige/ecolibrium
2•larrytheworm•1h ago•0 comments

Gen Z's fading AI hype

https://www.axios.com/2026/04/09/ai-gen-z-polling-gallup
1•1vuio0pswjnm7•1h ago•0 comments

Lightweight self-hosted internet radio management

https://github.com/tchovi/AirBoneRadio
2•Indigenism•1h ago•1 comments