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.

Hy3 – 295B MoE model (21B active, 192 experts)

https://twitter.com/TencentHunyuan/status/2074148098876768478
1•nezhar•1m ago•0 comments

Agent Box

https://agent-box.sh/
1•handfuloflight•4m ago•0 comments

Show HN: Graphenium – Local Trust Layer for AI Agents (Rust, Datalog, Salsa)

https://github.com/lambda-alpha-labs/Graphenium
1•Graphenium•9m ago•0 comments

AI coding assistant is quietly shipping your secrets

https://reykur.io/blog/ai-coding-assistant-shipping-secrets/
1•k1r111•11m ago•0 comments

HTTP 1.x proxy that makes old web browsers usable again in the Web 2.0 world

https://github.com/atauenis/webone
1•edward•12m ago•0 comments

A Self-maintaining filesystem for static blogs

https://dan-webnotes.com/posts/2026-07-01-self-maintaining-filesystem-static-blogs/
1•dandep•14m ago•0 comments

You're probably on the wrong Cloud box

https://gelkao.com/blog/how-cost-efficient-is-mytimeplan-com-cloud/
1•dominikz•15m ago•0 comments

Show HN: VibeRaven – open-source CLI that finds RLS/auth gaps your agent leaves

https://github.com/ohad6k/VibeRaven
1•ohadkr•15m ago•0 comments

Turn any web page into sticky notes with Free Chrome Web Extension

https://chromewebstore.google.com/detail/sticky-note-web-clipper-—/gniilbpapgommpalikcclpcnbcam...
1•taskloco_nyc•17m ago•0 comments

Tencent Releases Hy3 Model

https://hy.tencent.com/research/hy3
2•thedebuglife•17m ago•0 comments

Built a mobile action game in Unreal Engine 5.7 over six months

https://play.google.com/store/apps/details?id=com.prayerpathgames.thejudges&hl=en_US
3•prayerpath47•23m ago•0 comments

Show HN: I Built PixelGlass – An AI Agent for Building Ghost Themes

https://pixelglass.co/
2•ronaldl93•24m ago•0 comments

Show HN: FaultFixer – For websites and apps to self-heal themselves

https://faultfixer.com/
1•umutm•24m ago•0 comments

Ovaries may turn into an 'immune-like organ' after the menopause

https://www.newscientist.com/article/2533022-ovaries-may-turn-into-an-immune-like-organ-after-the...
1•0in•28m ago•0 comments

Persistent Control of Self-Evolving LLM Agents via Self-Reinforcing Injections

https://arxiv.org/abs/2602.15654
1•_pdp_•30m ago•0 comments

Let's Reinvent the Scroll Wheel

https://scrollpods.app/blog/lets-reinvent-the-scroll-wheel
2•tippa123•33m ago•0 comments

Same Query, Three Results: Benchmarking ParadeDB and Postgres FTS

https://www.paradedb.com/blog/benchmarker-iteration
1•jamesgresql•35m ago•0 comments

Reinforcement Learning with Metacognitive Feedback Elicits Uncertainty in LLMs

https://arxiv.org/abs/2606.32032
2•jonnonz•36m ago•0 comments

Show HN: Ex Situ, open-source spatial index of displaced cultural artifacts

https://exsitu.app/map
1•hbyel•37m ago•0 comments

Secure Unix ancestor KSOS did type safety before Rust made it cool

https://www.theregister.com/os-platforms/2026/07/06/secure-unix-ancestor-ksos-did-type-safety-bef...
2•rbanffy•37m ago•0 comments

Bridg.fun – A minimal, zero-knowledge text and file bridge between devices

https://bridg.fun
1•peeposaur•38m ago•0 comments

The Event-Sourced Domain Modeling Language Is Now Open-Source

https://www.esdm.io/
1•goloroden•39m ago•0 comments

Show HN: Disguise any article as VS Code, Excel or Slack – with a boss key

https://sneakread.com/
1•blacktechnology•42m ago•0 comments

World's only skydiving DC-9 jet [video]

https://www.youtube.com/watch?v=I1Gdar72rMU
1•jasoncartwright•43m ago•0 comments

Dear You: Beijing puts on movie night for diplomats

https://www.scmp.com/news/china/diplomacy/article/3359714/dear-you-beijing-puts-movie-night-diplo...
1•Alien1Being•44m ago•0 comments

Microsoft Can Track Users via a Windows Device ID

https://www.pcmag.com/news/a-hackers-arrest-reveals-microsoft-can-track-users-via-a-windows-device
30•ifh-hn•45m ago•4 comments

We're Living Through the AI Utopia and Can't See It

https://twitter.com/christofsalis/status/2073375047939395671
3•evizero•47m ago•1 comments

Show HN: Access-aware text-to-SQL – stop LLM agents overfetching data

https://github.com/sparklingneuronics/access-aware-text-to-sql
1•dimitarst•47m ago•1 comments

Verbalizable Representations Form a Global Workspace in Language Models

https://transformer-circuits.pub/2026/workspace/index.html
3•matthewsinclair•55m ago•1 comments

Show HN: A router that drops costs by roughly 45%

https://www.flexinference.com
1•Aperswal•57m ago•1 comments