frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•10mo ago

Comments

llm-exe•10mo 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•10mo 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.

To Hunt the Wild Hat

https://medium.com/luminasticity/to-hunt-the-wild-hat-e73721b3f12b
1•bryanrasmussen•18s ago•0 comments

Falsehoods programmers believe about addresses (2013)

https://www.mjt.me.uk/posts/falsehoods-programmers-believe-about-addresses/
1•smagin•2m ago•1 comments

Prompt-caching – auto-injects Anthropic cache breakpoints (90% token savings)

https://prompt-caching.ai/
2•ermis•3m ago•1 comments

I'm a project manager, to the engineers: how replaceable do you think my job is?

1•ferociousmadman•4m ago•0 comments

Parametricity, or Comptime Is Bonkers

https://noelwelsh.com/posts/comptime-is-bonkers/
1•birdculture•5m ago•0 comments

Show HN: Bonsai – A tiny sandboxed expression engine for TypeScript

https://danfry1.github.io/bonsai-js/
1•danfry•5m ago•0 comments

Evolving our real-time timeseries storage again: Built in Rust (2025)

https://www.datadoghq.com/blog/engineering/rust-timeseries-engine/
1•l2dy•6m ago•0 comments

Western AI models "fail spectacularly" in farms abroad

https://restofworld.org/2026/ai-agriculture-local-data/
2•HR01•6m ago•0 comments

Elusive Cost Savings of Pre-fabricated homes

https://www.construction-physics.com/p/the-elusive-cost-savings-of-the-prefabricated
1•HR01•9m ago•0 comments

Why yes, you *can* agentically code wherever you SSH

https://ivoras.substack.com/p/why-yes-you-can-agentically-code
1•taubek•9m ago•0 comments

Social media is an ant mill

https://www.youtube.com/watch?v=3J_obzqM5K0
1•frag•9m ago•0 comments

If you can't trust AI with a credit card, just give it a prepaid card

https://agentcard.sh/
1•haebom•10m ago•1 comments

The Road Runner Economy

https://nraford7.github.io/road-runner-economy/
1•markusw•11m ago•0 comments

Researchers have demonstrated magnetic particle imaging on humans

https://www.uni-wuerzburg.de/en/news-and-events/news/detail/news/mpi-humans/
1•giuliomagnifico•11m ago•0 comments

Iran Drone War Ode Model

https://policytensor.substack.com/p/why-the-us-is-facing-strategic-defeat
1•harperlee•14m ago•1 comments

My Claude Code Setup

https://freek.dev/3026-my-claude-code-setup
1•speckx•14m ago•1 comments

Show HN: RAG Doctor – CLI tool to diagnose broken RAG pipelines

https://ragdoctor.dev/
1•anvarxadja•15m ago•1 comments

Web Rewind

https://www.web-rewind.com/
1•thunderbong•16m ago•0 comments

Microsoft Hasn't Had a Coherent GUI Strategy Since Petzold

https://www.jsnover.com/blog/2026/03/13/microsoft-hasnt-had-a-coherent-gui-strategy-since-petzold/
2•mpweiher•18m ago•0 comments

From Run Nation to Power Slap: New Sports Designed for Social Media

https://www.theguardian.com/sport/2026/mar/13/run-nation-power-slap-carjitsu-tgl-golf-typti-sport...
1•yk•19m ago•1 comments

Stanag 5516M-STD-6016 TADIL-J J-Series schema reconstruction from public docs

https://liotier.github.io/Ersatz-MIL-STD-6016/
1•liotier•20m ago•0 comments

Want to Win a New CanaKit Raspberry Pi 5 Starter Kit Pro?

1•pgedge_postgres•22m ago•0 comments

Prompt engineering vs. context engineering: a practical guide for AI builders

https://memgraph.com/blog/prompt-engineering-vs-context-engineering
1•taubek•22m ago•0 comments

Solder Ninja Pen: USB-powered soldering iron compatible with Weller RT tips

https://www.crowdsupply.com/sitron-labs/solder-ninja-pen
2•oxplot•30m ago•0 comments

OSS Document Scanner

https://www.akylas.fr/OSS-DocumentScanner/
1•farfromrefuge•32m ago•1 comments

Show HN: Line, Language with Intuitive and Natural Expression

https://github.com/Qc-17/LINE
1•Qc17•33m ago•1 comments

40 Years of Wireless Evolution Leads to a Smart, Sensing Network

https://spectrum.ieee.org/telecom-history-1g-to-6g
2•canarymark•34m ago•0 comments

Analysis → Implementation → Reflection – a practical technique for agentic AI

https://blog.scottlogic.com/2026/03/05/analysis-implementation-reflection-practical-techniques.html
1•ColinEberhardt•35m ago•0 comments

Phoenix Arizona is likely to see its earliest 100f(38c) day on record, in March

https://www.cnn.com/2026/03/12/weather/record-heat-west-eastern-cold-whiplash
3•b33f•36m ago•0 comments

Automating the Ticket-to-PR Cycle for Power Platform Code Apps with Azure DevOps

https://agent22.sh/blog/automating-power-platform-code-app-development-with-agent22/
1•cubixle•36m ago•0 comments