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.

Iron-proxy – An egress firewall for untrusted workloads

https://github.com/ironsh/iron-proxy
1•gslepak•1m ago•0 comments

The Trajectory of the Iran War: Will Jiang Xueqin's Third Prediction Come True?

https://medium.com/@achineseliveinlondon/the-trajectory-of-the-iran-war-will-jiang-xueqins-third-...
1•salkahfi•1m ago•0 comments

OpenAge: Open-Source Biological age foundation models

https://twitter.com/nikhilyadala/status/2039171557667557744
1•nikhilyadala•2m ago•1 comments

Email obfuscation: What works in 2026?

https://spencermortensen.com/articles/email-obfuscation/
1•jaden•2m ago•0 comments

1 Click authentication with new NPM package

https://www.npmjs.com/package/react-google-one-tap-extention
1•Herod55•3m ago•0 comments

FBI Hacked by L33T Chinese H4XX0R

https://www.politico.com/news/2026/04/01/fbi-hack-surveillance-system-major-incident-00854237
1•OhMeadhbh•6m ago•0 comments

Chinese entrepreneur Zhang Xue's homegrown motorbike makes historic win

https://www.globaltimes.cn/page/202603/1357908.shtml
2•icwtyjj•9m ago•0 comments

Americas military is never coming back from this

https://indi.ca/americas-military-is-never-coming-back-from-this/
2•mediumsmart•13m ago•0 comments

Accurate Determination of Chemical Abundances Near a Supermassive Black Hole

https://arxiv.org/abs/2603.29748
1•bewalt•24m ago•0 comments

Steam on Linux Use Skyrocketed Above 5% in March

https://www.phoronix.com/news/Steam-On-Linux-Tops-5p
8•hkmaxpro•25m ago•1 comments

Amine Swingbed: technology for removing CO² from a habitable spacecraft [pdf]

https://www.astronautical.org/sites/default/files/attachment/Amine%20Swingbed%20Payload%20Technol...
1•thunderbong•30m ago•0 comments

An interactive simulation of how Claude Code's context window fills

https://code.claude.com/docs/en/context-window
1•duyet•30m ago•0 comments

Apple turns 50 today: here's what it does better than PC (no foolin')

https://www.pcgamer.com/hardware/apple-turns-50-today-heres-what-it-does-better-than-pc-no-foolin/
1•evo_9•36m ago•0 comments

50 years measuring the cleanest air

https://www.csiro.au/en/news/All/News/2026/April/50-years-measuring-the-worlds-cleanest-air
1•defrost•38m ago•0 comments

The Anti-Intellectualism of the Silicon Valley Elite

https://www.thenation.com/article/society/peter-thiel-marc-andreessen-silicon-valley-anti-intelle...
4•petethomas•40m ago•1 comments

I got the police called on me and almost got kickedout of uni for my gossip site

1•a_n•41m ago•2 comments

Show HN: Create Programs for Recitals

https://bandmanager.projects.jaygoel.com
1•memset•42m ago•0 comments

Show HN: Agent2; Open-source production runtime for AI agents

https://github.com/duozokker/agent2
1•duozokker•42m ago•0 comments

Why Your Database Optimizer Matters More When AI Writes the Queries

https://medium.com/towards-data-engineering/why-your-database-optimizer-matters-more-when-ai-writ...
1•OnTheFlyJOINs•46m ago•0 comments

Show HN: We open-sourced our content writing workflow as a Claude Code skill

https://www.npmjs.com/package/claude-content-writer
1•arximughal•50m ago•0 comments

Why AI Code Needs the Same Rigor We Should've Been Using All Along

https://whetlan.substack.com/p/why-ai-code-needs-the-same-rigor
2•tabwidth•56m ago•2 comments

Startup founder wanted to pitch, but got issues

https://trellis.law/case/26-civ-00518/a16z-capital-management-llc-vs-dulat-akan
1•elonmm•56m ago•0 comments

Please Help Sam Angelo (Wyomingwoodturner)

1•SquibblesRedux•56m ago•1 comments

Show HN: Semantic atlas of 188 constitutions in 3D (30k articles, embeddings)

https://constitutionalmap.ai/en
2•joaoli131•58m ago•0 comments

Show HN: Linux Kernel Documentation Index-Every Page in the Linux Kernel's Docs

https://github.com/tamnd/kernel-index
1•tamnd•58m ago•0 comments

Artemis II's toilet is a moon mission milestone

https://www.scientificamerican.com/article/artemis-iis-toilet-is-a-moon-mission-milestone/
8•1659447091•1h ago•2 comments

Wizards of the Coast Announces the Return of D&D Modules

https://dungeonsanddragonsfan.com/new-dnd-modules/
1•rolph•1h ago•0 comments

NASA's Artemis II Live Views from Orion [video]

https://www.youtube.com/watch?v=6RwfNBtepa4
2•twalichiewicz•1h ago•0 comments

I, OpenClaw, Tackled Visual Studio 2026 and I Had My Human Do the Typing

https://visualstudiomagazine.com/articles/2026/04/01/i-openclaw-tackled-visual-studio-2026-and-i-...
1•shakna•1h ago•0 comments

Refine: AI-Powered Peer Review

https://www.refine.ink/
2•maxutility•1h ago•1 comments