frontpage.
newsnewestaskshowjobs

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•1y ago

Comments

llm-exe•1y 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•1y 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.

EU to force Google to share search data and open up AI on Android

https://arstechnica.com/gadgets/2026/07/its-official-eu-will-force-google-to-share-search-data-an...
1•goplayoutside•3m ago•0 comments

Show HN: Vulnsy – A platform for vulnerability management and reporting

https://www.vulnsy.com
1•MrTurvey•5m ago•0 comments

Now, even Russia's most elite hackers are using Clickfix to infect devices

https://arstechnica.com/security/2026/07/now-even-russias-most-elite-hackers-are-using-clickfix-t...
2•joozio•5m ago•0 comments

ScreenWall – Turn old phones into synced widgets for your space

https://screenwall.app/
1•buibuibui•7m ago•0 comments

Soofi – Sovereign Open Source Foundation Models

https://www.soofi.info/
1•sebastian_z•7m ago•0 comments

Rokit to launch what it calls first human kidney regeneration surgery in July

https://www.koreabiomed.com/news/articleView.html?idxno=32016
1•deno•9m ago•0 comments

Show HN: Sandboxd – Self-Hosted app Builder (agents, sandbox, preview url)

https://github.com/tastyeffectco/sandboxd
1•tastyeffectco•9m ago•0 comments

What Early Hackers Got Right About Today's AI [video]

https://www.youtube.com/watch?v=XHeMsXDyw2A
1•pierrephpguru•16m ago•1 comments

Huawei could become a DRAM fabber

https://www.blocksandfiles.com/ai-ml/2026/07/16/huawei-could-become-a-dram-fabber/5273853
1•rbanffy•17m ago•0 comments

Show HN: Customizable SAP MCP Server

https://superglue.ai/mcp/sap/
1•sfaist•17m ago•0 comments

Comptime Is Funtime: Per-Span State Without a Hash Map

https://david-bach.com/pages/posts/2026-07-15-comptime-is-funtime/index.html
1•eoxxs•19m ago•0 comments

Domain Specific Harnesses

https://alanyahya.com/writing/domain-specific-harnesses
2•alansaber•19m ago•0 comments

Ask HN: Any AWS billing issues known? Amazon forecast of 3 billion dollars

3•mstolpm•22m ago•2 comments

How the Black Death shaped human evolution

https://www.nih.gov/news-events/nih-research-matters/how-black-death-shaped-human-evolution
1•thunderbong•22m ago•0 comments

Inaccurate Estimated Billing Data (AWS)

https://health.aws.amazon.com/health/status?nonce=ae879
1•nocam•23m ago•1 comments

Tesla driver in fatal Texas crash pressed accelerator 100%, NTSB confirms

https://techcrunch.com/2026/07/15/tesla-driver-in-fatal-texas-crash-pressed-accelerator-100-ntsb-...
1•gsky•26m ago•0 comments

But what is the Central Limit Theorem?(2023) 3B1B [video]

https://www.youtube.com/watch?v=zeJD6dqJ5lo
1•o4c•27m ago•0 comments

Show HN: InteractInk – Anonymous Text Board

https://interactink.vercel.app/interactink.html
1•squeezes•28m ago•1 comments

China's EV pirate ship is coming for Western carmakers

https://www.politico.eu/article/china-ev-pirate-ship-is-coming-for-western-carmakers-byd/
1•ironyman•30m ago•0 comments

Just got an AWS billing alert projecting my monthly cost at $140B

8•mirzap•32m ago•3 comments

Show HN: EasyDocs – generate OpenAPI docs from real traffic

https://github.com/RubenGlez/easydocs
1•rubenglez•32m ago•0 comments

TSMC Expands US Semiconductor Investment to $265B

https://www.hpcwire.com/off-the-wire/tsmc-expands-us-semiconductor-investment-to-265b/
1•rbanffy•32m ago•0 comments

High temperatures put French gas plant at risk of outage

https://www.reuters.com/business/energy/high-temperatures-shut-french-gas-plant-adding-heat-relat...
1•leonidasrup•34m ago•0 comments

Mass Surveillance Wasn't an Accident

https://www.youtube.com/watch?v=mvsgrhS5bV8
4•soupspaces•40m ago•0 comments

US postgraduate student visas will be limited to 4 years

https://www.dhs.gov/news/2026/07/16/trump-administration-issues-final-rule-end-foreign-student-vi...
2•macleginn•44m ago•3 comments

Ask HN: What are you working on(2026)?

3•adithyaharish•45m ago•1 comments

Mario Kart Wii recompiled for PC using AI, with 4K potential and uncapped FPS

https://www.tomshardware.com/video-games/retro-gaming/mario-kart-wii-recompiled-for-pc-using-ai-w...
3•gloxkiqcza•50m ago•0 comments

Is the AI Boom over for Kospi and Asian Tech Stocks?

https://www.disruptionbanking.com/2026/07/17/is-the-ai-boom-over-for-kospi-and-asian-tech-stocks/
1•technewssss•50m ago•0 comments

Time-Series Language Models for Reasoning over Multivariate Data at Scale (ICML)

https://www.aioniclabs.ai/research/opentslm
10•rjakob•52m ago•6 comments

Company Blew $500M on Claude Because Nobody Set a Spending Limit

https://mrkt30.com/company-blew-500m-on-claude-because-nobody-set-a-spending-limit/
3•technewssss•52m ago•0 comments