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

Comments

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

HP Wolf Security Threat Insights December 2025

https://threatresearch.ext.hp.com/hp-wolf-security-threat-insights-report-december-2025/
1•dexter_it•3m ago•0 comments

The Savage Empathy of the Mosh Pit

https://www.theatlantic.com/culture/2025/12/an-ode-to-moshpits/685025/
1•petethomas•4m ago•0 comments

GPT Image 1.5 AI

https://gptimage15.ai/
1•lovezac•4m ago•0 comments

Show HN: Python packages for FastAPI apps – auth, logging, config, LLM, more

https://github.com/Netrun-Systems/netrun-oss
1•DanielGarza•7m ago•1 comments

Show HN: I wrote a small lib to turn a USB gamepad into a Bluetooth one

https://github.com/skorokithakis/bluetooth-gamepad
2•stavros•8m ago•0 comments

Quantum Energy Teleportation Achieved Using W-State Entanglement

https://quantumzeitgeist.com/quantum-energy-teleportation-achieved-in-multi-qubit-systems-using-w...
1•CGMthrowaway•9m ago•0 comments

Consumer goods firms cut CEO tenures short in push for growth

https://www.reuters.com/sustainability/boards-policy-regulation/consumer-goods-firms-cut-ceo-tenu...
1•bikenaga•12m ago•0 comments

Luigi Pirandello's Broken Men

https://www.thenation.com/article/culture/luigi-pirandello-one-none-grand-review/
2•Caiero•15m ago•0 comments

Imagining All the People. Poetry Inspired by Beatles Lyrics

https://www.thebeatleworksltd.com
1•tramtrist•16m ago•0 comments

For artificial intelligence to thrive, it must explain itself (2018)

https://www.economist.com/science-and-technology/2018/02/17/for-artificial-intelligence-to-thrive...
1•julianpye•17m ago•1 comments

Rust 2025: Go, AI and Why It's Not Everywhere (Yet) – Jon Gjengset Explains

https://www.youtube.com/watch?v=nOSxuaDgl3s
1•Brysonbw•22m ago•0 comments

AI, DevOps, and Kubernetes: Kelsey Hightower on What's Next

https://www.youtube.com/watch?v=HdUbTyvrfKo
1•Brysonbw•23m ago•0 comments

Trump's Crypto Corruption Explained

https://www.youtube.com/watch?v=gpCxV-cRY4o
1•doener•24m ago•0 comments

Show HN: Open-source MCP OIDC provider

https://www.tigrisdata.com/blog/mcp-oidc-provider/
1•ovaistariq•25m ago•0 comments

CC: Google Labs AI agent for email+calendar

https://blog.google/technology/google-labs/cc-ai-agent/
1•zhyder•26m ago•0 comments

Show HN: TopBanner – Convert Site Visitors to Customers Without Annoying Popups

https://topbanner.app
1•kapersky11•30m ago•1 comments

Making LLMs Useful

https://boliv.substack.com/p/improving-the-usability-and-user
1•brunooliv•30m ago•0 comments

Needle Inspector – Inspect any Three.js project [video]

https://www.youtube.com/watch?v=zSFqZSqzGGw
2•marwi•32m ago•1 comments

Taiwan's Receipt Lottery: The Genius Tax Trick on Desperation

https://www.pablomusumeci.com/p/taiwans-receipt-lottery-the-genius
2•prawn•35m ago•0 comments

Can You Ace This Jane Austen 250th Birthday Trivia Quiz?

https://www.nytimes.com/interactive/2025/12/16/books/review/16TBR-AUSTEN-QUIZ.html
1•whack•37m ago•0 comments

Americans overestimate how many social media users post harmful content

https://academic.oup.com/pnasnexus/article/4/12/pgaf310/8377954?login=false
10•bikenaga•43m ago•8 comments

More than 100 rally against data centers at Michigan Capitol

https://www.lansingstatejournal.com/story/news/local/2025/12/16/lansing-state-capitol-data-center...
2•rmason•45m ago•1 comments

How I Trained My Memory

https://fivetwelvethirteen.substack.com/p/how-i-trained-my-memory
1•yorwba•45m ago•0 comments

Data centers and their energy use: Trends in state capitals

https://www.carbon-direct.com/insights/data-centers-and-their-energy-use-trends-in-state-capitals
1•atlasunshrugged•45m ago•1 comments

Show HN: Skouriasmeno Papaki – S3 transfer tool, up to 12x faster than AWS-CLI

https://github.com/NetViper-Labs/skouriasmeno-papaki
4•NetViper•48m ago•0 comments

Oracle's $248 Billion Rent is Another Al 'Bombshell'

https://www.bloomberg.com/opinion/articles/2025-12-16/ai-bubble-oracle-delivers-next-bombshell-wi...
5•voxadam•51m ago•1 comments

Show HN: F. Incantatem – CLI, Decorator & notebook ext. for traceback analysis

https://github.com/aguilar-ai/fincantatem
2•Paralus•53m ago•0 comments

Officials Say Gunman Likely 'Cased' Campus Before Brown Shooting

https://www.nytimes.com/2025/12/16/us/brown-university-shooter-search-investigation.html
3•Bender•53m ago•0 comments

Show HN: AI Trolley Problem Arena

https://www.aitrolleyproblem.com/
6•justintorre75•57m ago•1 comments

Moving Cloudflare out of the critical path

https://duggan.ie/posts/moving-cloudflare-out-of-the-critical-path
2•duggan•57m ago•0 comments