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

Comments

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

Mossad hacked traffic cameras to track Ayatollah Khamenei

https://www.google.com/search?q=How+Mossad+hacked+traffic+cameras+to+track+Ayatollah+Khamenei
2•asdefghyk•2m ago•1 comments

Show HN: Hacking Sony A6000 for Fun

https://docodethatmatters.com/hacking-sony-a6000-for-modernization/
1•skittleson•3m ago•0 comments

How Anonymous Bettors Cashed in on the Iran Strike, Hours Before It Happened

https://www.nytimes.com/2026/03/03/upshot/prediction-markets-iran-strikes.html
2•jbegley•3m ago•0 comments

Better JIT for Postgres

https://github.com/vladich/pg_jitter
2•vladich•4m ago•0 comments

Earthquake-Proof Foundations

https://practical.engineering/blog/2026/3/3/earthquake-proof-foundations
1•vismit2000•5m ago•0 comments

Windows 12 will need 40 TOPS AI NPU chip to run

https://tbreak.com/windows-12-leaked-2026-ai-npu-requirement/
2•KnuthIsGod•6m ago•0 comments

Show HN: PardusAI – Data Science Agent (Not 2026 YC)

https://pardusai.org/
1•jasonEinstien•8m ago•0 comments

Show HN: Deploy OpenClaw in 60 Seconds

http://deployclaw.ai/
1•Creator-io•13m ago•0 comments

FBI stymied by Apple's Lockdown Mode after seizing journalist's iPhone

https://arstechnica.com/tech-policy/2026/02/fbi-stymied-by-apples-lockdown-mode-after-seizing-jou...
1•alwillis•16m ago•1 comments

Apple Does Fusiom

https://om.co/2026/03/03/apple-does-fusion/
1•noahmbarr•16m ago•0 comments

Human-written code died in 2025. Code reviews will die in 2026

https://www.latent.space/p/reviews-dead
1•tdchaitanya•18m ago•0 comments

Amazon S3 Paper Cuts

https://arturdryomov.dev/posts/amazon-s3-paper-cuts/
2•ming13•23m ago•0 comments

Triage Report

https://tria.ge/260303-v3afzaht5y/behavioral2
1•KaoruAK•24m ago•1 comments

The dry and the wet burn together: On the war against Iran

https://www.lrb.co.uk/blog/2026/march/the-dry-and-the-wet-burn-together
1•mitchbob•25m ago•0 comments

The Unreasonable Effectiveness of Nonstandard Analysis (2020)

https://www.alphaxiv.org/abs/1508.07434
1•measurablefunc•25m ago•0 comments

Show HN: I can't code – I built a bonded execution engine for AI agents anyway

https://github.com/selfradiance/agentgate/blob/main/docs/manifesto.md
1•selfradiance•27m ago•1 comments

Attacker can bypass cryptography and prove mathematically impossible statements

https://osec.io/blog/2026-03-03-zkvms-unfaithful-claims/
1•nailer•29m ago•0 comments

DualPath: Breaking the Storage Bandwidth Bottleneck in Agentic LLM Inference

https://arxiv.org/abs/2602.21548
1•nsoonhui•30m ago•0 comments

w0rdz aRe 1mpoRtAnt

https://blog.jim-nielsen.com/2026/w0rdz-are-1mportant/
1•Curiositry•35m ago•0 comments

Lentil – LLM Powered Linting

https://github.com/Haizzz/lentil
1•haizzz•40m ago•0 comments

"Post-Visual Web: Designing pages for agents, not readers

https://salah.louizy.com/blog/post-visual-web/
2•losalah•41m ago•0 comments

What clues reveal about a possible Windows 12

https://www.pcworld.com/article/3068331/windows-12-rumors-features-pricing-everything-we-know-so-...
3•XzetaU8•42m ago•0 comments

Show HN: HumanRoot – Signed proof of human authorization for AI agents

https://github.com/Thinklanceai/humanroot
1•thinklanceai•44m ago•0 comments

Claude vs. US Govt: OpenAI Gamble

https://www.youtube.com/watch?v=Ph8CrTNlWbM
1•ashutosh0707•51m ago•0 comments

Show HN: Mindspend – Track how you feel about your spending, not just numbers

https://www.mindspend.app/
2•mogic•51m ago•0 comments

Generate a production-ready constitution.md or Claude.md for spec driven dev

https://younss.github.io/ConstitutionKit/
1•younss•52m ago•0 comments

Stocklens Software

https://stocklnsss.lovable.app
1•StockLens_1•57m ago•0 comments

Mac Has Hidden VRAM [video]

https://www.youtube.com/watch?v=nxCtScEImew
1•goosebump•57m ago•0 comments

Show HN: Offline AI That Analyzes Your Health Data with Evidence-Based Reasoning

https://twitter.com/AshtonBars/status/2028612540444651995
1•sagebowsystem•1h ago•0 comments

Ask HN: Who's hiring but companies that don't have AI mandates?

2•ares623•1h ago•2 comments