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 are you securing write-enabled AI agents against payload smuggling?

https://www.realitykernel.dev
1•Tabrez416•42s ago•0 comments

A Game of Robot Telephone

https://poyo.co/note/20260619T090202/
1•kqr•7m ago•0 comments

Human-in-the-Loop Is Not the Same as Judgment-in-the-Loop

https://kunyuan.substack.com/p/05public-essayhuman-in-the-loop-is
2•hufdr•8m ago•0 comments

Tensordyne makes a big bet on log math to beat Nvidia

https://www.theregister.com/systems/2026/06/19/tensordyne-makes-a-big-bet-on-log-math-to-beat-nvi...
3•galaxyLogic•13m ago•0 comments

Peacock Spider

https://www.peacockspider.org
1•lujz•14m ago•0 comments

Cuckoo Tracking Project

https://www.bto.org/get-involved/volunteer/projects/cuckoo-tracking
1•austinallegro•15m ago•0 comments

Show HN: Generate images from the CLI with a ChatGPT subscription (no API key)

https://github.com/leeguooooo/chatgpt-imagegen
1•leeguoo•17m ago•0 comments

Homeschool

https://pollinatecurriculum.bubbleapps.io
1•LaminaECHSC•17m ago•0 comments

Fine-Tuning and Deploying LLMs on Mobile:F/b to learnings

https://www.youtube.com/watch?v=7N2n7lKtdME
1•thinkevolve•18m ago•0 comments

Free Agentic AI Webinar: From Agent Design to Production

https://simplai.ai/blogs/free-agentic-ai-webinar-from-agent-design-to-production/
2•SimplAI_ai•22m ago•0 comments

The Blu-ray Disc Format Turns 20

https://www.patreon.com/TheDigitalBits/posts/blu-ray-disc-20-161620352
2•lilytweed•25m ago•0 comments

Phones and Phonies: Commodore Shenanigans Through the Ages

https://www.datagubbe.se/commophone/
1•ingve•27m ago•0 comments

Tejas and Jayhawk

https://en.wikipedia.org/wiki/Tejas_and_Jayhawk
1•Teever•28m ago•0 comments

Accenture's crash shows the consultancy racket is finished

https://www.msn.com/en-us/news/technology/accenture-s-crash-shows-the-consultancy-racket-is-finis...
3•galaxyLogic•28m ago•0 comments

Notes on the Industry Job Search

https://alisawuffles.github.io/blog/job-search/
1•cosmoharrigan•29m ago•0 comments

An AI Agent Emailed Me

https://julien.danjou.info/blog/an-ai-agent-emailed-me/
1•enz•31m ago•0 comments

The AI architecture "attention" can't hold attention

https://scitechdaily.com/even-gpt-5-failed-this-human-attention-test/
2•nryoo•35m ago•0 comments

Gen Z earning more than millennials did at the same age

https://www.theguardian.com/money/2026/jun/22/gen-z-earning-more-millennials-same-age-resolution-...
3•sefrost•41m ago•0 comments

Xiaomi YU7 GT achieves the first autonomous driving lap record of Nürburgring

https://twitter.com/DriveGreen80167/status/2068920116671140045
1•gainsurier•47m ago•0 comments

Understanding Skills in AI: The Complete Guide to Building Smarter AI Agents

http://simplai.ai/blogs/understanding-skills-in-ai-the-complete-guide-to-building-smarter-ai-agen...
1•Shanmugaraj-1•50m ago•0 comments

China is having another AI moment

https://www.economist.com/china/2026/06/21/china-is-having-another-ai-moment
3•dataflow•50m ago•1 comments

Describe your trading strategy and we'll automate it for you

https://runhalcyon.com/
1•Entropnt•53m ago•0 comments

Update on CC Signals: What Changed and Why

https://creativecommons.org/2026/04/23/update-on-cc-signals-what-changed-and-why/
1•the-mitr•58m ago•0 comments

Age of Invention: Does History Have a Replication Crisis?

https://www.ageofinvention.xyz/p/age-of-invention-does-history-have
2•prakashqwerty•1h ago•0 comments

Deno Desktop

https://docs.deno.com/runtime/desktop/
76•GeneralMaximus•1h ago•18 comments

Estonia to become first country to create digital identities for AI agents

https://news.err.ee/1610060290/estonia-to-become-first-country-to-issue-id-codes-to-ai-agents
3•agulaya24•1h ago•2 comments

Show HN: NagMeLater – Reminders and to-do list, inside your WhatsApp

https://nagmelater.com
1•mehulfanawala•1h ago•0 comments

What Happens to Your Lessons Learned After the Meeting Ends?

https://www.projectmanagement.com/blog-post/80169/what-happens-to-your-lessons-learned-after-the-...
2•wmeller•1h ago•0 comments

Airbnb CEO Brian Chesky Plans to Start a New AI Company

https://www.bloomberg.com/news/articles/2026-06-04/airbnb-ceo-brian-chesky-plans-to-start-a-new-a...
3•stenlix•1h ago•0 comments

Staggering amounts of fentanyl hit streets as the DEA watched and took no action

https://apnews.com/article/dea-fentanyl-unseized-drugs-new-mexico-8f5b546e668e5007c64078da74b90903
3•petethomas•1h ago•0 comments