frontpage.
newsnewestaskshowjobs

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•1y ago

Comments

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

New spinning drone hides in plain sight

https://news.northwestern.edu/stories/2026/07/new-spinning-drone-hides-in-plain-sight
1•o4c•3m ago•0 comments

A Practical Guide to Calculating, Pricing, and Building Recurring

https://ebookbizai.com/store/maggiebookhub/home
1•bokeke1•3m ago•0 comments

Building Agentic Workflows in Python with LangGraph

https://machinelearningmastery.com/building-agentic-workflows-in-python-with-langgraph/
1•eigenBasis•4m ago•0 comments

Mevion: Low-Cost Open-Source Data Collection System for Dual-Arm Manipulation

https://haraduka.github.io/mevion-hardware/
2•ilreb•6m ago•0 comments

AI Is Changing the Economics of Native Apps

https://medium.com/@robsandhu/ai-is-changing-the-economics-of-native-apps-e81c7f325948
2•rsandhu•7m ago•0 comments

DepthART: Scaling Foundation Monocular Depth to Tiny Models

https://xuefeng-cvr.github.io/DepthART/
2•ilreb•7m ago•0 comments

Is surveillance risk chilling your online speech?

2•Webstir•9m ago•0 comments

Show HN: Turn casual photos into professional headshots with AI

https://portraify.app
2•camel2243•13m ago•0 comments

Hugging Face warns an autonomous AI agent hacked its network

https://www.bleepingcomputer.com/news/security/hugging-face-breach-autonomous-ai-agent-system-int...
3•sbulaev•19m ago•0 comments

Invisible Details

https://invisibledetails.com
2•handfuloflight•20m ago•0 comments

Snake-and-commits: Turn your GitHub contribution graph into a real game of Snake

https://github.com/dahan8473/snake-and-commits
2•thunderbong•23m ago•0 comments

Top American AI Execs Sound Alarm on Chinese Models

https://www.wsj.com/tech/ai/top-american-ai-execs-sound-alarm-on-chinese-models-3c74f8c1
2•Cider9986•23m ago•1 comments

Is OpenCode and Kimi K3 better than Claude Code?

2•vijayst•24m ago•1 comments

A Cap Table for Your Life

https://www.karthikuppu.com/personal-token
2•koopuluri•25m ago•0 comments

Motif-3-Beta

https://huggingface.co/Motif-Technologies/Motif-3-Beta
2•ilreb•27m ago•0 comments

Reductions Network – A Compendium of Reductions

https://reductions.network/
2•o4c•27m ago•0 comments

ML-pokedex – experiments trying to train some models directly on RDF

https://alganet.github.io/ml-pokedex/index.html
2•gaigalas•27m ago•0 comments

Wireless Communication Software Defined Radio (SDR) Course

https://wirelesspi.com/sdr-course/
2•teleforce•28m ago•0 comments

DeepSWE – Best Benchmark for Evaluating AI Coding Agents?

https://www.i-programmer.info/professional-programmer/103-i-programmer/18759-why-software-enginee...
2•aquastorm•28m ago•0 comments

Malicious Agent Skills in the Wild

https://arxiv.org/abs/2602.06547
2•yruzin•31m ago•0 comments

Show HN: Envy - A flat-file, frictionless note-taking application for macOS

https://envynote.app
3•widowlark•31m ago•0 comments

MiniMax M3: How Sparse Attention Makes Long-Horizon Agents Practical

https://twitter.com/omarsar0/status/2074494774292148726
4•gmays•34m ago•0 comments

Kimi Linear: An Expressive, Efficient Attention Architecture

https://arxiv.org/abs/2510.26692
3•ashish01•37m ago•0 comments

Show HN: Shackle – Deterministic runtime governance for AI agents

https://github.com/Fame510/SHACKLE
2•shacklepro•38m ago•0 comments

Show HN: pgwd – PostgreSQL connection alerts with cron exit codes

https://github.com/hrodrig/pgwd
2•hejeroaz•39m ago•0 comments

Replit's Snapshot Engine: The Tech Making AI Agents Safe

https://replit.com/blog/inside-replits-snapshot-engine
2•shenli3514•40m ago•0 comments

People are transcribing your conversations without asking. That puts you at risk

https://werd.io/people-are-transcribing-your-conversations-without-asking-that-puts-you-at-risk/
2•benwerd•44m ago•1 comments

Toll: Constant memory rate limiter at any scale

https://github.com/satmihir/toll
3•jscrab•46m ago•0 comments

So bright the vision (1956) a story about machines writing instead of humans [pdf]

https://s3.us-west-1.wasabisys.com/luminist/EB/S/Simak%20-%20So%20Bright%20the%20Vision.pdf
3•marysminefnuf•47m ago•0 comments

Apollo 11 Guidance Computer (AGC) source code

https://github.com/chrislgarry/apollo-11
2•modinfo•51m ago•0 comments