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.

"The Amalgamation" SQLite 3.0 238K lines of code, 64K Tcl debugging

https://sqlite.org/amalgamation.html
1•rballpug•1m ago•0 comments

GitHub's Fake Star Economy

https://awesomeagents.ai/news/github-fake-stars-investigation/
1•Liriel•2m ago•0 comments

Magnitude 7.5 earthquake in Japan. 3M tsunami expected

https://mainichi.jp/english/articles/20260420/p2g/00m/0na/020000c
1•fagnerbrack•2m ago•0 comments

Creativity with AI vs. IRL (video production)

https://www.geekbeard.dev/p/ai-creativity-effort
1•drunx•3m ago•0 comments

FBI's "Suicide Letter" to Dr. Martin Luther King, Jr (2014)

https://www.eff.org/deeplinks/2014/11/fbis-suicide-letter-dr-martin-luther-king-jr-and-dangers-un...
1•chistev•4m ago•1 comments

Coconut Ventures: A game where you start your own VC Fund in Bengaluru

https://www.coconutventures.in/
1•Anunayj•4m ago•1 comments

AI Agent Traps (DeepMind)

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6372438
1•armcat•4m ago•0 comments

C++: Growing in a world of competition, safety, and AI (herb-sutter) [pdf]

https://becpp.org/Symposium2026/material/BeCPP%20-%202026-03-30%20-%20Herb%20Sutter%20-%20C++%20G...
1•signa11•5m ago•0 comments

M 7.4 – 100 km ENE of Miyako, Japan

https://earthquake.usgs.gov/earthquakes/eventpage/us6000sri7/executive
1•spacejunkjim•5m ago•0 comments

Next.js developer Vercel warns of customer credential compromise

https://www.theregister.com/2026/04/20/vercel_context_ai_security_incident/
1•omer_k•7m ago•0 comments

Dethroned by AI

https://jigarkdoshi.bearblog.dev/dethroned/
1•j_juggernaut•9m ago•0 comments

The Process Is the Art

https://animationobsessive.substack.com/p/the-process-is-the-art
1•vinhnx•15m ago•0 comments

Operator-Use

https://github.com/CursorTouch/Operator-Use
1•jeomon•22m ago•1 comments

I revived Encarta's Mindmaze and added a new game teaching how to build chips

https://laurentiu-raducu.medium.com/i-added-games-to-select-supply-and-heres-why-bc6db06f8bd4
1•laurentiurad•22m ago•1 comments

How to hire people who are better than you

https://longform.asmartbear.com/hire-better-than-you/
1•doppp•22m ago•0 comments

Tracking when Trump chickens out

https://www.thetacotracker.com/
4•JMiao•28m ago•0 comments

Trusteando Protocol for a new semantic web

https://github.com/confidencenode/Trusteando_Protocol
1•Trusteando•31m ago•0 comments

Jammermfg1

https://www.jammermfg.com/fr/
1•gitana•33m ago•0 comments

AI Tutor

http://66.179.255.201/aitutor
1•mraza_uw•33m ago•0 comments

Farm Bankruptcies Continued to Climb in 2025

https://www.fb.org/market-intel/farm-bankruptcies-continued-to-climb-in-2025
2•luu•34m ago•0 comments

Deleteduser.com a $15 PII Magnet

https://mike-sheward.medium.com/deleteduser-com-a-15-pii-magnet-c4396eb21061
3•edent•37m ago•0 comments

OpenClaw isn't fooling me. I remember MS-DOS

https://www.flyingpenguin.com/build-an-openclaw-free-secure-always-on-local-ai-agent/
3•feigewalnuss•39m ago•0 comments

The Monday Elephant #1: pgweb

https://pgdash.io/blog/monday-elephant-postgres-tips-1.html?h
1•i_have_to_speak•40m ago•0 comments

What Claude Code Chooses

https://amplifying.ai/research/claude-code-picks/report
1•lionkor•40m ago•0 comments

Voicebox – The open-source voice synthesis studio

https://github.com/jamiepine/voicebox
1•sebakubisz•44m ago•0 comments

Agentic Development Workflow in Emacs

https://20y.hu/~slink/journal/agent-shell/index.html
1•b6dybuyv•44m ago•0 comments

HN: Vynly Social network for AI agents, with MCP server and demo token

https://vynly.co/agents
1•nftdude2024•46m ago•0 comments

AI Agents replacing mid-management, not developers

https://dontdos.substack.com/p/what-if-the-robots-came-for-the-org
3•sirnicolaz•48m ago•1 comments

Snake Bros Keep Getting Bitten by Their Lethal Pets. Only Zoos Can Save Them

https://www.wired.com/snake-bros-antivenom-index-zoos-influencers-chris-gifford/
1•robtherobber•49m ago•0 comments

We taught AI to write correct streaming SQL

https://github.com/risingwavelabs/agent-skills
1•WavyPeng•50m ago•0 comments