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.

Agentic coding is burning me out

https://www.0xsid.com/blog/agentic-coding-fatigue
1•ssiddharth•2m ago•0 comments

Show HN: TapFi – Point your camera at handwritten WiFi credentials to connect

https://tapfi.uno/
1•jmkni•2m ago•0 comments

LLMs Corrupt Your Documents When You Delegate

https://arxiv.org/abs/2604.15597
2•uxhacker•4m ago•0 comments

Show HN: Added a free link in bio feature to linkr.sh

1•rafayexalter•5m ago•0 comments

Show HN: Modeleon – Python DSL that compiles to live Excel formulas

https://github.com/modeleonai/modeleon
2•adilkhanovkz•7m ago•0 comments

Show HN: I built an AI that operates WordPress for you

https://matticpilot.fcoterroba.com/
1•fcoterroba•7m ago•0 comments

Little Magazines Are Back

https://wsjfreeexpression.substack.com/p/little-magazines-are-back
1•prismatic•8m ago•0 comments

Arcjet Guards: security inside the agent loop

https://blog.arcjet.com/introducing-arcjet-guards-security-inside-the-agent-loop/
1•smurda•9m ago•0 comments

Supreme Court Limits Voting Rights Act

https://www.politico.com/news/2026/04/29/supreme-court-voting-rights-act-louisiana-00898123
2•dgellow•9m ago•0 comments

Kenough with Local Agents

https://conduct.ai/blog/kenough-with-local-agents
1•micouay•9m ago•0 comments

The Sites We Lost

https://theuselessweb.com/sites-we-lost/
2•speckx•9m ago•0 comments

Crypto inheritance: a simple guide to seed phrases and estate planning

https://blog.alcazarsec.com/posts/crypto-inheritance-guide
1•alcazar•9m ago•0 comments

A Markdown File Became Our Company's On-Call Runbook

https://mergify.com/blog/markdown-file-oncall-cheat-code/
1•JulianMaurin1•9m ago•0 comments

Global Telecom Exploitation by Covert Surveillance Actors

https://citizenlab.ca/research/uncovering-global-telecom-exploitation-by-covert-surveillance-actors/
2•abdelhousni•10m ago•1 comments

The IBM Granite 4.1 family of models

https://research.ibm.com/blog/granite-4-1-ai-foundation-models
2•wglb•10m ago•0 comments

Country of Kaleidoscopes in a Datacenter

https://unessays.substack.com/p/country-of-kaleidoscopes-in-a-datacenter
1•oudlys•11m ago•0 comments

Show HN: You can now run Gemini CLI in the browser

https://browsercode.io
2•apignotti•12m ago•0 comments

Show HN: Notesync.md, macOS/iOS Keep notes in Markdown for agentic workflows

https://github.com/klinquist/Notesync
1•klinquist•12m ago•0 comments

Craig Newmark on Institutional Maintenance, Giving Away Control, the Internet

https://conversationswithtyler.com/episodes/craig-newmark/
1•mhb•13m ago•0 comments

JudgeKit: Generate LLM-as-Judge prompts grounded in published research

https://judgekit.lyuata.com
2•lyuata•14m ago•0 comments

The Pond of Golden Light – A Fable about AI

https://www.immaculateconstellation.info/the-pond-of-golden-light/
1•manjuc•14m ago•0 comments

GPT-5.5 authorship and order effects

https://blog.valmont.dev/posts/gpt-5-5-authorship-and-order-effects/
2•cool-pear•14m ago•0 comments

DARS: Dynamic Artificial Room Structures – minimal operator-based artifact (DOI)

https://zenodo.org/records/19919624
1•rogmash•16m ago•0 comments

Python translated to English, Spanish, French – 100% AST verified, 99K free

https://huggingface.co/datasets/Cuarzo-AI/cuarzo-100k
1•cuarzoai•16m ago•0 comments

Cheese3D enables sensitive detection and analysis of whole-face movement in mice

https://www.nature.com/articles/s41593-026-02262-8
1•bookofjoe•16m ago•0 comments

Zero-Day fingerprinting attack targeting Adobe Reader

https://justhaifei1.blogspot.com/2026/04/expmon-detected-sophisticated-zero-day-adobe-reader.html
1•redbell•17m ago•0 comments

How an Oil Refinery Works

https://www.construction-physics.com/p/how-an-oil-refinery-works
6•chmaynard•17m ago•0 comments

The cost of Google's AI defaults and the illusion of choice

https://arstechnica.com/ai/2026/04/googles-privacy-maze-how-gemini-traps-you-and-your-data/
1•stalfosknight•19m ago•0 comments

'The job description is changing': mathematician Terence Tao on the rise of AI

https://www.nature.com/articles/d41586-026-01246-9
1•ironyman•20m ago•0 comments

The Last Nation to Play

https://longreads.com/2026/04/21/marshall-islands-soccer-team/
2•gmays•21m ago•0 comments