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.

Reply Better AI – browser AI writing that runs on-device or your Ollama

https://chromewebstore.google.com/detail/reply-better-ai/dpdibbijcljdjnafjnmaljphpkfojlkb
1•wpdevant•9s ago•1 comments

Show HN: Country Draw – draw country borders from memory

https://countrydraw.net
1•alanzhan•18s ago•0 comments

Git log for your infrastructure (including your AI agent's config)

https://github.com/statedrift/statedrift
1•ibukunolu•32s ago•0 comments

Show HN: Comber explores your app once, then replays QA checks deterministically

https://codecomber.io
1•RADLAB•2m ago•0 comments

Europe's Ultra-Rich Could Fund a Substantial Part of the EU's Budget

https://www.socialeurope.eu/europes-ultra-rich-could-fund-a-substantial-part-of-the-eus-budget
1•robtherobber•2m ago•0 comments

Hugging Face rebuilt a third of its infrastructure after OpenAI agents ran amok

https://www.theregister.com/ai-and-ml/2026/07/28/openais-agent-siege-forced-significant-rebuild-a...
2•joebuckwilliams•3m ago•0 comments

CachyOS Outperforming Windows 11, Slight Advantage over Ubuntu and Fedora

https://www.phoronix.com/review/amd-hx470-windows-linux
1•speckx•3m ago•0 comments

Show HN: Haserupt – A different take on reducing phone usage

https://www.haserupt.com
1•vishalds•3m ago•0 comments

Designing Patterns to Prevent IDOR

https://sevhunt.com/docs/blog/designing-patterns-to-prevent-idor/
1•mortensonsam•3m ago•0 comments

Close Calls in Life

https://medium.com/freedomofthought/close-calls-821e9fa5e811
1•raynchad•3m ago•0 comments

Exploring FlashAttention-3/4 optimizations on RTX GPUs

https://riftstack.ai/research/learning-flashattention-the-hard-way-part-2
1•gkapur•3m ago•1 comments

What If We Never Built Another New Building?

https://reasonstobecheerful.world/what-if-we-never-built-another-new-building/
2•heavybiscotti•3m ago•0 comments

Cross-Platform CLI and GUI Tools with Tcl/Tk

https://cgicoffee.com/blog/2026/04/tcl-tk-develop-cross-platform-cli-gui-tools-tutorial-guide
1•ux266478•4m ago•0 comments

Show HN: Purple Hammer – construction takeoff and estimating in Tauri/Rust/WASM

https://purple-hammer.com/
1•AriIs•6m ago•0 comments

ZWPlayer 3.3.1 – VR/360° playback, multi-audio tracks, and TTS dubbing

https://www.zwplayer.com/
1•logicplayer•8m ago•0 comments

Ask HN: Crooked Timber showed showed me a virus captcha, What now?

3•Jgoauh•8m ago•0 comments

I analyzed all 14,865 listings in Coinbase's x402 agent-payment registry

https://github.com/rikocr8orh8/x402-bazaar-survey/blob/master/POST.md
1•rikolinks•8m ago•0 comments

Doing Okay-ish with AI at the AI-proof competition

https://blog.greg.technology/2026/07/26/doing-okayish-with-ai-at-the-ai-proof-competition.html
2•gregsadetsky•9m ago•0 comments

Show HN: Tines 3B – safe workflow automation for when everyone builds software

https://www.tines.com/
12•retsol•10m ago•1 comments

Moving from Claude to Proton Lumo

https://blog.nutts.org/2026/07/27/moving-from-claude-to-proton-lumo/
1•speckx•10m ago•0 comments

Verso is a platform for writing documents, books, course materials, and websites

https://verso.lean-lang.org/
1•Tomte•11m ago•0 comments

Show HN: Countify – Collaborative No-code computer vision for labs

https://www.countifybio.com/
1•mfisc_019•12m ago•0 comments

Note-Taking and Personal Knowledge Management

https://unattributed.cc/note-taking-and-personal-knowledge-management
1•surprisetalk•12m ago•0 comments

Show HN: Cetus – A macOS App for Claude Code, Codex, OpenCode, and More

https://github.com/drewnekota/cetus
1•williamjinq•12m ago•1 comments

Why does everything feel so joyless? The age of decadence without pleasure

https://www.theguardian.com/us-news/ng-interactive/2026/jul/26/age-of-decadence-pleasure-ai
4•robtherobber•13m ago•0 comments

The End of Research

https://artreview.com/the-end-of-research-michelle-santiago-cortes/
2•jruohonen•14m ago•0 comments

Lessons learned from handling a KVM flaw on tens of thousands of machines

https://blog.ovhcloud.com/en/posts/cve-2026-53359-kvm-patching-lessons-learned/
1•mooreds•17m ago•0 comments

Webb finds a hidden exoplanet using spectroscopy instead of direct imaging

https://science.nasa.gov/missions/webb/nasas-webb-discovers-hidden-planet-in-famous-star-system/
1•MarcoDewey•18m ago•0 comments

Rio-vt and librio: Rio's terminal engine, now embeddable

https://rioterm.com/blog/2026/07/27/rio-vt-and-librio
1•vinhnx•18m ago•0 comments

Show HN: New tab, but it's a random chess puzzle

https://chromewebstore.google.com/detail/leetchess/hogbcffpfhmcagfjbpiofabechljdflk
2•0xmattf•19m ago•0 comments