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

Comments

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

I made Meta's TRIBE v2 watch YouTube in real time

https://www.youtube.com/watch?v=I4oGPLMVoC0
1•merlin_mimer•33s ago•0 comments

Compound drivers of Antarctic sea ice loss and Southern Ocean destratification

https://www.science.org/doi/10.1126/sciadv.aeb0166
1•littlexsparkee•1m ago•0 comments

General Motors fined $12.75M for selling location data

https://privacy.ca.gov/2026/05/when-it-comes-to-data-privacy-consumers-must-be-in-the-drivers-sea...
1•jboggan•2m ago•0 comments

Show HN: Tuxedo – A fast, keyboard-driven terminal UI for todo.txt

https://github.com/webstonehq/tuxedo
1•mikenikles•2m ago•0 comments

Scaling Trusted Access for Cyber with GPT‑5.5 and GPT‑5.5‑Cyber

https://openai.com/index/gpt-5-5-with-trusted-access-for-cyber/
2•allanrbo•7m ago•0 comments

55 Hours of Codex /Goal: What a Port Task Teaches You About Autonomous Loops

https://vexjoy.com/posts/55-hours-of-codex/
1•AndyNemmity•10m ago•0 comments

Discord Automates ScyllaDB Clusters at Scale

https://discord.com/blog/how-discord-automates-scylladb-clusters-at-scale
1•cyndunlop•10m ago•0 comments

Use of the ML-DSA Signature Algorithm in the Cryptographic Message Syntax

https://datatracker.ietf.org/doc/rfc9882/
1•mooreds•11m ago•0 comments

Meta Shuts Down End-to-End Encryption for Instagram Messaging

https://www.pcmag.com/news/meta-shuts-down-end-to-end-encryption-for-instagram-dms-messaging
5•tcp_handshaker•14m ago•0 comments

Pagaya investor seeks refund, claiming AI real estate fund wiped 80% of capital

https://www.calcalistech.com/ctechnews/article/3a0p63mof
3•tcp_handshaker•15m ago•0 comments

ASML to invest $1.5B in Mistral at over $11B valuation

https://www.calcalistech.com/ctechnews/article/bycca4sclg
2•tcp_handshaker•16m ago•0 comments

Try Out AgentBase

https://useagentbase.com/
2•justin22a•17m ago•2 comments

Fixing Markdown Syntax Is a Nightmare

https://mdview.io/s/fixing-markdown-syntax-is-a-nightmare
1•Igor_Wiwi•17m ago•1 comments

Android application to switch display into side-by-side VR mode

https://github.com/dmikushin/android-native-sbs
2•Eridanus2•19m ago•0 comments

Incremental History Searching with .inputrc

https://codeinthehole.com/tips/the-most-important-command-line-tip-incremental-history-searching-...
1•kamaraju•20m ago•0 comments

What's a Lakestream?

https://blog.2minutestreaming.com/
1•sijieg•23m ago•0 comments

My Response to Open Web Censorship Calls-to-Action

https://www.scottrlarson.com/blog/blog-response-open-web-action-calls/
1•trinsic2•23m ago•0 comments

Local Autonomous Security Agent-QWEN2.5-7B+MCP Agent Loop

https://huggingface.co/automajicly
2•automajicly•23m ago•0 comments

AWS data center outage hits trading on Fanduel, Coinbase

https://www.cnbc.com/2026/05/08/aws-outage-data-center-fanduel-coinbase.html
4•bigflern•24m ago•0 comments

Claude Conference 2026 Videos

https://www.youtube.com/playlist?list=PLmWCw1CzcFim2obQ-w3ohbULOfwp5lApR
2•rmason•24m ago•0 comments

Trump Media and Technology Group reports $405.9M net loss, $900k revenue

https://finance.yahoo.com/markets/stocks/articles/trump-media-technology-group-reports-203000071....
6•computerliker•29m ago•0 comments

W Social uncovered: the reality behind the hype

https://blog.elenarossini.com/w-social-uncovered-the-reality-behind-the-hype/
2•cratermoon•29m ago•0 comments

Killswitch: Add per-function short-circuit mitigation primitive

https://lore.kernel.org/all/20260507070547.2268452-1-sashal@kernel.org/
2•speckx•30m ago•0 comments

When life gives you lemons, write better error messages

https://wix-ux.com/when-life-gives-you-lemons-write-better-error-messages-46c5223e1a2f
1•luispa•30m ago•0 comments

Deploying Go with Apache? (Using FastCGI)

https://www.piperswe.me/blog/2023-10-12-deploy-go-with-fastcgi
2•mooreds•32m ago•0 comments

If Anyone Builds It, Everyone Dies

https://ifanyonebuildsit.com/
2•lisper•32m ago•0 comments

Sam Altman of OpenAI responds to murder accusations (2025) [video]

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

Show HN: Vibe code your agents without vibe coding your agent

https://deepeval.com/docs/vibe-coding
2•jeffreyip•33m ago•0 comments

Pentagon will 'never again' rely on a single AI provider, official says

https://www.nextgov.com/artificial-intelligence/2026/05/pentagon-will-never-again-rely-single-ai-...
6•billybuckwheat•35m ago•0 comments

The all-new Fitbit Air

https://blog.google/products-and-platforms/devices/fitbit/fitbit-air/
2•tlyleung•35m ago•0 comments