frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•7mo ago

Comments

llm-exe•7mo 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•7mo 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.

Bincode Is Now Unmaintained

https://docs.rs/crate/bincode/latest
1•trashburger•1m ago•0 comments

Polyglot Makefiles

https://alganet.github.io/blog/2025-12-17-07-Polyglot-Makefiles.html
1•gaigalas•1m ago•0 comments

AnonCreds – Verifiable Credential Format

https://github.com/anoncreds/anoncreds
1•lionkor•2m ago•0 comments

After the warming. (1989) (YouTube) [video]

https://www.youtube.com/undefined
1•fanf2•2m ago•0 comments

Why European data sovereignty demands data governance

https://xwiki.com/en/Blog/open-source-data-governance-europe-2025/
2•lorinab•3m ago•0 comments

AI toys for kids talk about sex and issue Chinese Communist Party talking points

https://www.nbcnews.com/tech/tech-news/ai-toys-gift-present-safe-kids-robot-child-miko-grok-alilo...
1•bongripper•5m ago•0 comments

Form

1•khelloufi•10m ago•0 comments

The Future of City-Building Games: A Developer-Player Perspective

https://www.radical-elements.com/minor-epiphanies/the-future-of-city-building-games-a-developer-p...
2•lexx•10m ago•0 comments

City now using AI-powered license plate readers to charge for garage parking

https://c-ville.com/city-using-ai-powered-license-plate-readers-to-charge-for-garage-parking/
1•bookofjoe•10m ago•1 comments

Show HN: A Chrome extension to navigate long Claude/ChatGPT threads with ease

https://chromewebstore.google.com/detail/threadline/aimgnmoicadcddiabnalakacaadaiibi
1•piyushgupta53•10m ago•0 comments

Developer Productivity

https://blog.joeschrag.com/2025/10/enabling-your-team.html
1•mooreds•13m ago•0 comments

Toolsmiths Melt Snowflakes

https://michaelheap.com/toolsmiths-melt-snowflakes/
1•mooreds•13m ago•0 comments

Sustainability and Responsible Computing

https://www.tara.sh/posts/2025/2025-12-16_sustainability_responsible_computing/
1•wrxd•15m ago•0 comments

An open-source multi-provider AI assisted CLI development tool

https://github.com/vybestack/llxprt-code
1•mooreds•15m ago•0 comments

Ramanujan's 100-year-old pi formula is still revealing the Universe

https://www.sciencedaily.com/releases/2025/12/251216081949.htm
1•baruchel•16m ago•0 comments

Inlining – The Ultimate Optimisation

https://xania.org/202512/17-inlining-the-ultimate-optimisation
1•hasheddan•16m ago•0 comments

Ask HN: Is there still space for innovation in B2B?

1•_el1s7•17m ago•0 comments

Show HN: ApplyFirst – AI job search alerts that get you more interviews

https://applyfirst.app/
2•mmazurovsky•18m ago•0 comments

Sigurimi

https://en.wikipedia.org/wiki/Sigurimi
1•vinnyglennon•18m ago•0 comments

Companies seek to use drones to mine Marianas seafloor

https://www.guampdn.com/news/companies-seek-to-use-drones-to-mine-marianas-seafloor/article_76522...
1•sipofwater•21m ago•1 comments

MCP Weekly: Agentic AI Foundation, Cloud Momentum, and New Security Tools

https://www.gentoro.com/blog/mcp-weekly-agentic-ai-foundation-cloud-momentum-and-new-security-tools
1•OmShree0709•21m ago•0 comments

Was it worth staying in San Francisco for a month?

https://ctts.substack.com/p/was-it-worth-staying-in-san-francisco
1•threefiftyone96•23m ago•0 comments

Trump Orders Venezuela Blockade, Demands Return of US Assets

https://www.foxnews.com/politics/trump-declares-venezuelan-regime-foreign-terrorist-organization-...
2•silexia•24m ago•0 comments

Can large language models generalize analogy solving like children can? [pdf]

https://arxiv.org/abs/2411.02348
1•Gys•24m ago•1 comments

Susie Wiles, Criticizes Bondi and Vance in Candid Interviews

https://www.nytimes.com/2025/12/16/us/politics/trump-susie-wiles.html
2•Anon84•25m ago•0 comments

Clarence Thomas's Vision of Race (2019)

https://www.newyorker.com/culture/essay/clarence-thomass-radical-vision-of-race
2•Tomte•25m ago•0 comments

The Land of the Free and the Elements of Style (2010)

http://www.lel.ed.ac.uk/~gpullum/LandOfTheFree.html
1•Tomte•26m ago•0 comments

How Twitter is (probably) crawling the Internet for AI

https://kitsunemimi.pw/notes/posts/how-twitter-is-probably-crawling-the-internet-for-ai.html
1•todsacerdoti•26m ago•0 comments

Shocking map of Britain that reveals the true scale of sex crimes

https://www.dailymail.co.uk/news/article-15386735/map-Britain-sex-crimes-illegal-migrants.html
2•flanked-evergl•28m ago•0 comments

I Downgraded a Safety Bug to an Availability Bug Using Assertions [video]

https://www.youtube.com/watch?v=wLdDW3u8eww
1•SchwKatze•29m ago•0 comments