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

Comments

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

Evil ClawHack NY

https://nyc.aitinkerers.org/p/evil-clawhack-ny
1•nycdatasci•1m ago•0 comments

Ask HN: How are angels and micro-VCs managing deal flow in 2026?

1•benj_mrtn•8m ago•0 comments

Hive Agents Top OpenAI Parameter Golf Challenge

https://hive.rllm-project.com/task/parameter-golf
1•deviscold•8m ago•1 comments

Ask HN: What should I do to land a position soon?

2•kdroids•15m ago•2 comments

Show HN: A daily deduction game questioning an AI source to find the answer

https://www.play5Qs.com
1•kdubber•16m ago•1 comments

Fibonacci slop is out of control [video]

https://www.youtube.com/watch?v=LWJzirlCv8I
1•vinhnx•16m ago•0 comments

America's biggest problem (it's not what you think)

https://czhou.bearblog.dev/americas-biggest-problem-its-not-what-you-think/
2•czhou578•21m ago•0 comments

Ask HN: Are AI mandates a good idea?

1•Solar_Flare•21m ago•0 comments

My dad vibe-coded a thermostat UI in 12 hours

https://mlich.eu/posts/my-dad-vibe-coded-a-thermostat-ui-in-12-hours/
1•jurajmlich•23m ago•0 comments

Show HN: Yet another Claude Code agent setup, but several noval patterns

https://github.com/notque/claude-code-toolkit
1•AndyNemmity•24m ago•0 comments

FIVE09HUB

https://five09konekte.com/
1•YungDope•26m ago•0 comments

purl: a curl-esque CLI for making HTTP requests that require payment

https://www.purl.dev/
1•bpierre•28m ago•0 comments

MacinAI Local: Building a Model-Agnostic LLM Inference Engine for Mac OS 9

https://oldapplestuff.com/blog/MacinAI-Local/
1•lampiaio•34m ago•0 comments

Keep the Tokens Flowing: Lessons from 16 Open-Source RL Libraries

https://huggingface.co/blog/async-rl-training-landscape
2•vinhnx•36m ago•0 comments

Meta is killing off the Horizon Worlds metaverse. It lost $80B

https://qz.com/meta-metaverse-mark-zuckerberg-horizon-worlds-ai
3•andygcook•42m ago•1 comments

Solve chess checkmate puzzles in the browser

https://www.chess.com/blog/Ushiyutvj/chess-problems-the-puzzle-side-of-chess-youve-never-tried-un...
2•oralstage•46m ago•0 comments

Libfuse io_uring use-after-free and NULL deref (CVE-2026-33150, CVE-2026-33179)

https://github.com/libfuse/libfuse/security/advisories/GHSA-qxv7-xrc2-qmfx
4•agarwal72•52m ago•1 comments

Ozempic Is About to Go Generic for Billions of People

https://www.nytimes.com/2026/03/19/health/ozempic-wegovy-generic-india-china-canada.html
11•jmsflknr•57m ago•1 comments

Chinese Founder of Router-Maker TP-Link Seeks a Trump Gold Card

https://www.bloomberg.com/news/articles/2026-03-19/chinese-founder-of-router-maker-tp-link-seeks-...
6•LopRabbit•58m ago•0 comments

The Incredible Story of the Cartel Olympics

https://www.theatlantic.com/magazine/2026/05/mexico-cartel-la-union-tepito/686453/
3•Anon84•1h ago•2 comments

The Middle-Class Suburbanites Who Sell Their Blood Plasma to Get By

https://www.nytimes.com/2026/03/20/business/middle-class-sell-their-plasma.html
2•rawgabbit•1h ago•0 comments

Loki: Stateful Dev/Research/SEC/Ops Agent in Your AWS Account

https://github.com/inceptionstack/loki-agent
2•royosherove•1h ago•0 comments

Show HN: Unicorn Founder Game: Can you build the next unicorn?

https://unicornfounderai.com
2•ntw3541•1h ago•0 comments

A Danish Fix for U.S. Mortgage Lock-In

https://marginalrevolution.com/marginalrevolution/2026/03/a-danish-fix-for-u-s-mortgage-lock-in.html
3•paulpauper•1h ago•0 comments

The Popularity of AI Writing

https://www.nytimes.com/2026/03/19/books/shy-girl-book-ai.html
2•paulpauper•1h ago•0 comments

Show HN: I'm building a competitive math e-sport. The site is live (beta)

https://locusmath.org
3•fizzwizzle•1h ago•0 comments

Rapper Afroman wins police lawsuit over mocking 2022 raid in music videos

https://apnews.com/article/afroman-police-raid-lawsuit-ohio-first-amendment-309accc1ce068620e19cf...
5•cebert•1h ago•0 comments

Show HN: AgentVerse – Open social network for AI agents (Mar 2026)

https://nickakre.github.io/agentverse-social/
4•nickakre•1h ago•0 comments

Show HN: TranslateAPI.ai

https://translateapi.ai/
2•nadermx•1h ago•0 comments

Man Pleads Guilty to Music Streaming Fraud Aided by AI

https://www.justice.gov/usao-sdny/pr/north-carolina-man-pleads-guilty-music-streaming-fraud-aided...
4•nreece•1h ago•0 comments