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.

6 Months of Living with the Light Phone III

https://lukaswerner.com/post/2025-12-13@going-light
1•derHackerman•3m ago•0 comments

Microscopic robots that sense, think, act, and compute

https://www.science.org/doi/10.1126/scirobotics.adu8009
1•XzetaU8•5m ago•0 comments

Yet another P2P file transfer tool

https://xypd.zorig.dev/
1•zorig•6m ago•0 comments

Show HN: I built a one-click coin flip with no ads or tracking

https://wheelpage.com/coin-flip/
2•nalife520•14m ago•0 comments

Ask HN: New user here – unable to submit a link. Do I just need to wait?

1•ursAxZA•22m ago•0 comments

Show HN: I replaced a 5-person marketing team with a swarm of autonomous agents

https://blog.vect.pro/automated-marketing-strategy-guide
1•afrazullal•32m ago•0 comments

Show HN: I built an AI that scans 10k Reddit comments to find 'Blue Ocean' ideas

https://blog.vect.pro/trend-hacking-guide
1•WoWSaaS•34m ago•0 comments

Want to know what LLMs think about your brand?

https://www.spottedby.ai/
1•dalnoon•48m ago•1 comments

Positive Imagining Changes the Brain in Seconds

https://neurosciencenews.com/positive-imagining-social-neuroscience-30036/
1•ashishgupta2209•50m ago•0 comments

I grew up in Russia. Here's why we're afraid of freedom

https://www.youtube.com/watch?v=4hqz1NRUPy4
1•sakopov•53m ago•0 comments

Pydantic-DeepAgents – A Python Framework for Building Autonomous AI Agents

https://github.com/vstorm-co/pydantic-deepagents
1•kacper-vstorm•55m ago•1 comments

TPU Mania

https://thechipletter.substack.com/p/tpu-mania
1•chmaynard•59m ago•0 comments

Show HN: Seedance2:AI Video Generator with smooth motion and rich details

https://seedance-2.org
1•Aa123128•59m ago•0 comments

Show HN: Hazbin Hotel OC Maker – Create Original Characters with AI

https://aiocmaker.com/oc-maker/hazbin-hotel-oc-maker
1•xiaoshumiao•59m ago•0 comments

Show HN: I built this because finding a job f**king sucks

https://trylockedin.app/
1•irfahm11•1h ago•0 comments

'A nightmare' – The battle over Warner Bros is turning Hollywood upside down

https://www.bbc.com/news/articles/c8dyy47qy82o
2•breve•1h ago•2 comments

Show HN: Tic Tac Flip – A new strategic game based on Tic Tac Toe

https://tic-tac-flip.web.app/
2•breezefox•1h ago•0 comments

Show HN: CF Local Helpers – Dashboard for Cloudflare Workers Local Dev

https://github.com/bimsina/cf-local-helpers
1•bimsina•1h ago•0 comments

"You should never build a CMS"

https://www.sanity.io/blog/you-should-never-build-a-cms
1•handfuloflight•1h ago•0 comments

Will blockbuster obesity drugs revolutionize addiction treatment?

https://www.nature.com/articles/d41586-025-03911-x
1•qnleigh•1h ago•1 comments

Interlock – a circuit breaker and certification system for AI infrastructure

https://github.com/CULPRITCHAOS/Interlock
1•CULPRITCHAOS•1h ago•1 comments

ICE Holding Chinese Man Who Documented Uyghur Camps

https://www.wsj.com/world/china/ice-holding-chinese-man-who-documented-uyghur-camps-a4702045
5•gok•1h ago•0 comments

Counter Social – a next-generation anti abuse and user privacy social network

https://counter.social/index.html
1•inesranzo•1h ago•0 comments

Game Theory and Your Lawn

https://domofutu.substack.com/p/game-theory-and-your-lawn
1•wjb3•1h ago•1 comments

'It was like a dream': How Australia's rarest bird of prey was found

https://www.watoday.com.au/national/western-australia/it-was-like-a-dream-how-australia-s-rarest-...
2•defrost•1h ago•0 comments

Show HN: Rolldphobia – Bundle size analyzer with tree-shaking using Rolldown

https://rolldphobia.ssssota.dev/
1•ssssota•1h ago•0 comments

Hyrumrand – Golang random number generator based on random map iteration order

https://github.com/micrictor/hyrumrand
2•mtud•1h ago•0 comments

Ask HN: How does traceroute on airplane wifis work?

1•bjourne•1h ago•1 comments

Neutrino Alchemy: Sun's Ghost Particles Caught Transforming Atoms

https://www.sciencealert.com/neutrino-alchemy-suns-ghost-particles-finally-caught-transforming-atoms
2•Guestmodinfo•1h ago•0 comments

Pingfs: Stores your data in ICMP ping packets

https://github.com/yarrick/pingfs
1•linkdd•1h ago•0 comments