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.

Tlbic v11.0 (French Edition): Bottom-Up Governance and AI Audit

https://drive.google.com/file/d/1XLbJ-tTlnFNgrzRxlYXE4FmVSpSoQMIm/view?usp=drive_link
1•michikawa59•37s ago•1 comments

Grammelot

https://en.wikipedia.org/wiki/Grammelot
1•schandmaul•4m ago•0 comments

The Fifteen-Minute Principal Engineer

https://markatwood.substack.com/p/the-fifteen-minute-principal-engineer
1•slyall•8m ago•0 comments

Building my own project management tool on Cloudflare

https://tom-dickson.com/blog/projektor-mcp-issue-tracker-cloudflare-workers/
1•tajd•8m ago•1 comments

Code harness for DeepSeek V4? OpenCode vs. pi vs. jcode vs. reasonix

https://grigio.org/which-is-the-best-coding-harness-for-deepseek-v4-opencode-vs-pi-vs-jcode-vs-re...
1•grigio•9m ago•0 comments

Google doesn't need the LLM crown

https://www.semafor.com/article/08/07/2026/google-doesnt-need-the-llm-crown
1•theanonymousone•13m ago•0 comments

Show HN: Appealr – 15s live face-offs ranked by human votes (not AI)

https://appealr.vercel.app
1•arian_•18m ago•0 comments

The Vampire Theorem Prover

https://github.com/vprover/vampire
1•modinfo•19m ago•0 comments

American oil company prepares to drill in Greenland

https://www.theguardian.com/world/2026/aug/08/greenland-iwarning-trump-linked-oil-firm-prepares-d...
1•qprofyeh•26m ago•0 comments

The screwdriver test, or What separates real engineers from the rest

https://carette.xyz/posts/a_story_of_screwdriver_drivers/
5•LucidLynx•28m ago•0 comments

Show HN: I updated my unofficial Substack Posting API

https://apisubstack.com/
2•bigmuzzy•30m ago•0 comments

From constraint models to playable puzzle games

https://zayenz.se/blog/post/constraint-generated-puzzle-games/
2•thunderbong•35m ago•0 comments

Conway's Law

https://martinfowler.com/bliki/ConwaysLaw.html
1•pykello•40m ago•0 comments

Big Ball of Mud

https://www.laputan.org/mud/mud.html
1•pykello•40m ago•0 comments

Grindr CEO Says AI Is Doing the Work of 200 Engineers

https://ai-updates.net/grindr-ceo-says-ai-is-doing-the-work-of-200-engineers/
2•ashurandi•43m ago•0 comments

How to Be a Consultant, a Freelancer, or an Independent Contractor (2011)

https://jacquesmattheij.com/be-consultant/
1•downbad_•44m ago•0 comments

Show HN: Non-custodial Monero->BTC/LTC atomic swaps in the browser (testnet)

https://testnetswap.com/
1•Tech1k•55m ago•0 comments

I'm leaving OpenAI to build Jurassic Park

https://taylor.town/leaving-openai
6•birdculture•1h ago•1 comments

How to Keep Thinking

https://www.seangoedecke.com/how-to-keep-thinking/
1•vinhnx•1h ago•0 comments

To Save C, We Must Save ABI

https://thephd.dev/to-save-c-we-must-save-abi-fixing-c-function-abi
1•gurjeet•1h ago•0 comments

Roku now has a 24/7 AI slop channel

https://www.theverge.com/entertainment/976939/roku-fairground-ai-fast-channel
3•BlueBerry2001•1h ago•0 comments

Show HN: ContentIQ – Evaluate and optimize content quality before publishing

https://app.contentiq.net/
1•Sharanxxxx•1h ago•0 comments

Europe's wildfires have raised the danger posed by unexploded WWII bombs

https://theconversation.com/europes-wildfires-have-raised-the-danger-posed-by-unexploded-wwii-bom...
2•jjp•1h ago•0 comments

It Looks Like You're Trying to Take over the World (2022)

https://gwern.net/fiction/clippy
1•vinhnx•1h ago•0 comments

A look into AP2 and HTTP 402 illustrated

https://blog.owulveryck.info/2026/06/25/from-isolated-agents-to-agentic-mesh-orchestrating-sdlc-w...
1•owulveryck•1h ago•0 comments

Show HN: Dsv4 Codex Proxy – Make DeepSeek V4 Flash 0731 "Codex-Native"

https://github.com/ryanzhou/dsv4-codex-proxy
1•zhoutong•1h ago•0 comments

Initial Apple M3 Pro / Max / Ultra Support Being Upstreamed for Linux 7.3

https://www.phoronix.com/news/M3-Pro-Max-Ultra-Linux-7.3
1•pizzaiolo•1h ago•0 comments

Codex Pet

https://github.com/joryeugene/georgie-phalene-codex-pet
1•calmhive•1h ago•0 comments

Apple Could Give "Obsolete" iPads New Life with This One Weird Trick

https://www.ifixit.com/News/118176/apple-could-give-obsolete-ipads-new-life-with-this-one-weird-t...
2•wrxd•1h ago•2 comments

A shell exclamation mark is not for yelling. Be lazy

https://refp.se/articles/your-shell-and-the-lazy-exclamation-mark
3•thunderbong•1h ago•0 comments