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.

Virtual Oxide Labs: Emulating a Full Oxide Rack

https://oxide.computer/blog/voxel-labs
1•tosh•1m ago•0 comments

Container ship sinks in Strait of Hormuz as Iran steps up attacks

https://www.cnbc.com/2026/10/14/container-ship-sinks-strait-hormuz-as-iran-war-attacks.html
1•MilnerRoute•1m ago•0 comments

Through the Visual Language of AI

https://blog.criti.ca/posts/through-the-visual-language-of-ai
1•microsoftedging•2m ago•0 comments

A Turing Test for Physical Engineering

https://www.spectrallabs.ai/research/cswp-turing-test
1•kmavm•3m ago•0 comments

Reverse-Engineered: search 10k open-source tools

http://awesome.alexgaoth.com/
1•alexgaoth•4m ago•0 comments

Pragmatic Magic in Rust

https://ahl.dtrace.org/2026/10/11/pragmatic-magic-in-rust/
1•mooreds•4m ago•0 comments

Googlebook OS Magisk demo shows root access could be much easier than thought

https://www.androidauthority.com/googlebook-os-magisk-root-demo-3722998/
1•Markoff•6m ago•0 comments

Cerebras CEO pushes back on AI doomsday warnings

https://techcrunch.com/2026/10/13/cerebras-ceo-pushes-back-on-ai-doomsday-warnings/
1•joebuckwilliams•6m ago•0 comments

High-CRI LED Lighting

https://en.wikipedia.org/wiki/High-CRI_LED_lighting
1•tosh•6m ago•0 comments

Europe's leaders abandon the race for frontier AI

https://www.politico.eu/article/europe-ai-strategy-frontier-models-us-china/
2•miohtama•7m ago•0 comments

How to Host a Blog for Free in 2026 (Astro and Cloudflare Pages)

https://codex-blog-6v6.pages.dev/blog/free-blog-hosting-2026/
2•speckx•8m ago•0 comments

The Rise of In-Office Remote Work

https://www.theatlantic.com/ideas/2026/10/in-office-remote-work/688993/
1•tekdude•9m ago•0 comments

I spent 48 hours in SF hanging out with billionaires, data labs and AI execs

https://twitter.com/gregisenberg/status/2110414696037716372
2•bigwheels•10m ago•0 comments

Cal Newport: The AI Industry Is Betting on the Wrong Kind of AI [video]

https://www.youtube.com/watch?v=WuIITyh_Q4g
1•ptrhvns•11m ago•0 comments

I Hacked My Smart Lights and Things Got Way Out of Hand

https://blog.shravanrevanna.me/i-hacked-my-smart-lights-and-things-got-way-out-of-hand
1•CharlesW•13m ago•0 comments

Designing Protein Structures from Natural Language

https://arxiv.org/abs/2610.13917
1•flobosg•13m ago•0 comments

Show HN: Collaborative money tracker, E2E encryption, MCP

https://finance.rivaire.pro/demo
1•bandrw•16m ago•0 comments

NeuralType: A Post-OpenType Font Format

https://elih.net/blog/neuraltype/
2•epestr•16m ago•0 comments

Peace-Energy Hub – Open-Source Autonomous Energy Corridor Framework

https://github.com/marcelcluj-bit/Peace-Energy-Hub--Eurasian-Corridor
1•marcelcluj2026•16m ago•0 comments

Arch-Specific SIMD in Go

https://go.dev/blog/archsimd
1•tosh•17m ago•0 comments

A love letter to a simpler time – web archeology with Claude

https://www.darkmirage.com/2026/10/15/a-love-letter-to-a-simpler-time/
1•darkmirage•19m ago•1 comments

Russia's internet shutdowns push state firms back to landline phones

https://www.euronews.com/2026/10/14/russias-internet-shutdowns-push-state-firms-back-to-landline-...
3•billybuckwheat•19m ago•0 comments

AnyRank: Reliable Anytime Policy Ranking via Sequential Testing

https://arxiv.org/abs/2610.14603
1•gmays•19m ago•0 comments

North. focus and distraction blocker Chrome extension

https://chromewebstore.google.com/detail/north-focus-distraction-b/bbfpkfifjmcebiobbmfhdgpnclegaedo
1•jaitenk•20m ago•0 comments

Tugz: New deflate library with three applications

https://nullprogram.com/blog/2026/10/13/
1•ingve•21m ago•0 comments

Kubernetes Rightsizing: Which Requests to Change, and When Not To

https://radarhq.io/blog/kubernetes-rightsizing-requests
1•royLsky•22m ago•0 comments

Arguments About AI Consciousness Remain Highly Motivated and Overconfident

https://thezvi.wordpress.com/2026/10/13/arguments-about-ai-consciousness-remain-highly-motivated-...
1•gmays•24m ago•0 comments

Mexico orders tech giants to protect kids and teens from harmful online content

https://www.independent.co.uk/news/world/americas/mexico-social-media-streaming-violent-sexual-co...
1•aylmao•24m ago•0 comments

Ukrainian officers warn Starlink slowdown comparable to a nuclear strike

https://www.politico.eu/article/ukraine-starlink-restrictions-disrupt-drone-strikes/
2•doener•25m ago•0 comments

Where AI slop comes from, and how to turn it down inside the model

https://100toolkit.com/blog/where-ai-slop-comes-from/
1•possiblelion•25m ago•0 comments