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.

A Brief History of Lab Notebooks

https://www.asimov.press/p/lab-notebooks
1•cratermoon•48s ago•0 comments

Continuing the story of early DOS development

https://opensource.microsoft.com/blog/2026/04/28/continuing-the-story-of-early-dos-development/
2•oldnetguy•55s ago•0 comments

Show HN: Loom – A Markdown knowledge graph for better coding-agent execution

https://github.com/z3z1ma/agent-loom
1•z3z1ma•59s ago•0 comments

Forcing dark mode in PDFs for Firefox

https://drgrizz.xyz/firefox_pdf_dark.html
2•Davidbrcz•1m ago•0 comments

Affordability Still Dominates Americans' Financial Worries

https://news.gallup.com/poll/708905/affordability-dominates-americans-financial-worries.aspx
2•cbg0•2m ago•0 comments

Show HN: Mvndvs TERRARUM – A Renaissance-style 3D world map

https://world.gjlmotea.com/
1•gjlmotea•2m ago•0 comments

Israel sent "Iron Dome" system and troops to UAE for Iran defense

https://www.axios.com/2026/04/26/israel-iron-dome-uae
2•janandonly•2m ago•0 comments

Warp is now open-source

https://twitter.com/zachlloydtweets/status/2049154460039979268
1•swah•2m ago•0 comments

VPinPlay – VPinball rating, playtime and score tracking

https://www.vpinplay.com/
1•bentaho•2m ago•0 comments

Sony silently rolls out 30-day online DRM check-in for PlayStation digital games

https://www.tomshardware.com/video-games/playstation/sony-rolls-out-30-day-online-drm-check-in-fo...
1•gloxkiqcza•4m ago•0 comments

Barge rescue attempt for Timmy the whale in Germany gets go-ahead

https://www.theguardian.com/world/2026/apr/28/timmy-whale-barge-rescue-attempt-germany
1•Tomte•4m ago•0 comments

Securing the Git push pipeline: Responding to a critical remote code execution

https://github.blog/security/securing-the-git-push-pipeline-responding-to-a-critical-remote-code-...
1•samtrack2019•4m ago•0 comments

Cybersec is a thankless job: expanding workload and shrinking pay packet

https://www.theregister.com/2026/04/27/from_a_massive_skills_gap/
1•rustoo•4m ago•0 comments

Reimagining Bash for Untrusted Contexts

https://capsulerun.github.io/blog/reimagining-bash-for-untrusted-contexts
1•mavdol04•4m ago•0 comments

Building Software Businesses for an AI Future

https://www.hauser.io/building-software-businesses-for-an-ai-future/
1•bkfh•7m ago•0 comments

Anthropic Joins the Blender Development Fund as Corporate Patron

https://www.blender.org/press/anthropic-joins-the-blender-development-fund-as-corporate-patron/
19•Philpax•7m ago•1 comments

Geomys is a Gopher browser for classic 68000 Macintosh computers

https://macintoshgarden.org/apps/geomys
1•janandonly•8m ago•0 comments

AI uncovers 38 vulnerabilities in largest open source medical record software

https://aisle.com/blog/aisle-discovers-38-critical-security-vulnerabilities-in-healthcare-softwar...
2•mmsc•9m ago•0 comments

Microsoft Edit 2.0.0 – A compiler for syntax highlighting

https://github.com/microsoft/edit/releases/tag/v2.0.0
3•lhecker•9m ago•0 comments

Agents Are Microservices with a Brain

https://blog.dataengineerthings.org/the-microservices-playbook-for-multi-agent-systems-4d386cef62e8
1•chtefi•9m ago•0 comments

Meta seeks to power data centers with energy beamed from space

https://www.latimes.com/business/story/2026-04-27/meta-seeks-to-power-data-centers-with-energy-be...
1•1vuio0pswjnm7•11m ago•2 comments

SupraWall – Runtime Policy Enforcement for AI Agents

https://github.com/wiserautomation/SupraWall
2•Alexander1983•11m ago•0 comments

Don't use localhost:3000, use your own custom domain

https://idiallo.com/blog/say-no-to-localhost3000-use-custom-domains
1•Brajeshwar•11m ago•0 comments

Show HN: Drive any macOS app in the background without stealing the cursor

https://github.com/trycua/cua
2•frabonacci•11m ago•0 comments

Show HN: I built a search engine for llms.txt sites

https://statespace.com/
2•durovilla•13m ago•0 comments

Introduction to Secret Sharing from First Principles

https://stoffelmpc.com/stoffel-blog/guide-to-secret-sharing
1•badcryptobitch•13m ago•0 comments

Bitboards

https://www.chessprogramming.org/Bitboards
1•tosh•15m ago•0 comments

A 25-Year-Fight over a 2-Second Sample

https://www.plagiarismtoday.com/2026/04/20/a-25-year-fight-over-a-2-second-sample/
2•speckx•15m ago•0 comments

Warp is now open-source

https://www.warp.dev/blog/warp-is-now-open-source
6•meetpateltech•16m ago•0 comments

Meta poised to surpass Google in digital ad revenue for first time

https://www.reuters.com/business/media-telecom/meta-poised-surpass-google-digital-ad-revenue-firs...
3•chirau•18m ago•0 comments