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.

How to Download Canvas and Panopto Lecture Videos

https://www.scholarshipsads.com/blog/how-to-download-canvas-and-panopto-lecture-videos
1•behindai•5m ago•0 comments

Trump's 'narco‑terrorism' war in Latin America evokes Reagan

https://theconversation.com/trumps-narco-terrorism-war-in-latin-america-evokes-reagan-then-as-now...
1•robtherobber•6m ago•0 comments

Pioneer of 'extreme male brain' theory of autism now says phrase unhelpful

https://www.theguardian.com/society/2026/jul/05/autism-extreme-male-brain-simon-baron-cohen
1•Michelangelo11•7m ago•0 comments

India's IT industry is shrinking general hiring while AI roles rose 16%

https://twitter.com/rohanpaul_ai/status/2073314619423174678
1•rustoo•7m ago•0 comments

Veteran Coder, Modern Delivery: The Hunt for the Perfect Technical TPM Role

https://www.mariusb.net/blog/2026/07/veteran-coder-modern-delivery-the-hunt-for-the-perfect-techn...
1•mariusb16•8m ago•0 comments

Google disrupts NetNut proxy network used in malware operations

https://www.reuters.com/business/media-telecom/google-disrupts-netnut-proxy-network-used-malware-...
1•angst•8m ago•0 comments

Mercury – Hermes HF Modem

https://github.com/Rhizomatica/mercury
1•noyesno•16m ago•0 comments

UN chief warns AI is developing faster than rules can keep up

https://www.reuters.com/technology/un-chief-warns-ai-is-developing-faster-than-rules-can-keep-up-...
2•adithyaharish•22m ago•0 comments

A Skiing Accident Put Our Development Practices to the Test

https://blog.enioka.com/2026/07/03/how-a-skiing-accident-put-our-development-practices-to-the-test/
4•hebus•24m ago•0 comments

14× faster embeddings: how we rebuilt the ONNX path in Manticore

https://medium.com/@s_nikolaev/14-faster-embeddings-how-we-rebuilt-the-onnx-path-in-manticore-fab...
2•snikolaev•26m ago•0 comments

Looking Forward to Postgres 19: Split Personality

https://www.pgedge.com/blog/looking-forward-to-postgres-19-split-personality
1•rellem•27m ago•1 comments

Defeat air-gapped systems by exfiltrating data using Apple Find My network

https://github.com/HouzuoGuo/hzgl-air-bridge
2•austinallegro•27m ago•0 comments

DJ USB T[ool]kit

https://github.com/haivala/dj-usb-tkit
1•chipheadi•28m ago•0 comments

Show HN: WatermarkGo – Gemini Watermark Remover

https://watermarkgo.com
2•qwikhost•30m ago•0 comments

HN: An automated CI/CD testing harness for Model Context Protocol servers

https://github.com/vaquarkhan/mcp-test-harness
2•vaquarkhan•31m ago•0 comments

AI-powered product photography suite designed specifically for Amazon sellers

https://loomadesign.ai/
1•loomadesignai•34m ago•0 comments

Show HN: Excalibur. The open-source AI coding agent for product engineers

https://getexcalibur.dev
4•Rafael_Casuso•35m ago•0 comments

Thoughts on the Near Future

https://x.com/bayeslord/article/2072056960430789032
1•grodriguez100•38m ago•0 comments

What America has meant to me

https://twitter.com/swyx/status/2073657149067321412
1•pretext•45m ago•0 comments

Built a Website for People Who Miss the Old Web

https://www.dailicle.com/
2•lucky-solanki•46m ago•0 comments

China wants to solve the hardest problem in robotics – making hands

https://www.theguardian.com/technology/ng-interactive/2026/jul/06/china-dextrous-robotic-hands-hu...
4•sandebert•48m ago•0 comments

Interdict: Stop agents from destroying production databases

https://github.com/prisharai/Interdict
1•handfuloflight•50m ago•1 comments

Building Software Is Learning

https://registerspill.thorstenball.com/p/building-software-is-learning
1•kiyanwang•50m ago•1 comments

TinyRetroPad: A working, Notepad-style Windows text editor in roughly 2.5 KB

https://github.com/plummersSoftwareLLC/TinyRetroPad
3•doener•51m ago•0 comments

Phi Browser 2.0: Spaces, Profiles, and Room for Your Agents

https://phibrowser.com/news/phi-browser-v2/
2•sjdhoome•52m ago•1 comments

When AI Costs More Than the Engineer

https://tomtunguz.com/ai-spend-breakeven-2029/
13•kiyanwang•54m ago•1 comments

Generate parametric, manufacturable 3D models in seconds

https://kyrall.com/
4•OsamaAtwi•55m ago•2 comments

How Russia Blackmails Ordinary Ukrainians to Spread Terror in Ukraine [video]

https://www.youtube.com/watch?v=1ypMQlXlWIg
2•consumer451•55m ago•1 comments

Revised Rules of Engineering Leadership

https://lethain.com/revised-rules-of-engineering-leadership/
2•kiyanwang•56m ago•0 comments

When Gemma Thinks About Resources – It Fails: A Behavioral Experiment

https://www.lesswrong.com/posts/9Gj9anZi95RgHQPv6/when-gemma-thinks-about-resources-it-fails-a-be...
2•joozio•56m ago•0 comments