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

Comments

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

Grey's Anatomy star Eric Dane dies at 53 after ALS diagnosis

https://www.bbc.com/news/articles/c78j01n775ko
1•mgh2•56s ago•0 comments

OptimizeQL- open source AI-powered SQL query optimizer

https://github.com/SubhanHakverdiyev/OptimizeQL
2•hura17•2m ago•0 comments

Crypto money laundering balloons to $82B as Chinese-language services dominate

https://www.coindesk.com/policy/2026/01/27/crypto-money-laundering-balloons-to-usd82b-as-chinese-...
1•PaulHoule•5m ago•0 comments

Six months of yak shaving a Zig web back end stack

https://lalinsky.com/2026/02/19/six-months-of-yak-shaving-a-zig-web-backend-stack.html
1•ibobev•5m ago•0 comments

The Car Wash Problem: A variable isolation study on prompt architecture

1•midmost44•5m ago•0 comments

Behaviour Trees versus State Machines

https://queenofsquiggles.github.io/guides/fsm-vs-bt/
1•ibobev•5m ago•0 comments

Show HN: InkSight – An open-source, LLM-powered e-ink display for "slow info"

https://github.com/datascale-ai/inksight
1•xx123122•6m ago•1 comments

Show HN: AccessiGuard – Free WCAG Scanner with CLI and GitHub Action

https://accessiguard.app
1•PrimeStark•6m ago•0 comments

Reaction-Diffusion: Gray-Scott on a 2D Grid

https://www.4rknova.com//blog/2026/02/15/reaction-diffusion
1•ibobev•6m ago•0 comments

Data centers are becoming power plants – this NJ project proves it

https://electrek.co/2026/02/19/data-centers-are-becoming-power-plants-this-nj-project-proves-it/
1•Bender•7m ago•0 comments

PayPal discloses data breach that exposed user info for 6 months

https://www.bleepingcomputer.com/news/security/paypal-discloses-data-breach-exposing-users-person...
2•el_duderino•7m ago•0 comments

Who Writes the Constitution of Machines?

https://11h.dev/en/2026/02/13/who-writes-the-constitution-of-machines/
1•al3xisb•7m ago•0 comments

Show HN: Groundwork – Organizing the AI-Driven "Time Surplus" for Impact

https://www.groundwork.today
2•Dicemanx•7m ago•1 comments

Chinese car brand Nio performs 165,898 battery swaps – IN A SINGLE DAY

https://electrek.co/2026/02/20/chinese-car-brand-nio-performs-165898-battery-swaps-in-a-single-day/
2•Bender•8m ago•0 comments

The largest meteorite on Earth is still where it landed

https://boingboing.net/2026/01/12/the-largest-meteorite-on-earth-is-still-exactly-where-it-landed...
2•surprisetalk•10m ago•0 comments

Can We Understand the Standard Model Using Octonions? [video]

https://www.youtube.com/watch?v=OH9e9C0xvUg
1•surprisetalk•10m ago•0 comments

How to Stop Being Boring

https://www.joanwestenberg.com/how-to-stop-being-boring/
1•surprisetalk•10m ago•0 comments

The System That Punishes Beautiful Design [video]

https://www.youtube.com/watch?v=4haFPDNSuPY
1•surprisetalk•10m ago•0 comments

Show HN: Docdex – A local tool to reduce LLM tokens and make agents smarter

https://github.com/bekirdag/docdex
1•bekirdag•10m ago•0 comments

AI is a winner-takes-all game

https://omattos.com/2026/02/20/ai_is_a_winner_takes_all_game.html
1•londons_explore•10m ago•0 comments

Broodlink – Multi-agent AI orchestration in Rust with knowledge graph memory

https://github.com/nevenkordic/broodlink
1•yotta25•10m ago•1 comments

Test-driven development ideal for AI, says Agile workshop

https://www.theregister.com/2026/02/20/from_agile_to_ai_anniversary/
1•chmaynard•10m ago•0 comments

Why the Future of Postgres Is Autonomous

https://medium.com/postgresql-blogs/why-the-future-of-postgres-is-autonomous-cefe828aff21
1•vitabaks•10m ago•0 comments

Microsoft deletes blog telling users to train AI on pirated Harry Potter books

https://arstechnica.com/tech-policy/2026/02/microsoft-removes-guide-on-how-to-train-llms-on-pirat...
1•Bender•12m ago•0 comments

Can You Pass the "Underwear Fitness Test"?

https://www.insidehook.com/fitness/underwear-fitness-test-balance
2•RickJWagner•13m ago•0 comments

Rork – create a mobile app using AI in minutes

https://rork.com
1•bilsbie•13m ago•0 comments

Agentic AI isn't eating software – it's feeding market volatility

https://bondvigilantes.com/blog/2026/02/agentic-ai-isnt-eating-software/
1•RickJWagner•13m ago•0 comments

Cleaner fish show intelligence typical of mammals

https://www.omu.ac.jp/en/info/research-news/entry-103609.html
1•geox•14m ago•0 comments

Show HN: On Device Personal Wellness Tracking

https://statushealthy.com/
2•zahirbmirza•17m ago•0 comments

Delta IQ – See which past approvals may break after a contract change

https://app.deltaiq.tech
2•avin01•19m ago•1 comments