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.

Reid Hoffman says SpaceX 'not an AI company', xAI 'complete train wreck'

https://fortune.com/2026/06/24/reid-hoffman-spacex-musk-openai-anthropic-gen-z-mistake/
1•1vuio0pswjnm7•54s ago•0 comments

I built a flat-rate DeepSeek API for Claude Code (with vision support)

https://cloudcode.one/
1•tatuhelander•1m ago•0 comments

Adopting AV1 for Real-Time Communication (RTC) at Scale

https://engineering.fb.com/2026/06/22/video-engineering/adopting-av1-for-real-time-communication-...
1•ledoge•2m ago•0 comments

Kebab Benchmark for LLMs

https://twitter.com/victormustar/status/2069688722409312332
1•jonbraun•3m ago•0 comments

Ask HN: DIstribution Problem and Solutions

1•Neobecomer•3m ago•0 comments

Show HN: Stupify – anti-slop code review for AI agents

https://github.com/Octember/stupify
2•octember•4m ago•1 comments

What's the worst thing your AI agent did in production without asking first?

1•rockingraj•4m ago•0 comments

What's the worst thing your AI agent did in production without asking first?

1•rockingraj•5m ago•0 comments

Covid vaccines cut risk of hospital care, heart complications, new data reveal

https://www.cidrap.umn.edu/covid-19/updated-covid-vaccines-cut-risk-hospital-care-heart-complicat...
2•throw0101d•5m ago•0 comments

Robert Heinlein and Arthur C. Clarke interview with Walter Cronkite – Apollo 11 [video]

https://www.youtube.com/watch?v=4PLTkYJ7C40
1•simonebrunozzi•7m ago•0 comments

Prevail – a model-agnostic AI harness for everyday life

https://prevail.sh/
1•mrlou•8m ago•0 comments

Memory Reconsolidation

https://nonlinearfunction.org/notes/memory-reconsolidation/
1•dmonay•9m ago•0 comments

Chip's Challenge

https://en.wikipedia.org/wiki/Chip%27s_Challenge
1•tosh•9m ago•0 comments

Let's Decode the Mystery Bytes [video]

https://www.youtube.com/watch?v=GZqB4D_Do38
1•surprisetalk•9m ago•0 comments

Agility, Maker of Humanlike Robots, to Go Public in $2.5B SPAC Deal

https://www.wsj.com/finance/agility-maker-of-humanlike-robots-to-go-public-in-2-5-billion-spac-de...
1•flurie•9m ago•0 comments

How to break your AI agent

https://thoughts.jock.pl/p/how-to-break-your-ai-agent-basics-2026
1•joozio•10m ago•0 comments

Show HN: Built a Git ext. in Rust that tracks which AI wrote each line of code

https://autter.dev/autter-cli
1•sagnikghosh•11m ago•0 comments

Fueler.io just crossed 95000 registered users

https://fueler.io
1•ritendn•11m ago•1 comments

Show HN: Make your game multiplayer in one prompt

https://antics.gg/
2•heyitssim•11m ago•0 comments

Everyone Is Wrong About AI Except Me

https://jasonpargin.substack.com/p/everyone-is-wrong-about-ai-except
1•teddyh•12m ago•1 comments

Managed to get a criminal investigation into adtech

https://www.thatprivacyguy.com/blog/criminal-investigation-adtech-surveillance/
3•AlexanderHanff•12m ago•2 comments

Ask HN: How is the personal assistant you're building different?

1•velyan•14m ago•0 comments

A friendly, non-technical introduction to differential privacy

https://desfontain.es/blog/friendly-intro-to-differential-privacy.html
1•simonebrunozzi•14m ago•0 comments

Show HN: Trial library based with OTP detected tempmail service

https://huskmail.xyz
1•draggodra•15m ago•0 comments

Today's Office: A Visual Log

https://www.ssp.sh/brain/todays-office/
1•zazuke•16m ago•0 comments

Selling Smart Link – Affiliate Tracking SaaS ($2k)

https://www.by-smartlink.com/
1•smartlink30•16m ago•0 comments

Europeans should learn to love the air-conditioner … green electricity

https://www.economist.com/europe/2026/06/18/europeans-should-learn-to-love-the-air-conditioner
6•Kaibeezy•17m ago•3 comments

No Side to Take: Political Indifference Inside the 4vps.su Leak

https://disclosing.observer/2026/06/23/political-indifference-4vps-leak.html
3•0x5h4un1•18m ago•0 comments

Talk of a bubble is 'blasphemy against AI' says SoftBank's Son

https://www.reuters.com/business/media-telecom/talk-bubble-is-an-insult-ai-says-softbanks-son-202...
5•1vuio0pswjnm7•20m ago•2 comments

Qualcomm to Acquire Modular

https://www.modular.com/blog/qualcomm-to-acquire-modular
1•colesantiago•20m ago•0 comments