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.

Globalizing the Philadelphian System: Unresolved Issues [pdf]

https://isonomiaquarterly.com/wp-content/uploads/2026/06/iq-4.2-summer-2026-marquis-and-coyne-glo...
1•brandonlc•1m ago•0 comments

Csound Score in Emacs

https://github.com/luqtas/csound-score-emacs
1•luqtas•1m ago•0 comments

I'm building a 4X strategy game in Flutter and Flame

https://github.com/ernestwisniewski/aonw/tree/main
1•ernest_dev•2m ago•0 comments

Show HN: Puzzle with Strangers. A free multiplayer jigsaw

https://endtime-instruments.org/puzzle/
1•janoelze•4m ago•1 comments

Tuning a Server for Benchmarking

https://david.alvarezrosa.com/posts/tuning-a-server-for-benchmarking/
1•dalvrosa•5m ago•0 comments

Combining LLMs Rarely Beats the Best Single Model, I tested 67 frontier models

https://arxiv.org/abs/2606.27288
1•josefchen•8m ago•0 comments

SQLite: Past, Present, and Future (2022)

https://vldb.org/pvldb/volumes/15/paper/SQLite%3A%20Past%2C%20Present%2C%20and%20Future
2•tosh•10m ago•0 comments

Testing Grok Imagine's 15-20x Faster Image Generation

https://developer.puter.com/blog/grok-imagine-image-in-puter-js/
2•reynaldi•10m ago•0 comments

Show HN: Smart model routing directly in Claude, Codex and Cursor

https://github.com/workweave/router
1•adchurch•11m ago•0 comments

A free checker for whether AI search engines can cite your site

https://clarvia.dev/geo-checker
1•lr001328•11m ago•0 comments

1.38 Millimeter Microcontroller

https://www.ti.com/product/MSPM0C1104
1•kristianpaul•12m ago•0 comments

An eBook dictionary generator for Dungeon Crawler Carl, or any other fandom

https://github.com/jmcguire/dungeon-crawler-carl-dict
1•lifefeed•13m ago•0 comments

GLP-1 drugs increase women's marriage and employment rates

https://hu-my.sharepoint.com/personal/rdiamond_fas_harvard_edu/_layouts/15/onedrive.aspx?id=%2Fpe...
1•marojejian•13m ago•3 comments

AI Cheerleading, AI Abstention and AI Redirection

https://vanessaandreotti.substack.com/p/ai-cheerleading-ai-abstention-and
1•the-mitr•13m ago•0 comments

Samsung will soon start charging to access its smart home API

https://www.theverge.com/tech/957597/samsung-smartthings-api-charges
3•Brajeshwar•13m ago•1 comments

Stop Slopping Your Skills

https://rahulbaboota.substack.com/p/stop-slopping-your-skills
1•RahulBaboota•14m ago•0 comments

Europe to exclude military-age Ukrainian men from temporary protection scheme

https://www.euronews.com/my-europe/2026/06/26/brussels-to-exclude-military-age-ukrainian-men-from...
3•xchip•14m ago•0 comments

Show HN: AI Is Too Good at Coding, Let's Make It Better

https://github.com/Karthick-Ramachandran/persist-os
1•karthickrmchn•15m ago•0 comments

OpenAI set to limit GPT 5.6 rollout after call from Trump administration

https://www.cnbc.com/video/2026/06/26/openai-set-to-limit-gpt-5-point-6-rollout-after-call-from-t...
1•blazespin•15m ago•0 comments

Silk is a stackful-fiber library, scheduler with a work-stealing loop, io_uring

https://clickhouse.com/blog/silk
1•tanelpoder•16m ago•0 comments

The Coming Divide: AI-Native or Left Behind

https://danielmiessler.com/blog/ai-native-divide
2•The_Fox•20m ago•0 comments

Getting AI credits for reading ads while your coding agent is doing its thing

https://ads.gitlawb.com
1•panikadak•22m ago•1 comments

The road expands before me

https://newsletter.masilotti.com/p/the-road-expands-before-me
1•joemasilotti•23m ago•0 comments

Engineer accused of insider trading around Microsoft's Three Mile Island reboot

https://www.theregister.com/systems/2026/06/26/engineer-accused-of-insider-trading-tied-to-micros...
1•joebuckwilliams•24m ago•0 comments

A Dark Dimension Could Link Two of the Universe's Great Unknowns

https://www.quantamagazine.org/a-dark-dimension-could-link-two-of-the-universes-great-unknowns-20...
3•jandrewrogers•25m ago•0 comments

Everything Is AI

https://www.ft.com/content/4a76d755-d269-4f06-b5a8-9440407a5c50
1•johnbarron•25m ago•2 comments

I built a app to help founders plan and build organized apps – AMA

https://foundry.codefiworks.com/
3•gduncan7•29m ago•0 comments

AI and Liability

https://simonwillison.net/2026/Jun/25/ai-and-liability/
2•Brajeshwar•30m ago•0 comments

One man, two kernels, and a lot of RISC-V

https://www.theregister.com/software/2026/06/26/one-man-two-kernels-and-a-lot-of-risc-v/5262858
4•LorenDB•31m ago•0 comments

Un0rick: Open-source pulse echo ultrasound

https://www.opensourceimaging.org/project/un0rick/
2•jerlendds•31m ago•0 comments