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•1y ago

Comments

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

How flat is replacing fat in AWS data center networks

https://www.amazon.science/blog/how-flat-is-replacing-fat-in-aws-data-center-networks
1•mooreds•39s ago•0 comments

How to Call an API from an Email

https://redo.com/eng-blog/how-to-call-an-api-from-an-email/
1•thunderbong•2m ago•0 comments

Rust LLM Usage Policy

https://github.com/jyn514/rust-forge/blob/llm-policy/src/policies/llm-usage.md
1•berlianta•3m ago•0 comments

Why Local Minima Are Rare in High-Dimensional Landscapes

https://www.grantstenger.com/local-minima
1•brandonb•4m ago•0 comments

Instagram account takeover exploit via support chatbot prompt injection (fixed)

https://twitter.com/weezerOSINT/status/2061223556994965643
1•yogorenapan•7m ago•0 comments

The Book That Started It All [video]

https://www.youtube.com/watch?v=vBwaWRZyIBM
1•asim95•8m ago•0 comments

Hermes Agent co-founder defends Polymarket skill coming pre-installed

https://twitter.com/teknium/status/2060936405732438428
2•rob•8m ago•0 comments

Ask Hn: Is Hacker News the Real Backrooms??

1•wizardforhire•8m ago•1 comments

Smart Rename – renames image file downloads in real time using local AI

https://github.com/chudweiser/smart-rename
1•chudweiser•8m ago•0 comments

How designers work – making sense of authentic cognitive activities

https://lup.lub.lu.se/search/publication/d88efa51-c2f9-4551-a259-00bd36fe8d03
1•rramadass•10m ago•0 comments

PewDiePie launches AI workspace built on top of OpenCode [video]

https://www.youtube.com/watch?v=rAzT5lcezPs
2•shrikaranhanda•14m ago•0 comments

My client is replacing me with Claude for all DevOps/infra and most feature dev

3•goatwrangler•14m ago•1 comments

10th Anniversary of the End of Tandy Computers – July 1, 1993

https://groups.google.com/g/comp.sys.tandy/c/N2kW8jkqHYo/m/tE4N_h4d73oJ?pli=1
1•reaperducer•20m ago•0 comments

Big Tech bets on new mascots in bid to seem more cuddly

https://www.bbc.com/news/articles/c99l1zzp8xzo
1•1vuio0pswjnm7•21m ago•0 comments

Marc Andreessen on the 5 personality traits of an innovator

https://www.startuparchive.org/p/marc-andreessen-on-the-5-personality-traits-of-an-innovator-5e06
1•alirohde•26m ago•1 comments

They Are Top Spenders in the Midterms. and They Hate Each Other

https://www.nytimes.com/2026/05/30/us/politics/anthropic-openai-super-pacs-midterms.html
2•alirohde•27m ago•0 comments

Show HN: webrtcforthestreamer.com – How WHIP makes streaming more connected

https://webrtcforthestreamer.com
2•Sean-Der•27m ago•1 comments

NPM-Scan:Detecting Dependency Confusion, Typosquatting,and Credential Harvesting

https://github.com/lateos-ai/npm-scan
1•lateos-ai•31m ago•0 comments

Dialing In the Ghost in the Machine: LLMs for guitar tones

https://vishsubramanian.me/lm-guitar-tone-generator-polychrome/
1•ingvay7•31m ago•0 comments

Modos Flow: 60 Hz open-hardware e-ink monitor

https://www.crowdsupply.com/modos-tech/modos-flow
2•alex-a-soto•32m ago•0 comments

The WAF blocked the obvious. Here is what it missed

https://arcis-website.pages.dev/blog/posts/why-your-waf-missed-it
1•gagancm•32m ago•0 comments

Minimax M3 on Open Router

https://openrouter.ai/minimax/minimax-m3
4•guybedo•33m ago•0 comments

Patient-reported treatment outcomes in ME/CFS and long Covid

https://www.pnas.org/doi/abs/10.1073/pnas.2426874122
1•brandonb•34m ago•0 comments

Concurrent device registration without Redis

https://seg6.space/posts/concurrent-registration/
1•seg6•37m ago•0 comments

Computing Scaling Laws

https://www.riq.net.br/pub/computing-scaling/index.html
1•manoDev•37m ago•0 comments

FBI Internet Crime Report 2025 [pdf]

https://www.ic3.gov/AnnualReport/Reports/2025_IC3Report.pdf
1•1vuio0pswjnm7•39m ago•0 comments

No Raise, No Promotion: 1 in 4 White-Collar Workers Are Stalling Out

https://www.wsj.com/lifestyle/careers/white-collar-workers-career-nyu-study-a81a7d9c
2•cebert•40m ago•1 comments

The DuckDuckGo logo changes depending on search terms

1•oldMobileOnWifi•41m ago•0 comments

ClickHouse launched a native Postgres managed service

https://clickhouse.com/blog/postgres-managed-by-clickhouse-beta
1•saisrirampur•44m ago•0 comments

Shift from a Leader-Follower to a Leader-Leader Approach

https://www.practicalengineering.management/p/shift-from-a-leader-follower-to-a
9•Alupis•47m ago•2 comments