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

Comments

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

Court orders restart of all US offshore wind power construction

https://arstechnica.com/science/2026/02/court-orders-restart-of-all-us-offshore-wind-construction/
3•ck2•3m ago•0 comments

Delta – Cut LLM inference costs 30-60% with lossless compression

https://www.triage-sec.com/blog/delta-ltsc
2•nicksec•4m ago•0 comments

Jobs report postponed due to Govt shutdown

https://www.axios.com/2026/02/02/jobs-report-postponed-shutdown
1•xvxvx•4m ago•1 comments

LLMs and the Creation of Valuable Books

https://www.nber.org/papers/w34777
1•bikenaga•5m ago•0 comments

Jeffery Epstein Went to Defcon 26. Been Monitoring Since Defcon 21

https://old.reddit.com/r/Defcon/comments/1qt7p3q/jeffery_epstein_went_to_defcon_26_been_monitoring/
1•DyslexicAtheist•5m ago•0 comments

The Color of Safety

https://protocolized.summerofprotocols.com/p/the-color-of-safety
1•laurex•9m ago•0 comments

The $25K EV Truck You Can Repair Yourself: Meet the Slate Truck [video]

https://www.youtube.com/watch?v=L6_9_HHLOSY
3•consumer451•10m ago•1 comments

Git v2.53.0

https://lwn.net/ml/all/xmqq4inz13e3.fsf@gitster.g/
1•samtrack2019•11m ago•0 comments

Molt_life_kernel: Production agent continuity from 100k+ AI agents on Moltbook

https://github.com/X-Loop3Labs/molt-life-kernel
2•X-Loop3•11m ago•1 comments

Chrome extension to block URL and redirect to top Hacker News

https://github.com/VChawale/url-blocker-hn-chrome
1•vchawale•14m ago•1 comments

Show HN: Ilion – Vector-based semantic verification (TensorFlow.js)

https://zenodo.org/records/15410945
1•ilion_identity•17m ago•0 comments

LLMs versus the Halting Problem: Revisiting Program Termination Prediction

https://www.orensultan.com/llms_halting_problem/
1•matt_d•21m ago•0 comments

Wikipedia Annual Plan – Contribute to the Big Questions

https://meta.wikimedia.org/wiki/Talk:Wikimedia_Foundation_Annual_Plan/2026-2027
1•tonymet•24m ago•0 comments

Elon Musk Merges SpaceX with XAI

https://www.nytimes.com/2026/02/02/business/spacex-xai-deal.html
2•frenchman_in_ny•28m ago•2 comments

Teachers/tutors, how do you do remote coding lessons?

1•Jamaldeen•30m ago•0 comments

Adobe Animate will be discontinued effective March 1, 2026

https://helpx.adobe.com/uk/animate/kb/end-of-life.html
3•g0ld3nrati0•34m ago•3 comments

NYC's mayor will shut down 'gifted and talented' program

https://www.dailymail.co.uk/news/article-15509309/nyc-mayor-zohran-mamdani-axe-gifted-program.html
4•mhb•34m ago•2 comments

Axiom: Hi-perf. C++ tensor lib. NumPy/PyTorch-like API, SIMD,BLAS,Metal support

https://github.com/Frikallo/axiom
2•npalli•35m ago•0 comments

Autism vs. Dating Profile Optimizing. One Winner. Claude Skill

https://github.com/b1rdmania/hinge-profile-optimizer
2•birdmania•35m ago•1 comments

How LSP Works: Building a Grammar Checker LSP from Scratch in Rust

https://www.aroy.sh/posts/lsp-deep-dive/
1•trifiasco•38m ago•0 comments

Benchmarking LLMs for Voice Agent Use Cases

https://www.daily.co/blog/benchmarking-llms-for-voice-agent-use-cases/
1•benlower•39m ago•0 comments

Accelerating our global growth: Waymo raises $16B investment round

https://waymo.com/blog/2026/02/waymo-raises-usd16-billion-investment-round
2•boulos•40m ago•1 comments

Watching Insidious in VR in a small NYC theater

https://partiful.com/e/ydTGBueYzwm19nv4XYrq
2•danielgh7•40m ago•1 comments

We're helping preserve the genetic information of endangered species with AI

https://blog.google/innovation-and-ai/technology/ai/ai-to-preserve-endangered-species/
1•tzury•41m ago•0 comments

Porn stars can survive in the age of AI

https://www.economist.com/business/2026/01/27/how-porn-stars-can-survive-in-the-age-of-ai
3•jdkee•41m ago•1 comments

Msgvault: Fast Gmail search from the author of Pandas

https://wesmckinney.com/blog/announcing-msgvault/
1•wdaher•42m ago•0 comments

A sweat-based sensor may help improve sleep quality

https://medicalxpress.com/news/2026-01-based-sensor-quality.html
1•PaulHoule•43m ago•0 comments

The Tech Elites in the Epstein Files

https://www.wired.com/story/epstein-files-tech-elites-gates-thiel-musk/
8•spenvo•43m ago•0 comments

Turbopuffer TUI

1•ralaruri•43m ago•0 comments

Show HN: MoonLocator – Astronomical library for moon calculations in Java

https://github.com/dgrims3/MoonLocatorLibrary
1•tenahu•44m ago•0 comments