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

Comments

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

Parcae: Doing more with fewer parameters using stable looped models

https://www.together.ai/blog/parcae
1•gmays•1m ago•0 comments

Component "security.ubuntu.com" and a few other components are Down

https://status.canonical.com/#/incident/KNms6QK9ewuzz-7xUsPsNylV20jEt5kyKsd8A-3ptQFa8k37yMVCakd1y...
1•zinekeller•2m ago•0 comments

Named Entity Recognition (NER) in Python with Spacy

https://www.analyticsvidhya.com/blog/2021/06/nlp-application-named-entity-recognition-ner-in-pyth...
1•downboots•4m ago•1 comments

AWS Security Agent on-demand penetration testing is now generally available

https://aws.amazon.com/about-aws/whats-new/2026/03/aws-security-agent-ondemand-penetration/
1•computersuck•10m ago•0 comments

RV32I Reference [pdf]

https://hoult.org/rv32i.pdf
1•brucehoult•11m ago•1 comments

I built 7 AI agents that attack the same task in parallel – armyai.app

https://armyai.app
1•Tilica•15m ago•0 comments

A few tips to get more out of Opus 4.7

https://twitter.com/bcherny/status/2044847848035156457
2•tzury•19m ago•0 comments

Show HN: The Onion Shell

https://the.onionshell.ch
1•ewindisch•20m ago•1 comments

I built an AI that analyzes rental leases before you sign

https://goleazly.com/
3•octadevcba•27m ago•0 comments

Autoresearch on Steroids with Sandboxes

https://www.tensorlake.ai/blog/autoresearch-on-steroids-with-sandboxes
1•cooleel•31m ago•0 comments

Global warming is making the strongest hurricanes stronger

https://yaleclimateconnections.org/2026/04/global-warming-is-making-the-strongest-hurricanes-stro...
3•pier25•34m ago•0 comments

Claude Monitor Track token usage, costs, and tool calls for Claude Code sessions

https://github.com/szaher/claude-monitor
1•szaher•35m ago•0 comments

Suspend vs. Snapshot: Pause a Sandbox or Save It for Reuse?

https://www.tensorlake.ai/blog/suspend-vs-snapshot-pause-a-sandbox-or-save-it-for-reuse
1•cooleel•36m ago•0 comments

A content-aware loudness processor with emergent non-linear behavior

https://github.com/aston89/CALP-Content-Aware-Loudness-Processor
2•Aston89•36m ago•0 comments

Vakra: Reasoning, Tool Use, and Failure Modes of Agents

https://huggingface.co/blog/ibm-research/vakra-benchmark-analysis
2•gmays•39m ago•0 comments

Kitum Cave: A Natural Wonder Hosting a Deadly Disease

https://explorersweb.com/kitum-cave-deadly-disease/
3•thunderbong•40m ago•0 comments

Mammals cannot be cloned infinitely, Japanese mouse study shows

https://www.japantimes.co.jp/news/2026/04/15/japan/science-health/mammals-cannot-be-cloned-infini...
3•libpcap•45m ago•0 comments

Solitaire simulator for finding the best strategy: Current record is 8.590%

https://github.com/dacracot/Klondike3-Simulator
1•PaulHoule•46m ago•0 comments

Google Opens Personal Intelligence AI to All US Users

https://www.heygotrade.com/en/news/google-ai-expansion-challenges-microsoft-apple/
1•demiurges•49m ago•0 comments

Robots walked outdoors at a public-road event in Akihabara, Tokyo

https://www.youtube.com/watch?v=142d-OF7GeA
1•meganetaaan•56m ago•0 comments

Inventor of Heelys Dies at 71

https://www.nytimes.com/2026/04/16/business/roger-adams-dead.html
2•nxobject•59m ago•0 comments

I Built My Dream Bug Tracking Software in a Week

https://markjardine.com/blog/i-built-my-dream-bug-tracking-software-in-a-week
2•sashk•1h ago•0 comments

AI companies are buying the Slack data of failed startups

https://twitter.com/_iainmartin/status/2044758204773486925
7•harambae•1h ago•2 comments

DARPA builds AI to investigate China's claim it can break military encryption

https://www.scientificamerican.com/article/darpa-built-an-ai-to-fact-check-enemy-weapons-claims/
2•Jimmc414•1h ago•0 comments

New NTFS File-System Driver Submitted for Linux 7.1

https://www.phoronix.com/news/New-NTFS-Driver-Submitted-Linux
6•Bender•1h ago•0 comments

Much Ado about Protein

https://www.theverge.com/column/897715/optimizer-protein-proteinmaxxing-proteinwashing-wellness
1•paulpauper•1h ago•0 comments

EP 172: SuperBox

https://darknetdiaries.com/episode/172/
2•paulpauper•1h ago•0 comments

The Patchwright – AI Assisted Short Film

https://www.youtube.com/watch?v=-Rzl7nUdEs4
1•gradus_ad•1h ago•0 comments

The scientific case for being nice to your chatbot

https://www.platformer.news/chatbot-emotion-research-anthropic-alignment-interpretability/
1•herbertl•1h ago•0 comments

The most dangerous student on campus

https://hollisrobbinsanecdotal.substack.com/p/the-most-dangerous-student-on-campus
1•HR01•1h ago•0 comments