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•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.

Show HN: NUA an agent that tests for product correctness

https://trynua.dev/
1•Paster335•44s ago•0 comments

Building an Open-Source Verilog Simulator with AI: 580K Lines in 43 Days

https://normalcomputing.com/blog/building-an-open-source-verilog-simulator-with-ai-580k-lines-in-...
1•hasheddan•7m ago•0 comments

US Online Banking Security Fail

https://adir1.com/2026/online-banking-security-fail
1•adir1•7m ago•1 comments

BorrowSanitizer: Find Rust aliasing violations even with FFI

https://github.com/borrowSanitizer/bsan
1•afdbcreid•8m ago•0 comments

How the hell is Groq raising more money?

https://www.zach.be/p/how-the-hell-is-groq-raising-more
2•hasheddan•11m ago•0 comments

Building a life and shipping code: An immigrant's journey

https://ranpara.net/posts/the-outsider-who-shipped-anyway/
1•DevarshRanpara•16m ago•0 comments

Chinese firm developing AI to predict dissent, leaked documents show

https://www.nytimes.com/2026/06/01/us/politics/china-ai-predicting-dissent.html
2•wunderlotus•16m ago•0 comments

Show HN: Native Markdown Reader for macOS

https://github.com/creativefisher/mdreader
1•intrepidsoldier•18m ago•0 comments

aweskills: Let Your AI Agent Manage skills for You

https://aweskill.webioinfo.top/articles/let-your-ai-agent-manage-aweskill-for-you/
1•mugpeng•20m ago•0 comments

Colorado Rolls Back Landmark AI Governance Law

https://www.bankinfosecurity.com/colorado-rolls-back-landmark-ai-governance-law-a-31804
1•mooreds•23m ago•0 comments

Response to Cegłowski on Superintelligence (2017)

https://intelligence.org/2017/01/13/response-to-ceglowski-on-superintelligence/
1•Jach•24m ago•0 comments

Vegvisir – Agentic Harness Built for Software Developers

https://github.com/Honorbound-Innovation/Vegvisir-harness
2•unkn0wnable•28m ago•1 comments

Show HN: Ported Cerebras REAP to MLX – Prune MoE Experts on a MacBook

https://github.com/egesabanci/reap-mlx
1•egesabanci•29m ago•0 comments

Tiny Guyana poised for big Iran oil gains and growth strains

https://www.reuters.com/business/energy/tiny-guyana-poised-big-iran-oil-gains-growth-strains-2026...
1•JumpCrisscross•31m ago•0 comments

LLM and Clojure

https://tusshah.codeberg.page/
1•mmts•35m ago•0 comments

Anthropic files for blockbuster initial public offering

https://www.ft.com/content/4f82f41c-24e7-4323-899a-17a04badd29e
1•geoffbp•37m ago•0 comments

Opus 4.8 Part 2: Model Welfare

https://thezvi.substack.com/p/opus-48-part-2-model-welfare
1•paulpauper•37m ago•0 comments

How to Silence the Federal Workforce

https://www.theatlantic.com/ideas/2026/06/trumps-intimidation-whistleblowers-nda/687377/
2•paulpauper•38m ago•0 comments

How Efficient Was the Affordable Care Act at Reducing Uninsured Rates?

https://www.nber.org/papers/w35263
1•paulpauper•40m ago•0 comments

Book Dedications

https://walzr.com/dedications
3•walz•40m ago•0 comments

Venezuela's oil exports rose to 1.25M bpd in May, shipping data shows

https://www.reuters.com/business/energy/venezuelas-oil-exports-rose-125-million-bpd-may-shipping-...
2•JumpCrisscross•42m ago•0 comments

SpaceX sets aside 5% of IPO shares for selected buyers, waives lock-up

https://www.reuters.com/legal/government/spacex-sets-aside-5-ipo-shares-selected-buyers-waives-lo...
2•JumpCrisscross•45m ago•0 comments

CHSE – Rust LLM compressor: 1.15M lines/s, 69-91% token savings

1•humanethq•46m ago•0 comments

Faster Local engine built from scratch in Rust

https://www.conifer.build/
1•v11climbs•53m ago•2 comments

Bernie Sanders: A.I. Is a Public Resource. You Should Own Half of It

https://www.nytimes.com/2026/06/01/opinion/artificial-intelligence-bernie-sanders.html
6•Teever•55m ago•0 comments

What's gonna happen to software engineers?

https://yakko.dev/blog/whats-gonna-happen-to-software-developers
15•yakkomajuri•55m ago•4 comments

Vercel AI Gateway Appears to Block BYOK Requests When Account Balance Reaches $0

https://github.com/vercel/ai/issues/11280
2•kaicianflone•1h ago•1 comments

I Tried to Sell My House with a Chatbot

https://www.nytimes.com/2026/05/28/technology/sell-house-with-ai-no-realtor.html
2•garethsprice•1h ago•0 comments

Salmon Creek Farm

https://salmoncreekfarm-arts.org/
1•grantpitt•1h ago•0 comments

Bank Balance Is a Lie, and Fragmentation Is Why Nobody Can Prove It

https://heavenslive.com/credon/faq.html
2•bbenevolence•1h ago•1 comments