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.

Replace Resend dry-run emails with Gmail drafts for manual review

1•nishiohiroshi•21s ago•0 comments

Rubin Observatory has started paging astronomers 800k times a night

https://www.scientificamerican.com/article/rubin-observatory-has-started-paging-astronomers-800-0...
2•Brajeshwar•2m ago•0 comments

Show HN: Crypto volume anomaly scanner – a token at 127x its daily market cap

https://frog03-20494.wykr.es
1•agenthustler•2m ago•0 comments

A star 1,540 times the size of our sun transform into a hypergiant

https://www.space.com/astronomy/stars/astronomers-just-watched-a-star-1-540-times-the-size-of-our...
1•Brajeshwar•2m ago•0 comments

Keen bosses mistakes and a looming threat

https://www.theguardian.com/technology/2026/feb/26/workers-training-ai-to-do-their-jobs
1•Brajeshwar•2m ago•0 comments

The Armchair Historian: Retiring End of 2026 – My Last Year on YouTube [video]

https://www.youtube.com/watch?v=kbrjnNq3aoQ
2•mmarian•3m ago•0 comments

Ask HN: How do I use AI as a tool if some answers are objectivity incorrect?

2•truthbe•4m ago•0 comments

Will AI Replace You? – Roast My Career

https://candidate.perfectly.so/roast
2•z-mach9•6m ago•1 comments

KeyWalking: Pattern Based Passwords (2015)

https://michaelhendrickx.com/201505-keywalking-pattern-based-passwords.html
2•petee•7m ago•0 comments

Agent-md/session-commit: Update your AGENTS.md after each session

https://github.com/Olshansk/agent-md
2•Olshansky•10m ago•0 comments

Show HN: MQTT with Runtime Protobuf and Service Discovery (Zig)

https://github.com/electricalgorithm/protomq
2•gyokhan•12m ago•0 comments

Ask HN: Anthropic has stood its ground. What excuse is left for other companies?

2•chirau•15m ago•1 comments

Open Source Brain Stimulation: TDCS (Transcranial Direct Current Stimulation)

https://www.youtube.com/watch?v=z1ZmxE8DnhE
1•andrewjneumann•17m ago•1 comments

Marianne Bachmeier

https://en.wikipedia.org/wiki/Marianne_Bachmeier
1•lifeisstillgood•18m ago•0 comments

We Will Not Be Divided

https://notdivided.org
52•BloondAndDoom•20m ago•5 comments

Stop Putting Secrets in .env Files

https://jonmagic.com/posts/stop-putting-secrets-in-dotenv-files/
2•veverkap•21m ago•0 comments

Struere: Lovable for AI Agents

https://struere.dev
2•MarcoKueks•24m ago•1 comments

GW of datacenter demand queues up for UK grid access

https://www.theregister.com/2026/02/27/datacenter_uk_grid_demand/
1•Bender•25m ago•0 comments

QED in Context: An Observation Study of Proof Assistant Users [pdf]

https://andrewhead.info/assets/pdf/qed-in-context.pdf
1•azhenley•26m ago•0 comments

Japan's Rapidus lands $1.7B to chase 2nm chip production by 2027

https://www.theregister.com/2026/02/27/rapidus_funding/
2•Bender•26m ago•0 comments

The whole economy pays the Amazon tax

https://pluralistic.net/2026/02/25/most-favored-nation/
2•kevmo314•26m ago•0 comments

Oak Ridge spawns institute to curb AI datacenter power surge

https://www.theregister.com/2026/02/27/oak_ridge_datacenter_power/
1•Bender•27m ago•0 comments

Mash – graphical remote browser shell

https://mashell.sh/
1•mannders•27m ago•0 comments

Zclaw – The 888 KiB Assistant

https://zclaw.dev
1•kristianpaul•27m ago•0 comments

Block, the parent of Square and Cash App, is laying off over 4k people

https://www.engadget.com/apps/block-the-parent-of-square-and-cash-app-is-laying-off-over-4000-peo...
1•WaitWaitWha•28m ago•0 comments

There Are No Psychopaths

https://aeon.co/essays/psychopathy-is-a-zombie-idea-why-does-it-cling-on
5•mellosouls•30m ago•1 comments

Banks can Prevent Bank Runs by operating more like Bond Funds

https://outlookzen.com/2015/05/03/a-financial-system-with-solid-foundations/
1•whack•31m ago•0 comments

Jsontap – Reactive access to incrementally parsed JSON for Python

https://github.com/fhalde/jsontap
1•dadbod•33m ago•1 comments

Show HN: Decision Guardian – Auto-surface architectural context on PRs and CLI

2•iamalizaidi•36m ago•0 comments

FCC approves Charter Communications' $34.5B deal to buy Cox

https://www.reuters.com/world/us-agency-approves-charter-communications-345-billion-deal-buy-cox-...
5•geox•39m ago•1 comments