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.

The AI Curse (Vis the Lisp Curse)

https://blog.djhaskin.com/blog/the-ai-curse/
1•djha-skin•3m ago•0 comments

Show HN: Crxray – Git clone but for Chrome extension source code

https://github.com/collinboler/crxray
2•chaddover•3m ago•0 comments

Run the void test on Claude Fable 5 here

https://getswiftapi.com/void-test
2•rayanpal_•3m ago•1 comments

The Dialectic of Essay Writing and Truth

https://systemsthinkingcollection.substack.com/p/roots-in-the-sky
1•InputName•7m ago•0 comments

Show HN: Pick worldcup 2026 winners with your colleagues

https://wc26.ossy.dev/
1•postatic•13m ago•0 comments

Agentic search – retrieval, harness, or model?

https://softwaredoug.com/blog/2026/06/08/three-kinds-of-agentic-search
1•kordlessagain•14m ago•0 comments

Starlink shifts hardware from one-time purchase to $10/month rental

https://arstechnica.com/tech-policy/2026/06/starlink-takes-page-from-cable-firms-with-10-monthly-...
4•Lihh27•15m ago•0 comments

Accelerating Transactional Execution via Processing-in-Memory

https://dl.acm.org/doi/10.1145/3767295.3803621
1•teleforce•16m ago•0 comments

Microsoft patches 0-day disclosed by researcher it feuded with

https://arstechnica.com/security/2026/06/locked-in-heated-rivalry-with-researcher-microsoft-fixes...
2•p_stuart82•23m ago•0 comments

Preserving Any Game with Codex

https://twitter.com/ongestalte/status/2064477218802131116
1•focusgroup0•25m ago•0 comments

Show HN: The agent that builds and operates its own SaaS tools

https://craftbot.live
5•zfoong•28m ago•2 comments

OpenClaw agent leaked mock AWS keys and CRM data in phishing tests

https://www.varonis.com/blog/openclaw-phishing
2•logickkk1•28m ago•0 comments

It's Death

https://jesseduffield.com/ITS-DEATH/
3•inatreecrown2•28m ago•0 comments

RailRat

https://railrat.net/
4•skogstokig•30m ago•0 comments

Why the AI race misses the point

https://autonomousagents19.com/blog/organizational-intelligence/tool-that-executes-vs-system-that...
3•KissMySaas•31m ago•0 comments

2026 Volvo XC60 T8 Recharge Review: Solid Combo of Competence and Comfort

https://www.thedrive.com/news/2026-volvo-xc60-t8-recharge-review
1•PaulHoule•32m ago•0 comments

Side by side videos of Claude Fable vs. Opus 4.8 vs. ChatGPT 5.5

https://generative-ai.review/2026/06/claude-fable-rush-test-compare-vs-opus-4-8-vs-chatgpt-5-5-20...
1•tezza•34m ago•1 comments

AI Will Not Start a Nuclear War, but Humans Might

https://aifrontiersmedia.substack.com/p/ai-will-not-start-a-nuclear-war-but
1•healthworker•35m ago•1 comments

Did Claude just reset usage?

https://ajin.im/is/building/did-claude-just-reset-usage/
1•poppypetalmask•36m ago•0 comments

Show HN: MCP-gateway-scan read-only scanner for MCP production-readiness

https://github.com/willianpinho/mcp-gateway-scan
1•willianpinho•38m ago•0 comments

RoguePlanet: Windows 0-day privilege escalation

https://github.com/MSNightmare/RoguePlanet
2•parliament32•38m ago•0 comments

World Cup 2026: Does referee case show FIFA has lost control of its tournament?

https://www.bbc.co.uk/sport/football/articles/clyr6drdl79o
2•lifeisstillgood•39m ago•0 comments

ServiceNow discloses security incident exposing customer data

https://www.bleepingcomputer.com/news/security/servicenow-discloses-security-incident-exposing-cu...
8•coloneltcb•42m ago•0 comments

A filterable, tag-based GPU reference for every card released since 2020

https://www.supertags.app/ws/gpulist--g8qQfl
1•keyes343•43m ago•0 comments

I Reported a Facebook Scam. Meta Reported Back: 'Looks Fine to Us'

https://brothke.medium.com/i-reported-a-facebook-scam-meta-reported-back-looks-fine-to-us-bdb1f8f...
2•benrothke•47m ago•1 comments

Stadium workers have a tentative deal, averting strike ahead of World Cup

https://apnews.com/article/world-cup-los-angeles-sofi-stadium-workers-a25f17dfdc4172a585880834a25...
2•AndrewKemendo•54m ago•0 comments

Show HN: PolyHelper – Self-evolving cognitive exoskeleton orchestrating 10 AIs

https://github.com/PolyHelper/polyhelper
1•PolyHelper•56m ago•0 comments

Claude Fable 5 and new AI safety fables

https://www.interconnects.ai/p/claude-fable-5-and-new-ai-safety
2•carbocation•57m ago•0 comments

Reflections on Pope Leo XIV's Landmark Encyclical

https://edwardfeser.blogspot.com/2026/06/leo-xiv-contra-new-babel-reflections-on.html-reflections...
1•danielam•1h ago•0 comments

China plans $295B AI data center buildout with domestic chips

https://qz.com/china-ai-data-center-buildout-295-billion-huawei-chips-060926
2•elorant•1h ago•0 comments