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.

Pinecone Nexus: The Knowledge Engine for Agents

https://www.pinecone.io/blog/knowledge-infrastructure-for-agents/
1•berlianta•58s ago•0 comments

Designing Microkernel IPC

https://seiya.me/blog/microkernel-ipc-design
1•ingve•2m ago•0 comments

Evolving the Android and Chrome Vulnerability Reward Programs for the AI Era

https://bughunters.google.com/blog/evolving-the-android-chrome-vrps-for-the-ai-era
2•tjek•4m ago•0 comments

Clawback: Safer OpenClaw Upgrade Rehearsals

https://github.com/haishmg/Clawback
1•princeharry86•4m ago•0 comments

YouTube Transcript API

https://youtubetranscript.us/
1•nikitarogers•10m ago•0 comments

Electrophysiology

https://en.wikipedia.org/wiki/Electrophysiology
1•teleforce•10m ago•0 comments

Strawberry Browser

https://strawberrybrowser.com/
1•simonebrunozzi•11m ago•0 comments

Ask HN: How long will the Hormuz straight be closed?

1•roschdal•17m ago•0 comments

Clicks Communicator: mobile communicator designed for doing, not doomscrolling

https://clicksphone.com/communicator
2•giuliomagnifico•17m ago•0 comments

Show HN: See how much you spend per AI agent

https://wakatime.com/ai
1•welder•22m ago•0 comments

Feds Fine Durham Energy Efficiency Co $722M

https://www.theassemblync.com/news/business/american-efficient-ferc-durham-fine/
1•ChuckMcM•27m ago•1 comments

Kenneth Lane Thompson, 1983 ACM Turing Award Recipient [video]

https://www.youtube.com/watch?v=309siTvApbY
1•KnuthIsGod•29m ago•0 comments

Geoguesser but for guns. (like seriously all the polish of geoguesser)

https://gunguesser.com
1•salad_vr•31m ago•0 comments

Israeli court extends detention as evidence of torture they suffered emerges

https://globalsumudflotilla.org/press/israeli-occupation-court-extends-detention-of-saif-abukeshe...
4•0x54MUR41•32m ago•0 comments

Keysight UXR 110GHz BW, 256GS/S, 10-Bit Real-Time Oscilloscope Teardown [video]

https://www.youtube.com/watch?v=DXYje2B04xE
1•num42•33m ago•0 comments

Emergency Radio in Switzerland

https://www.rega.ch/en/our-missions/sites-and-infrastructure/emergency-radio
2•slow_typist•38m ago•0 comments

The AI Revolution Hollywood Feared Is Happening – In India

https://www.hollywoodreporter.com/business/digital/india-ai-filmmaking-1236548136/
1•varun_chopra•39m ago•0 comments

Stop Treating Agent Sandboxes as Cattle

https://opencomputer.dev/blog/stop-treating-sandboxes-as-cattle/
1•iacguy•48m ago•0 comments

Interview with Josh Fisher – Inventing VLIW, Multiflow, Itanium, VLIW's Success [video]

https://www.youtube.com/watch?v=ZF8ohzWmuzI
2•tambourine_man•53m ago•0 comments

Personal Loan Eligibility Calculator Online – SMFG India Credit

https://www.smfgindiacredit.com/personal-loan-eligibility-calculator.aspx
1•saumyaraut11•59m ago•0 comments

Copy.fail: a small Linux kernel bug with an unusually big blast radius

https://jorijn.com/en/blog/copy-fail-cve-2026-31431-linux-kernel-bug-explained/
1•jorijn•1h ago•1 comments

Stitch Together Lots of Little HTML Pages with Navigations for Interactions

https://blog.jim-nielsen.com/2026/small-html-pages/
4•OuterVale•1h ago•0 comments

Show HN: Kula – a family health platform that makes sense of your data

2•samuraikmc•1h ago•0 comments

Apple discontinues $599 base Mac mini. Entry-level model starts at $799 with 512

https://macdailynews.com/2026/05/01/apple-discontinues-599-base-mac-mini-entry-level-model-now-st...
1•apparent•1h ago•4 comments

Pake: Webpage to desktop app in one command using rust

https://github.com/tw93/Pake
1•AbuAssar•1h ago•0 comments

Learning Randomized Reductions

https://arxiv.org/abs/2412.18134
1•matt_d•1h ago•0 comments

The Vision of Harmandeep Singh Kandhari in Premium Housing

https://harmandeep-singh-kadhari.wuaze.com/
1•KirtiKKapoor•1h ago•0 comments

9social: A Social Network for Plan9

https://www.youtube.com/watch?v=q6qVnlCjcAI
2•dharmatech•1h ago•0 comments

High Performance Motor Control from the Ground Up – Field Oriented Control (FOC) [video]

https://www.youtube.com/watch?v=ujofKWmGChw
3•num42•1h ago•0 comments

Use Cheaper Models with Claude

https://gist.github.com/gitcloned/1929590e2fa0d0267919c6826808da2c
1•ashish0112•1h ago•5 comments