frontpage.
newsnewestaskshowjobs

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.

Attention deficit hyperactivity disorder shapes sexual experiences

https://www.psypost.org/how-attention-deficit-hyperactivity-disorder-shapes-sexual-experiences/
1•downbad_•48s ago•0 comments

Electricity Doesn't Need a Return Wire [video]

https://www.youtube.com/watch?v=it5UMt0lL8I
1•fussylogic•2m ago•1 comments

Life in the deep Atlantic depends on the Labrador Sea

https://news.cornell.edu/stories/2026/08/life-deep-atlantic-depends-labrador-sea
1•gmays•2m ago•0 comments

"The Fate of the Riemann Hypothesis" by Richard Evan Schwartz [pdf]

https://www.math.brown.edu/reschwar/Stories/AI.pdf
1•bananaflag•9m ago•0 comments

ProofWiki

https://proofwiki.org/wiki/Main_Page
1•Tomte•11m ago•0 comments

Monitoring the distribution of euro coins across borders (2021)

https://www.sciencedirect.com/science/article/pii/S2352340921003656
1•Tomte•11m ago•0 comments

Salesforce CEO says the 'SaaSpocalypse' is nonsense

https://www.cnbc.com/2026/08/26/salesforce-ceo-marc-benioff-saaspocalypse-nonsense.html
1•adletbalzhanov•13m ago•0 comments

Experiments with AI – Structure of Third Party Agentic Apps

https://karankurani.com/writing/post/w_20260722063839_af741a/experiments-with-ai-structure-of-thi...
1•BIackSwan•16m ago•0 comments

Record attempt: Longest train journey in the EU

https://crossborderrail.eu/longestjourney/
1•SiempreViernes•16m ago•0 comments

Looking for few users feedback for my community project

1•Chorum•16m ago•1 comments

Got a bunch of things to do, hate procrastination, any advice is welcome

https://textlog.cc/post/209
2•stagas•17m ago•0 comments

Ask HN: AI for Home Lab Infra?

1•voakbasda•18m ago•0 comments

Candy Toxins

https://exposingfoodtoxins.com/candy/
2•walterbell•18m ago•0 comments

Andrew Tate offered secret 'espionage' classes to exploit the dirty secrets of t

https://san.com/cc/manosphere-influencer-andrew-tate-faces-sexual-misconduct-charges-a-data-leak-...
2•pir8life4me•19m ago•1 comments

Blink

https://github.com/megootronic/Blink
2•megootronic•22m ago•0 comments

Best resources to learn inference engineering?

2•MihirSharma15•22m ago•1 comments

Which of these existed first? Quiz on textlog

https://textlog.cc/post/2895
3•stagas•24m ago•0 comments

Intern Spotlight: 2025 Software Engineering Summer Projects

https://www.hudsonrivertrading.com/hrtbeat/intern-spotlight-2025-software-engineering-summer-proj...
3•judicious•25m ago•0 comments

An Ode to Ben Thompson

https://www.mbi-deepdives.com/an-ode-to-ben-thompson/
2•gmays•25m ago•0 comments

Norway Shrugged

https://paragraph.com/@hagaetc/norway-shrugged
4•vinnyglennon•26m ago•0 comments

Show HN: Hillock: Local neuro-symbolic memory engine in <1.2GB VRAM

https://github.com/roandejager/Hillock
3•roandejager5•27m ago•0 comments

Scalable watermarking for identifying large language model outputs [pdf]

https://www.nature.com/articles/s41586-024-08025-4
2•thunderbong•27m ago•0 comments

Show HN: Skills MCP

3•gengirish•30m ago•1 comments

Resurrecting an old hack to build UI in GitHub READMEs

https://blog.jse.li/posts/markdown/
2•eat_veggies•30m ago•0 comments

Google Maps Now Shows 'Lake America' Instead of Lake Ontario

https://www.wired.com/story/google-maps-now-shows-lake-america-instead-of-lake-ontario/
3•khazhoux•32m ago•1 comments

Running SQLite Apps on Docker and Kubernetes with Litestream

https://openrun.dev/blog/litestream/
5•ajayvk•32m ago•2 comments

Going Founder Mode on Cancer – By Elliot Hershberg

https://centuryofbio.com/p/sid
1•vinnyglennon•34m ago•0 comments

Substantial under-detection of human rabies cases in the United States

https://www.nature.com/articles/s44528-026-00031-4
1•bucket2015•35m ago•0 comments

How to work remotely from France: the 2026 visa guide for digital nomads

https://www.foxapply.com/blog/en/work-remotely-from-france-digital-nomad-visa-guide
2•josanjohnata•35m ago•0 comments

Claude Skill – sourced research on how 5 social apps work

https://github.com/elchrysaki/social-app-teardown
1•elchrysaki•35m ago•0 comments