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.

Snapchat Video Spotlight for PC

https://chromewebstore.google.com/detail/snapchat-video-spotlight/ekahcjbdbkjfcjoehhcoclpemnbbjdol
1•DevFunny•3s ago•1 comments

Ask HN: Windows Signing for FOSS Projects

1•johnj-hn•4s ago•0 comments

What if you could have AI applied to your brain?

1•whiteangel1984•36s ago•0 comments

OpenLoco, a remake of the 1998 classic game Lego Loco

https://github.com/AlexSDevDump/OPEN-LOCO
1•mschuster91•1m ago•1 comments

Show HN: The missing clipboard history for macOS that idles at 16 MB

https://roush.io/paste-buff
1•jjroush•2m ago•0 comments

What would be effective ways to market our SaaS application

https://statusentry.com/
1•elfingman•2m ago•1 comments

The AI Trade Is Shifting from Chip Stocks to Cybersecurity

https://www.barrons.com/articles/ai-chip-stocks-cybersecurity-crowdstrike-palo-alto-056aaea8
1•m348e912•3m ago•0 comments

Local inferencing in one JVM JAR, dependency free, faster than llama.cpp

https://qxotic.ai/
1•mike_hearn•5m ago•0 comments

I Met Cixin Liu on Three Body day today. New movie is coming

https://chinastay.org/beyond-tourist/i-met-cixin-liu-three-body-day-beijing-zhang-yimou-movie/
1•3Sophons•7m ago•1 comments

The complete history of the PC game Civilization, as told by Sid Meier [video]

https://www.youtube.com/watch?v=SdfxTXCw15s
2•embedding-shape•9m ago•0 comments

iPhone Duo Preorders Face Months-Long Waits, Walk-Ins Get Phones on Launch Day

https://www.gadgetreview.com/apples-iphone-duo-preorder-customers-face-months-long-waits-while-wa...
1•PicardManeuver•9m ago•1 comments

A Love Letter to the Super Dimension Fortress

https://brennan.day/a-love-letter-to-the-super-dimension-fortress/
1•Tomte•11m ago•0 comments

Why is AI generated language so hard to understand?

https://arxiv.org/abs/2610.29162
2•canjobear•12m ago•0 comments

I created an selfimproment AI predictions site for soccer

https://road2sushi.com/
1•hackywacker•12m ago•0 comments

Show HN: AI Trend Video – Put your photo into viral AI video templates

https://aitrendvideo.net
1•hashkitly•14m ago•1 comments

Norwegian AI Championship 2027

https://ainm.no/
1•whirlwin•15m ago•1 comments

Show HN: A Platform to Find Essays, personally recommended to you

https://essaypod.com/
1•Lithuanian•15m ago•1 comments

Show HN: Mailrelay – Email to Webhook in Minutes

https://github.com/gowthamgts/mailrelay
1•gowthamgts12•15m ago•0 comments

For the next two weeks, we're covering $1M in security scans and fixes

https://www.coderabbit.ai/blog/one-million-security-scans-and-fixes
1•smb06•19m ago•1 comments

The first broken iPhone Duos are here

https://www.theverge.com/tech/1017623/iphone-duo-broken-cracked-screen
5•thm•19m ago•0 comments

Systemd Merges Support for Rust Programs

https://www.phoronix.com/news/systemd-Merges-Rust-Programs
2•Bender•22m ago•0 comments

Prompt injection scanners should be positional, not phrasal

https://attest.rta.lat/article
1•vnutrivas•22m ago•0 comments

Linux's Early Boot-Time Physical Memory Allocator Big Speed-Up: ~268s to ~50ms

https://www.phoronix.com/news/Linux-7.4-memblock
1•Bender•22m ago•0 comments

There's a third PHP2Shell bug, but it won't get an emergency fix

https://www.theregister.com/security/2026/10/23/theres-a-third-php2shell-bug-but-it-wont-get-an-e...
1•Bender•24m ago•0 comments

Forget Live Aid, Africa is only a broken continent in the minds of the West

https://www.theguardian.com/global-development/2026/oct/24/forget-the-live-aid-image-africa-is-on...
2•prmph•25m ago•0 comments

I built a livestream where you can control a $4k 7-DOF Robot [video]

https://www.youtube.com/watch?v=uSrAc9nv_do
1•adrianmed•25m ago•0 comments

Why Gen Z teens are in no rush to get their driver's licenses

https://www.nytimes.com/2026/10/24/style/drivers-license-gen-z-teens-learners-permit.html
1•scruple•26m ago•2 comments

Omni Magazine Archive 1978-1995

https://archive.org/details/omni-archive
1•bookofjoe•26m ago•0 comments

Relation as a Service

https://medium.com/@smoking2man/relation-as-a-service-generative-replicas-of-a-person-and-the-tra...
1•Aldus551•28m ago•0 comments

Where did my freed memory (not) go?

https://yapfast.com/blog/where-did-my-freed-memory-go/
1•theanonymousone•29m ago•0 comments