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.

Good Beginner

https://twitter.com/saranormous/status/2125466501226594642
1•gmays•49s ago•0 comments

SpaceX gets FCC approval for 1M satellites to build data centers in space

https://www.cbsnews.com/news/spacex-fcc-approval-data-centers-space/
1•qtqtqt•1m ago•0 comments

Catching crumbs from the table (2000) [pdf]

https://gwern.net/doc/fiction/science-fiction/2000-chiang.pdf
1•japalan•2m ago•0 comments

An algebraic quantization of gravity from the null cone

https://arxiv.org/abs/2611.34924
1•hecmmm•3m ago•1 comments

macOS reverse Rosetta translation layer for Intel PCs removed from GitHub

https://github.com/tylertms/Stela/blob/main/README.md
2•rvz•5m ago•0 comments

Twig 1.18.2 – Copy, move or archive across folders, keep structure

https://github.com/dev2ex/twig/releases/tag/v1.18.2
1•dev2ex•9m ago•0 comments

Show HN: HookArmor – Self-hosted webhook queue that defeats 300s replay expiry

https://hookarmour.dev/
1•pkdoddamani•16m ago•0 comments

EFF: Outage Chaos: When Tech Is Too Big to Fail

https://www.eff.org/deeplinks/2026/11/outage-chaos-when-tech-too-big-fail
3•catab•17m ago•0 comments

Who wrote the Book of Mormon? Testing with pre-1830 language models

https://lifehug.com/book-of-mormon/
2•etherfuse•26m ago•0 comments

Study explains why radiation-triggered failures occur in electronics

https://news.ncsu.edu/2026/11/why-single-event-burnout-happens/
4•giuliomagnifico•27m ago•0 comments

Lions' Commentary on Unix: Why It Was Secretly Copied for 20 Years

https://fosscomics.com/posts/17.%20Lions%27%20Commentary%20on%20Unix/
2•joonehur•28m ago•0 comments

Show HN: An insanely cool-looking app on iPhone Duo

https://apps.apple.com/cn/app/%E9%A3%9E%E8%88%9E%E7%B2%92%E5%AD%90-%E4%BA%94%E5%BD%A9%E6%96%91%E6...
1•lucakk•30m ago•0 comments

Precisely.ai Catalog – AI Studio Catalog of App, Agent, Skill and Server

https://precisely.ai/explore
1•peter_d_sherman•31m ago•0 comments

Show HN: Fattura – Parse credit card PDF statements and split family bills

https://www.usefattura.com.br/en
1•jonathasgouv•36m ago•0 comments

Yournotalone

https://mindpillars.app
1•reaganenoch•37m ago•0 comments

I Learned to Stop Worrying and Love the AI

2•ghastmaster•40m ago•1 comments

Tate Brothers extradition hearing delayed until mid January

https://www.independent.co.uk/news/uk/crime/andrew-tate-tristan-tate-extradition-hearing-b3085979...
2•illidan1000•40m ago•0 comments

Unconditional Integer Factorization in Subexponential Time

https://github.com/google-research/google-research/tree/4a7bc8ab0bc770e71a259b7966c500496b99010a/...
2•_alternator_•41m ago•0 comments

The Beauty of CSS Mixins

https://patrickbrosset.com/articles/2026-11-25-the-beauty-of-css-mixins/
1•todsacerdoti•45m ago•0 comments

How I deal with angry and misinformed people

https://citizen-first.org/2026/11/26/how-i-deal-with-angry-and-misinformed-people/
4•kguppta•45m ago•1 comments

But good sir, what is electricity? (2025)

https://blog.coredump.cx/p/but-good-sir-what-is-electricity
1•crescit_eundo•47m ago•0 comments

'Rejection Will Have Consequences': Inside Team Trump's Takeover of Intel

https://www.wired.com/story/inside-trumps-demands-to-another-chips-ceo/
4•qlte•48m ago•2 comments

Claude tries to sabotage research work at every stage

https://twitter.com/skirano/status/2125371115979641188
2•theanonymousone•52m ago•2 comments

Qwen-4-27B-Preview Released on HF

https://huggingface.co/spaces/SUGE212/Qwen-4-27B-Preview
3•helloericsf•52m ago•0 comments

The Last Boring Slide

https://twitter.com/fluxxrider/status/2125622238481371372
3•cmarschner•54m ago•1 comments

Hegseth, Pentagon officials floated using wartime law to reappoint Nvidia CEO

https://www.washingtonpost.com/technology/2026/11/25/hegseth-pentagon-officials-floated-using-war...
4•elffjs•54m ago•0 comments

Amazon says hackers' AI agents found and exploited 0-day with little human input

https://arstechnica.com/security/2026/11/amazon-says-hackers-ai-agents-found-and-exploited-0-day-...
2•gmays•54m ago•0 comments

Show HN: Hush, the fastest computer use for AI agents

https://github.com/OgnjenAdzic28/hush
2•Ogi28•55m ago•0 comments

Typed Indices in Zig

https://lvignoli.eu/posts/2026-11-16-typed-indexes-in-zig/
2•signa11•56m ago•0 comments

Game Autoresearch Bench: Can AI agents train strong game bots on a budget?

https://gameautoresearch.github.io/
2•luu•58m ago•0 comments