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.

The agent tax has arrived: Google Workspace's MCP pricing

https://martinalderson.com/posts/the-agent-tax-has-arrived/
1•martinald•1m ago•0 comments

OpenAI countersues Apple for stealing trade secrets

https://www.cnbc.com/2026/11/27/openai-countersues-apple-for-stealing-trade-secrets-ft-reports.html
1•Betelbuddy•2m ago•0 comments

Ask HN: Isn't it time we promote conversation rather than d*wnr*nking it?

1•bbor•2m ago•0 comments

Ask HN: How did you get your MVP in front of your first potential customers?

1•apartmentarch•3m ago•0 comments

EasyDNS Data Breach

https://easydns.com/blog/2026/11/27/easydns-data-breach/
1•N7lo4nl34akaoSN•3m ago•0 comments

Hackers in China, N Korea using ARTEX AI tool to break into global tech systems

https://www.theregister.com/security/2026/11/26/microsoft-hackers-in-china-n-korea-using-artex-ai...
1•rbanffy•4m ago•0 comments

In Praise of Experimenting on Children

https://economist.com/britain/2026/11/26/in-praise-of-experimenting-on-children
1•andsoitis•5m ago•0 comments

Show HN: Virtum – Docker-like CLI for local KVM VMs and multi-VM labs

https://github.com/Marvinviverge/virtum
1•Marvin-Virtum•8m ago•0 comments

Musk pledges two SpaceX shares for every US child with Trump Account

https://www.reuters.com/business/media-telecom/musk-says-every-child-us-will-get-two-spacex-share...
2•dataflow•8m ago•0 comments

Phone Is a Kubernetes Node

https://fzakaria.com/2026/11/27/your-phone-is-a-kubernetes-node
1•setheron•8m ago•0 comments

Hackers broke into the U.S. Air Force's cloud computing and control platform

https://www.cnbc.com/2026/11/27/hackers-breach-us-air-force-flagship-cloud-one-computing-platform...
2•shinryudbz•16m ago•0 comments

EtherPK Kanban Board Hands Markdown Tasks to Claude Code

https://emergent.sh/news/etherpk-kanban-board-hands-markdown-tasks
1•gb2d_hn•17m ago•0 comments

Why optimistic updates are corrosive

https://datastar-instant-intent.ndyg.cross.stream/corrosive/
1•todsacerdoti•18m ago•0 comments

208 startup directories checked by hand: the 71 that give a followed link

https://listhero.app/directories/
1•babacklindo•19m ago•0 comments

The Bitter Lesson

http://www.incompleteideas.net/IncIdeas/BitterLesson.html
1•t23•19m ago•0 comments

Rust 1.100.1

https://blog.rust-lang.org/2026/11/27/Rust-1.100.1/
2•madsmtm•20m ago•1 comments

The Energy of Thought

https://aeon.co/essays/all-our-models-of-how-the-mind-functions-are-missing-something
2•randomImmigrant•23m ago•0 comments

Boots Theory

https://en.wikipedia.org/wiki/Boots_theory
2•chistev•23m ago•0 comments

'Some Things Never Leave You': Christian Livermore on Poverty's Indelible Marks

https://longreads.com/2022/10/11/some-things-never-leave-you-christian-livermore-on-povertys-inde...
2•chistev•24m ago•0 comments

Japanese brand unveils 5G smartphone with physical buttons, scam call detection

https://www.notebookcheck.net/Japanese-brand-unveils-5G-smartphone-for-seniors-with-physical-butt...
4•thunderbong•25m ago•1 comments

Recovering data from a dead website via the Wayback Machine

https://blog.mistys-internet.website/post/2026/11/20/recovering-data-from-a-dead-website-via-the-...
2•ingve•26m ago•0 comments

NPR's All Things Considered Makes the Case for Data Centers

https://www.npr.org/2026/11/26/nx-s1-6030630/the-case-for-data-centers
4•rmason•28m ago•1 comments

Bioluminescence and Living Earth

https://worldsensorium.com/bioluminescence-and-living-earth/
1•dnetesn•31m ago•0 comments

Dutch foreign minister urges U.S. to drop proposed restrictions on ASML in China

https://nltimes.nl/2026/11/25/dutch-foreign-minister-urges-us-drop-proposed-restrictions-asml-china
3•Betelbuddy•32m ago•0 comments

How Old Is the Sun?

https://blue-continuum.com/how-old-is-the-sun
1•dnetesn•32m ago•0 comments

TaskExplorer Now Available for Linux

https://github.com/davidxanatos/taskexplorer
1•DavidXanatos•34m ago•0 comments

AI Security Engineers

https://github.com/mimoo/awesome-ai-security-engineer
1•baby•34m ago•0 comments

show-me: a coding agent skill for compact visual representations

https://www.humanlayer.com/blog/show-me-skill
1•mpweiher•34m ago•0 comments

Meta defends AI glasses in court as Dutch groups demand ban

https://nltimes.nl/2026/11/26/meta-defends-ai-glasses-court-dutch-groups-demand-ban
2•Betelbuddy•36m ago•0 comments

Wine 11.23 – Run Windows Applications on Linux, BSD, Solaris and macOS

https://www.winehq.org/announce/11.23
3•neustradamus•37m ago•1 comments