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.

Floyd is an enterprise-level world model

https://www.loom.com/share/7b3ba36113e446548f3a79cf5fc1e42c
1•tjarzu•1m ago•0 comments

Walk me through this "Safety Third" thing

https://mikerowe.com/2020/03/walk-me-through-this-safety-third-thing/
1•andsoitis•1m ago•0 comments

Perplexity Computer Is Groundbreaking

https://karozieminski.substack.com/p/perplexity-computer-review-examples-guide
2•Lunaboo•3m ago•0 comments

Jack Dorsey Blamed AI for Block's Layoffs. Skeptics Aren't Buying It

https://www.wsj.com/business/jack-dorseys-latest-far-out-bet-an-ai-future-with-fewer-employees-25...
1•nradov•4m ago•0 comments

A new 'uncertainty relation' for quantum measurement errors

https://phys.org/news/2026-03-uncertainty-quantum-errors.html
1•bikenaga•4m ago•0 comments

Building an Elite AI Engineering Culture in 2026

https://www.cjroth.com/blog/2026-02-18-building-an-elite-engineering-culture
1•mooreds•4m ago•0 comments

Idaho considers an 'apocalyptic' choice for disabled people and families

https://19thnews.org/2026/03/idaho-medicaid-budget-cuts-disability-programs/
1•mooreds•4m ago•0 comments

Where AI Agents Are Heading: What We Learned from Recent YC Startups

https://e2b.dev/blog/yc-companies-ai-agents
1•tizkovatereza•8m ago•2 comments

Show HN: AgentCost – Track, control, and optimize your AI spending (MIT)

https://github.com/agentcostin/agentcost
1•agentcostin•9m ago•0 comments

Spectre I prevents smart devices and AI recorders from picking up your voice

https://www.deveillance.com/
1•tnorthcutt•9m ago•1 comments

Show HN: VideoEvaluator, a Video Comparison Tool

https://www.videoevaluator.com/
1•ekinertac•10m ago•0 comments

Show HN: AI tool that brutally roasts your AI agent ideas

https://whycantwehaveanagentforthis.com
1•Sattyamjjain•11m ago•0 comments

Toyota Once Used a Fake Dining Room Set to Teach Execs How Big Americans Are

https://www.thedrive.com/news/toyota-once-used-a-fake-dining-room-set-to-teach-executives-how-big...
2•coloneltcb•12m ago•0 comments

Show HN: Agent Action Protocol (AAP) – MCP got us started, but is insufficient

https://github.com/agentactionprotocol/aap/
2•hank2000•13m ago•0 comments

Deveillance Spectre I blocks smart devices and AI recorders

https://twitter.com/aidaxbaradari/status/2028864606568067491
3•geekfactor•14m ago•1 comments

The Attention Tax

https://www.afox.dev/posts/the-attention-tax
1•wtfox•15m ago•0 comments

Attacks on GPS Spike Amid US and Israeli War on Iran

https://www.wired.com/story/gps-attacks-on-ships-spike-amid-the-us-and-israeli-war-on-iran/
1•speckx•16m ago•0 comments

Show HN: The Nova: Evolution for Evolution's Sake

https://fuchsia-broad-flamingo-157.mypinata.cloud/ipfs/bafybeihc6mom4oowr6afzofxi7gzpnrsi3smaruur...
1•Novaga•16m ago•0 comments

Justice Department Seeks to Reverse Course and Defend Law Firm Sanctions

https://www.wsj.com/us-news/law/justice-department-seeks-to-reverse-course-and-defend-law-firm-sa...
3•JumpCrisscross•17m ago•0 comments

Why MAGA suddenly loves solar power

https://www.washingtonpost.com/business/2026/03/02/katie-miller-solar-power-trump/
1•standeven•18m ago•0 comments

Show HN: RUOK – Self-hosted personal OKR system with AI-powered analytics

https://github.com/zli117/RUOK/
2•lzl1234•19m ago•0 comments

Show HN: VibePod CLI – Run AI agents with isolation and better observability

https://vibepod.dev/
1•nezhar•20m ago•0 comments

Block's Jack Dorsey thinks AI can do 40% of his job

https://www.theguardian.com/technology/2026/mar/03/jack-dorsey-block-ai-worker-jobs
2•skor•22m ago•0 comments

Show HN: A runtime authorization layer for AI agents

2•rkka•23m ago•0 comments

Bash Is Not Enough: Why Large-Scale CI Needs an Orchestrator

https://www.iankduncan.com/engineering/2026-02-06-bash-is-not-enough/
2•PaulHoule•25m ago•0 comments

Why Your Company's Digital Sovereignty Is a House of Cards

https://medium.com/@gastonbehar/why-your-companys-digital-sovereignty-is-a-house-of-cards-556b31c...
2•gastonbehar•25m ago•1 comments

Why Test Environments Fail and What Top Teams Do to Avoid the Chaos

https://sdtimes.com/test/why-test-environments-fail-and-what-top-teams-do-to-avoid-the-chaos/
2•mikece•26m ago•0 comments

Easterlin Paradox

https://en.wikipedia.org/wiki/Easterlin_paradox
2•gessha•26m ago•0 comments

Claude is an Electron App because we've lost native

https://tonsky.me/blog/fall-of-native/
3•todsacerdoti•26m ago•0 comments

Show HN: OculOS – Any desktop app as a JSON API via OS accessibility tree

https://github.com/huseyinstif/oculos
2•stif1337•27m ago•0 comments