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.

No timeline for lifting Land Registry paywall as ownership remains opaque

https://www.theguardian.com/environment/2026/oct/15/no-timeline-for-lifting-land-registry-paywall...
1•edward•29s ago•0 comments

Something is falling apart at GNOME, and it's not subtle

https://grigio.org/something-is-falling-apart-at-gnome-and-its-not-subtle/
1•pjmlp•3m ago•0 comments

Show HN: Content-adaptive display brightness for macOS with DDC/CI support

https://github.com/lenbrocki/lumos
1•lenbrocki•3m ago•0 comments

Furifont, a Japanese font that shows furigana

https://furifont.antfu.me/
2•plaguna•18m ago•0 comments

Show HN: Bateri – a terminal, which you can drag&drop files to upload/download

https://bateri.dev/
2•tdgunes•18m ago•0 comments

Show HN: Ampsu – Privacy and EU-focused, adaptive TDEE fast calorie tracker

https://ampsu.eu/
1•hell-in-a-cell•19m ago•0 comments

WSP MCP – Free WordPress MCP for Connecting AI Coding Agents

https://github.com/bilalnaseer/wsp-wordpress-mcp
1•wspmcp•21m ago•0 comments

Jazz² Resurrection

https://de4th.dev/jazz2/
1•mrngm•22m ago•1 comments

Movietonight

https://movietonight.ai
1•Olubanjo_Kolapo•23m ago•0 comments

Bidirectional Type Slicing

https://arxiv.org/abs/2607.12197
1•fanf2•24m ago•0 comments

A death, a plagiarism scandal, a quest for revenge: the tale of Otto Z

https://www.theguardian.com/news/ng-interactive/2026/oct/08/a-death-a-plagiarism-scandal-and-a-qu...
2•Michelangelo11•32m ago•0 comments

Kerno 1.0 – AI Back End Runtime QA Engineer

https://kerno.io/blog/kerno-v1/
1•karimtr•35m ago•0 comments

AppReviewer Preflight – Catch App Store rejection risks before submitting apps

https://appreviewer.saposs.com/
1•jimmy_lee•36m ago•0 comments

Plasma 6.8 released (KDE's 30th birthday)

https://kde.org/announcements/plasma/6/6.8.0/
2•taventix•38m ago•1 comments

REA – I tested AI agent reverse engineering

https://korben.info/en/rea-ai-agent-reverse-engineering-test.html
1•keks0r•39m ago•0 comments

The 'leap second' could disappear

https://www.cbc.ca/news/world/leap-second-decision-9.7381049
1•goodcanadian•40m ago•0 comments

The Shortage of Oncologists: Australian Medical Oncologist Workforce Study

https://www.mja.com.au/journal/2012/196/1/shortage-medical-oncologists-australian-medical-oncolog...
1•Alien1Being•41m ago•0 comments

Oncology Workforce 'At Breaking Point'

https://www.medicalrepublic.com.au/oncology-workforce-at-breaking-point/122275
1•Alien1Being•42m ago•0 comments

AI was great until it was not

https://thetheorygirlie.substack.com/p/ai-was-great-until-it-was-not
12•JohnHammersley•47m ago•0 comments

Step 5 Preview: Architecture and Training for Agentic Work

https://platform.stepfun.ai/blog/inside-step-5-preview
1•vinhnx•49m ago•0 comments

Agro-Smart 2026 – Sustainable Agritourism and Smart Guest Experience Framework

https://github.com/marcelcluj-bit/Agro-Smart-2026--Eco-Tourism
1•marcelcluj2026•54m ago•0 comments

Show HN: I built a WAF 100% on SWI Prolog. Here is a challenge to break it

https://prologwaf.site/
1•lokinpendawa•56m ago•0 comments

Hybrid Financing and Real World Asset(RWA)Tokenization Framework for 1B USD

https://github.com/marcelcluj-bit/Global-Infrastructure--Fotbal-Soccer-Capital
1•marcelcluj2026•56m ago•0 comments

Sunsetting Decomp.dev

https://decomp.dev/
2•GaggiX•57m ago•0 comments

Forensic Analysis of RL/RLHF-Induced Privilege Escalation in AI Agents

https://arxiv.org/abs/2610.20437
1•sbulaev•59m ago•0 comments

Wanted to download an ISO, ended up writing a kernel exploit

https://blog.dfb.sh/blog/eap770-root-for-two-zeros/
2•tapper•1h ago•0 comments

Show HN: Working on Plug and play AI memory that works across AI agents

1•heysrb•1h ago•0 comments

LLM-gauze fixes LLM errors

https://github.com/ggeorgovassilis/llm-gauze
1•ggeorgovassilis•1h ago•1 comments

What changes when your search index lives on S3?

https://infino.ai/blog/search-index-on-s3/
2•tatvamasi•1h ago•0 comments

VeerAI: An AI agent inside our hosting dashboard

https://veerhost.com/introducing-veerai-ai-agent/
6•betterornotss•1h ago•0 comments