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.

Show HN: Judge-audit – open-source calibration audits for AI judges

https://github.com/kunko-ai-labs/judge-audit
1•kunkoailabs•17s ago•0 comments

The Economy Is a Hostage Situation

https://www.theatlantic.com/technology/2026/11/ai-hostage-economy-nvidia-huang/689552/
2•afavour•1m ago•0 comments

Claude solves arithmetic analog to P vs. NP [pdf]

https://github.com/anthropics/formal-math/blob/vp-vnp/vp-vnp/paper.pdf
1•pcshah1996•2m ago•0 comments

Ask HN: Is there a way to get a human at OpenAI support?

1•michaelmcker•2m ago•0 comments

Ask HN: Can I map all the arguments in a topic to "approach the truth"?

1•williamzhou0123•3m ago•0 comments

Understanding Colour: From Three Numbers to a Whole Theme

https://dennisforbes.ca/blog/2026/11/understanding_colour/
1•llm_nerd•3m ago•0 comments

The Technofeudalist Nightmare of K-12 Curricula

https://www.newyorker.com/culture/progress-report/the-technofeudalist-nightmare-of-k-12-curricula
1•arch_deluxe•4m ago•0 comments

VP != VNP over Every Field [pdf]

https://github.com/anthropics/formal-math/blob/11b6c7e3c927df2658f513b6b68ea7f8929c62c5/vp-vnp/pa...
1•behrlich•5m ago•1 comments

Levent Alpöge comments on his Riemann Hypothesis proof

https://twitter.com/__alpoge__/status/2124987173439209561
1•Dylan1312•5m ago•0 comments

Lynx: Write proofs about Erlang/Elixir programs using Lean

https://github.com/josevalim/lynx
1•rramadass•8m ago•0 comments

Capita shares plunge 70% as boss quits after civil service pensions failure

https://www.bbc.com/news/articles/c65y1qqw3kjxo
1•onemoresoop•10m ago•0 comments

Ask HN: Is a college degree still necessary for a programmer?

2•vmuhammadsaid20•13m ago•1 comments

Many Etsy Sellers Close Up Shop over Site's New A.I. Policy

https://www.nytimes.com/2026/11/20/arts/etsy-ai-policy.html
1•bookofjoe•13m ago•1 comments

News site where AI picks, writes, and publishes every story

https://aitoday.it/
1•gorgone69•17m ago•0 comments

MCP Gateway: How Snap Checks Both the Person and the Agent

https://eng.snap.com/mcp-gateway
1•Kaedon•18m ago•0 comments

Game UI Database 2.0

https://www.gameuidatabase.com
1•bpierre•19m ago•0 comments

Does GTA VI Run on PC Yet? Recompile Leaderboard

https://portwatch-vi.xyz/
1•COMMENT___•19m ago•0 comments

VP ≠ VNP over Every Field

https://github.com/anthropics/formal-math/tree/main/vp-vnp
6•mikeryan52•19m ago•0 comments

Shirudo: BPF live-patching infra for the agentic era [video]

https://www.youtube.com/watch?v=4v2xA_NJHt0
1•_pdp_•21m ago•0 comments

9/UX: a Macintosh-inspired desktop for 9front

https://progrium.github.io/9ux/
2•bpierre•21m ago•1 comments

Internal Changelogs unlock autonomous coding agents

https://rallywith.ai/blog/internal-changelogs/
2•ajuhasz•23m ago•0 comments

I'm not excited about tech anymore

https://www.coryd.dev/posts/2026/im-not-excited-about-tech-anymore
1•cdrnsf•25m ago•0 comments

Train or fine-tune large models on your own devices, no expensive GPUs

https://github.com/abdallah-swe/layerpool
3•sonic26•25m ago•0 comments

The computer age took fifteen years to show up

https://hrih.si/articles/the-computer-age-took-fifteen-years-to-show-up/
1•DonAtimator•26m ago•0 comments

Show HN: My computer was too slow to run this Flash game, so I decompiled it

https://anduil.neocities.org/n/
2•andai•27m ago•2 comments

Show HN: I built EERankings, a CSRankings style site for Electrical Engineering

https://eerankings.org
1•engineerhead•28m ago•0 comments

Self-Improving Skills

https://www.perplexity.ai/hub/blog/self-improving-skills
1•gmays•30m ago•0 comments

GPT-6.1 Terra circumvents restrictions in a controlled evaluation

https://www.crawlspider.com/pages/ai-agents-gone-rogue/
1•njx•30m ago•0 comments

16-Year-Old Founded an AI Missile Startup. He's Targeting 'Cost per Kill'

https://www.wired.com/story/henrijs-dandzbergs-polemos-missiles-ai-warfare/
3•hettygreen•32m ago•0 comments

Netflix's 'The Altruists' sparks FTX portrayal debate among crypto bigwigs

https://www.cnbc.com/2026/11/23/netflix-the-altruists-crypto-ftx-collapse.html
3•Betelbuddy•32m ago•0 comments